Commit graph

5265 commits

Author SHA1 Message Date
Joseph Schorr
35c35d9913 Load images and storage references in bulk during V1 synthesize
Currently, we perform multiple queries for each layer, making it much slower (especially cross-region)

Fixes #413
2015-09-29 17:53:39 -04:00
josephschorr
78e8aefd45 Merge pull request #566 from coreos-inc/python-registry-v2-catalog
Add _catalog endpoint as specified by V2 API
2015-09-29 16:07:48 -04:00
Joseph Schorr
f44ca79391 Add _catalog endpoint as specified by V2 API
Fixes #391
2015-09-29 16:02:19 -04:00
josephschorr
dfe564fe24 Merge pull request #565 from coreos-inc/python-registry-v2-speccheck
New tests and small fixes while comparing against the V2 spec
2015-09-29 15:39:23 -04:00
Joseph Schorr
decdaa4c79 New tests and small fixes while comparing against the V2 spec
Fixes #391
2015-09-29 15:18:48 -04:00
josephschorr
1b7449188b Merge pull request #561 from coreos-inc/githubtriggerfix2
Handle the case where we have lookup_user but no username
2015-09-28 17:14:26 -04:00
Joseph Schorr
eaf81959f5 Handle the case where we have lookup_user but no username 2015-09-28 17:12:56 -04:00
josephschorr
41bfe2ffde Merge pull request #551 from coreos-inc/python-registry-v2-swift
Add V2 storage methods to Swift storage engine
2015-09-28 17:09:34 -04:00
Joseph Schorr
6c59161527 Add V2 storage methods to Swift storage engine
Fixes #508
2015-09-28 16:46:19 -04:00
Silas Sewell
c4f938898a Merge pull request #557 from coreos-inc/revert-migration
Revert "Merge pull request #491 from jakedt/migratebackp2"
2015-09-28 16:13:50 -04:00
Silas Sewell
9000169b53 Revert "Merge pull request #491 from jakedt/migratebackp2"
This reverts commit 7ad2522dbe, reversing
changes made to a0b191ffa1.
2015-09-28 16:09:22 -04:00
josephschorr
fe31eb5c84 Merge pull request #556 from coreos-inc/python-registry-v2-fixsmallthings
Lots o'small fixes for V2
2015-09-28 16:07:33 -04:00
Joseph Schorr
d870ae4ec4 Fix initdb to put proper JSON into the v1_metadata 2015-09-28 15:56:24 -04:00
Joseph Schorr
acac893495 Crypto's Random needs to be reset after forks, otherwise it exceptions 2015-09-28 15:45:01 -04:00
Jimmy Zelinskie
c31c8cbf3c Merge pull request #554 from jzelinskie/v2-gcs
make registry v2 tests pass for GCS
2015-09-28 15:44:53 -04:00
Joseph Schorr
d45975051d Fix registry V1 push test 2015-09-28 15:44:18 -04:00
Joseph Schorr
2e694dd3f0 Move Docker V2 key to be loaded from file or generated on server load
Fixes #394
2015-09-28 15:43:51 -04:00
Jimmy Zelinskie
c5aa3ca4f0 make registry v2 tests pass for GCS
Fixes #509.
2015-09-28 15:42:48 -04:00
Jimmy Zelinskie
d82dce9f38 Merge pull request #553 from jzelinskie/registryv2
remove duplicate dependency from reqs.txt
2015-09-28 14:37:38 -04:00
Jimmy Zelinskie
0d94a025c0 remove duplicate dependency from reqs.txt 2015-09-28 14:33:32 -04:00
josephschorr
7bb15d8f19 Merge pull request #543 from coreos-inc/python-registry-v2-fixresume
Fix resumable upload support and add another test
2015-09-28 12:17:38 -04:00
Joseph Schorr
09f8ad695b Fix resumable upload support and add another test 2015-09-28 12:17:17 -04:00
josephschorr
7ad2522dbe Merge pull request #491 from jakedt/migratebackp2
Migrate image data back phase 2
2015-09-26 15:11:46 -04:00
josephschorr
a0b191ffa1 Merge pull request #545 from coreos-inc/githubtriggerschemafix
Trigger schema fixes and tests
2015-09-25 15:16:07 -04:00
Joseph Schorr
18cfe676ee Fix GH schema for missing usernames and add test 2015-09-25 15:12:24 -04:00
Joseph Schorr
1bba472c14 Refactor test_prepare_trigger to make it easier to add tests 2015-09-25 15:09:47 -04:00
josephschorr
6673266328 Merge pull request #544 from coreos-inc/customertriggerschema
Fix bitbucket trigger validation for commits without authors
2015-09-25 14:58:04 -04:00
Joseph Schorr
85ed745433 Fix bitbucket trigger validation for commits without authors 2015-09-25 12:03:21 -04:00
josephschorr
7ca04f41dd Merge pull request #541 from coreos-inc/python-registry-v2-yaml-sucks
Remove yaml and switch to JSON because yaml is so slow
2015-09-24 16:30:21 -04:00
Joseph Schorr
4dc30d6321 Remove yaml and switch to JSON because yaml is so slow 2015-09-24 16:17:42 -04:00
josephschorr
f0636c0536 Merge pull request #514 from coreos-inc/python-registry-v2-patch-tests
Add PATCH tests for resumable upload
2015-09-24 15:06:38 -04:00
Joseph Schorr
051f669a93 Add PATCH tests for resumable upload
Fixes #510
2015-09-24 12:00:27 -04:00
josephschorr
6e94f63a51 Merge pull request #535 from coreos-inc/reponameregex
Add a check to ensure repository names are valid according to an exte…
2015-09-24 11:55:20 -04:00
Joseph Schorr
a283c8d8ec Add a check to ensure repository names are valid according to an extended set of rules.
Fixes #534
2015-09-24 11:55:08 -04:00
Jimmy Zelinskie
d2a11be9a9 Merge pull request #529 from jzelinskie/fixrepocountchecker
fix misreference to $scope.isUserNamespace
2015-09-22 18:02:49 -04:00
Jimmy Zelinskie
8dbc9db292 fix misreference to $scope.isUserNamespace
Fixes #528.
2015-09-22 18:02:24 -04:00
Jimmy Zelinskie
dc1d3f73d2 Merge pull request #527 from jzelinskie/fix-custom-git
fix skipping builds with custom-git
2015-09-22 17:00:56 -04:00
Jimmy Zelinskie
7372068a72 fix skipping builds with custom-git
Custom git triggers don't necessarily have commit info available. Our
code reading the commit message was under the assumption that it would
always be there.
2015-09-22 16:51:23 -04:00
josephschorr
28c4f00280 Merge pull request #526 from coreos-inc/preparetriggertest
Add a test for missing optional fields in prepare trigger
2015-09-22 15:05:42 -04:00
Joseph Schorr
ee836da1e3 Fix raise_if_skipped_build calls 2015-09-22 15:05:25 -04:00
Joseph Schorr
05c9a5f7b8 Fix the skip branch logic 2015-09-22 14:44:49 -04:00
Joseph Schorr
97a478e05b Add a test for missing optional fields in prepare trigger 2015-09-22 14:27:29 -04:00
josephschorr
8e4a3af590 Merge pull request #524 from coreos-inc/dictwrapperfix
Fix dict wrapper access to not raise an exception
2015-09-22 14:19:31 -04:00
Joseph Schorr
40f3b7137d Fix dict wrapper access to not raise an exception 2015-09-22 14:18:37 -04:00
josephschorr
4a79311d26 Merge pull request #523 from coreos-inc/bttrigger2
Add schema validation to all external trigger types
2015-09-22 13:36:46 -04:00
Joseph Schorr
272326ae18 Add schema validation to all external trigger types 2015-09-21 17:46:50 -04:00
josephschorr
e008f48f36 Merge pull request #522 from coreos-inc/privcheck
Fix repo count checker when the user service has not yet loaded
2015-09-21 16:53:12 -04:00
Joseph Schorr
bf578420f0 Fix import of Github migration 2015-09-21 16:52:56 -04:00
Joseph Schorr
1f90aa5b59 Fix repo count checker when the user service has not yet loaded
Fixes #521
2015-09-21 16:42:16 -04:00
josephschorr
a47bfa201e Merge pull request #478 from coreos-inc/btparsing
Start refactoring of the trigger system:
2015-09-21 16:37:54 -04:00