Commit graph

4525 commits

Author SHA1 Message Date
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
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