Commit graph

4843 commits

Author SHA1 Message Date
Joseph Schorr
dd804816ba Prevent unlimited insane query from running and fix tests
Fixes #591
2015-10-05 17:11:49 -04:00
josephschorr
297a794aa1 Merge pull request #595 from coreos-inc/lookupqueryperf
Remove old search API and switch V1 search to use the new search system
2015-10-05 16:43:27 -04:00
Joseph Schorr
7ffb28cafa Small test fixes 2015-10-05 15:26:45 -04:00
josephschorr
1ca8b02637 Merge pull request #594 from coreos-inc/python-registry-v2-namecheck
Add repo name check to V2
2015-10-05 14:38:50 -04:00
Joseph Schorr
8ca92d6828 Remove old search API and switch V1 search to use the new search system 2015-10-05 14:36:43 -04:00
Joseph Schorr
f393236c9f Add repo name check to V2
Fixes #592
2015-10-05 14:19:52 -04:00
Jimmy Zelinskie
16c0d19934 Merge pull request #584 from jzelinskie/testgcs
client-side join chunks for GCS
2015-10-02 14:59:45 -04:00
Jimmy Zelinskie
9ddad4a1a9 client-side join chunks for GCS
Boto does not implement GCS's custom multipart API and so we're left to
join them client-side until it does.
2015-10-02 14:57:39 -04:00
josephschorr
a9278f1653 Merge pull request #583 from coreos-inc/python-registry-v2-betterpulltest
Make sure registry pull tests verify the images expected
2015-10-02 14:35:48 -04:00
Joseph Schorr
b0ed930627 Make sure registry pull tests verify the images expected 2015-10-02 14:33:38 -04:00
Joseph Schorr
d0dc8fe45d Add endpoint security tests for the V2 endpoints
Fixes #581
2015-10-02 14:01:12 -04:00
josephschorr
23d85409a6 Merge pull request #579 from coreos-inc/dbfieldfix
Loosen DB hostname regex
2015-10-01 14:49:27 -04:00
josephschorr
1cf930eb9c Merge pull request #580 from coreos-inc/python-registry-v2-testfix
Fix test specs for recent change in tags endpoint in V1
2015-10-01 12:50:50 -04:00
josephschorr
5b552b0129 Merge pull request #567 from coreos-inc/python-registry-v2-optimize
Load images and storage references in bulk during V1 synthesize
2015-10-01 12:50:36 -04:00
Joseph Schorr
53b096e2f5 Fix test specs for recent change in tags endpoint in V1 2015-10-01 12:48:59 -04:00
Joseph Schorr
125bf97667 Loosen DB hostname regex
Fixes #574
2015-10-01 12:35:19 -04:00
Jimmy Zelinskie
9b43699741 Merge pull request #575 from jzelinskie/rados-v2
RadosGW v2 storage
2015-10-01 12:30:08 -04:00
Jimmy Zelinskie
6ed5087a3c add client side chunk join method 2015-10-01 12:28:56 -04:00
Jimmy Zelinskie
ffeb99d4ee BaseStreamFileLike: handle reads that return None
Fixes #555.
2015-09-30 17:46:59 -04:00
Jimmy Zelinskie
abe43a0e07 override upload_chunk_complete for RadosGW
RadosGW doesn't support server-side copy of keys into multipart, so we
have to always join it on the local side.
2015-09-30 17:46:59 -04:00
josephschorr
5505707884 Merge pull request #573 from coreos-inc/buildschmonitor
Add exception logging to the build manager
2015-09-30 16:22:47 -04:00
Joseph Schorr
752d05dedb Add exception logging to the build manager
Fixes #547
2015-09-30 15:49:35 -04:00
josephschorr
6498e1fe87 Merge pull request #572 from coreos-inc/redishealthcheck
Add a better redis health check that reads and writes
2015-09-30 15:41:00 -04:00
josephschorr
47c707a88c Merge pull request #571 from coreos-inc/redisunblock
Make build system resistant to Redis being broken
2015-09-30 15:23:35 -04:00
Joseph Schorr
6e0ca735a5 Add a better redis health check that reads and writes
This will hopefully catch issues earlier with Redis
2015-09-30 15:23:19 -04:00
josephschorr
21462388e2 Merge pull request #570 from coreos-inc/python-registry-v2-filelike
Add full unit tests for the file-like objects and fix them
2015-09-30 15:17:24 -04:00
Joseph Schorr
2d3092b826 Make build system resistant to Redis being broken
Fixes #549
2015-09-30 15:15:10 -04:00
Joseph Schorr
a3ebb9028d Add full unit tests for the file-like objects and fix them
Fixes #568
2015-09-30 14:19:25 -04:00
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