Joseph Schorr
f4daa5e97b
- Update the migrations tool to verify migrations work up and down for both MySQL and PostgresSQL.
...
- Add migrations for the squashed image tables and for backfilling the uncompressed sizes
- Make sure gzip stream uses a max length when determining the uncompressed size
2014-10-07 15:29:56 -04:00
Joseph Schorr
f38ce51943
Merge master into laffa
2014-10-07 14:03:17 -04:00
Jake Moshenko
1850a187d5
Skip images with memory errors on the backfill.
2014-10-07 13:13:03 -04:00
Jake Moshenko
55460cdcba
Better error handling in the uncompressedsize script.
2014-10-07 10:22:02 -04:00
Jake Moshenko
4ad592e7ce
Add an index to the image storage uuid to improve performance.
2014-10-06 18:44:37 -04:00
Jake Moshenko
987eb4f9fa
Merge branch 'master' of bitbucket.org:yackob03/quay
2014-10-06 17:15:53 -04:00
Jake Moshenko
153dbc3f92
Select random records to use for the backfill script for uncompressed sizes, can now be parallelized.
2014-10-06 17:15:45 -04:00
Joseph Schorr
773c9ac0ee
Clarify the language around default permissions
2014-10-06 16:56:43 -04:00
Jake Moshenko
c4266140e2
Fix all of the upgrades and downgrades to work on both mysql and postgres.
2014-10-06 16:41:49 -04:00
Joseph Schorr
9d898bca65
Make Hipchat token messaging more clear
2014-10-06 12:17:05 -04:00
Jake Moshenko
6c2887ff9b
Merge remote-tracking branch 'origin/master' into nomenclature
2014-10-06 11:49:30 -04:00
Jake Moshenko
962062fb08
Fix a 512mb chunk size to 5mb
2014-10-06 11:26:23 -04:00
Jake Moshenko
ed8bcff39e
Merge remote-tracking branch 'origin/master' into nomenclature
...
Conflicts:
test/data/test.db
workers/dockerfilebuild.py
2014-10-06 10:29:39 -04:00
Jake Moshenko
6bc982b77b
Add a note about updating nginx config when updating the _ping endpoint.
2014-10-06 10:24:40 -04:00
Jake Moshenko
dd6f31cba4
Fix the docker registry headers for _ping.
2014-10-03 16:41:16 -04:00
Jake Moshenko
d0b93146de
Fixes for the uncompressedsize backfill script.
2014-10-03 16:14:24 -04:00
Joseph Schorr
45208983bf
Update the backfill script to always read the size from the layer data
2014-10-03 15:07:50 -04:00
Joseph Schorr
e0993b26af
Make query params only read from query params, not JSON as well
2014-10-03 15:05:34 -04:00
Joseph Schorr
ec42303750
image_and_tag must be before we use it
2014-10-03 13:00:41 -04:00
Joseph Schorr
e654b2b608
Branch.name has to use a dot accessor, not a dict lookup
2014-10-03 12:35:58 -04:00
Joseph Schorr
a1470460a7
Move the /static handler into the base and have nginx serve the Docker ping endpoint
2014-10-02 16:04:23 -04:00
Joseph Schorr
1d8ec59362
Merge branch master into bees
2014-10-02 15:08:32 -04:00
Joseph Schorr
c682899861
Add a feature flag to disable user creation
2014-10-02 14:49:18 -04:00
Jake Moshenko
5c18ffe67d
Allow the namespace column to be null, and also non-unique. Fix the uncompressed size clobbering the size on the wire field. Add metadata constraints so that foreign key constraints get predictable names. Fix all downgrade migrations.
2014-10-02 10:46:20 -04:00
Jake Moshenko
e8b3d1cc4a
Phase 4 of the namespace to user migration: actually remove the column from the db and remove the dependence on serialized namespaces in the workers and queues
2014-10-01 14:23:46 -04:00
Joseph Schorr
2c5cc7990f
Allow for additional REDIS config such as password and port
2014-10-01 14:16:42 -04:00
Joseph Schorr
d9c7e92637
Add superuser abilities: create user, show logs. Also fix the super users UI to show the user drop down and make all superuser API calls require fresh login
2014-10-01 13:55:09 -04:00
Joseph Schorr
039d53ea6c
- Fix initdb
...
- Add ability to specific custom fields for manual running of build triggers and add a "branch name" selector for running github builds
2014-09-30 16:29:32 -04:00
Joseph Schorr
6c520b8b0b
Fixed broken query
2014-09-30 13:19:32 -04:00
Joseph Schorr
5f776771d1
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-09-29 17:01:07 -04:00
Joseph Schorr
474add0fb1
Have the layer PUT method calculate the uncompressed size in realtime, as trusting the JSON is fraught with complications
2014-09-29 17:00:47 -04:00
Jake Moshenko
fbc7ee3bce
Phase 3 of the namespace migration, remove write references to the namespace string column.
2014-09-29 15:44:25 -04:00
Joseph Schorr
3d3f2dd6d7
Remove map call and estimate call
2014-09-29 15:33:26 -04:00
Joseph Schorr
7fd3c7d31b
Fix title of the org members logs view
2014-09-29 14:10:11 -04:00
Joseph Schorr
e11c140fc8
Fix the org members logs view
2014-09-29 14:08:16 -04:00
Joseph Schorr
746936ce66
- Make the layer going over the estimated size raise an exception
...
- Add a heuristic for estimating the layer size if it is 0
- Add a method where we can add a custom defined map of image -> size
2014-09-29 12:54:22 -04:00
Joseph Schorr
dd4c26cb00
Only operations with nicknames can be added to the swagger doc
2014-09-28 15:40:08 -04:00
Joseph Schorr
77346ad047
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-09-27 14:55:36 -04:00
Joseph Schorr
0a93b39c54
Change the backfill script to use a spooled temp file
2014-09-27 14:55:24 -04:00
Jake Moshenko
ae9026ee91
MySQL will not allow us to revoke the possibility for the namespace_user column to be nullable.
2014-09-26 14:50:26 -04:00
Jake Moshenko
21d8c41320
Add the existing types to the alter column to make MySQL happy.
2014-09-26 12:58:03 -04:00
Joseph Schorr
d40b0975a7
Use the built-in .size method on gzip file
2014-09-26 12:25:28 -04:00
Joseph Schorr
76508218f4
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-09-26 12:22:30 -04:00
Joseph Schorr
e31e6b6865
Add migration code for calculating the uncompressed size from the layer data itself
2014-09-26 12:22:25 -04:00
Joseph Schorr
77c46af70b
Add migration code for calculating the uncompressed size from the layer data itself
2014-09-26 12:21:50 -04:00
Joseph Schorr
1a33670933
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-09-26 11:20:33 -04:00
Joseph Schorr
3002371f5a
Add an orphans lookup script
2014-09-26 11:20:26 -04:00
Jake Moshenko
e9745dbc96
Fix the SQL migration.
2014-09-26 11:17:42 -04:00
Jake Moshenko
03190efde3
Phase 2 of migrating repo namespaces to referencing user objects, backfilling the rows without a value for namespace_user, and changing all accesses to go through the namespace_user object. All tests are passing, manual testing still required.
2014-09-24 18:01:35 -04:00
Jake Moshenko
6070c251ae
Fix the backfill script to handle images without any json data at all.
2014-09-24 10:42:42 -04:00