Joseph Schorr
9aa72c5cc2
Fix migration issues:
...
- MySQL 5.5 doesn't support the now() call as a default
- Postgres migration isn't auto-committed, so we have to check if the table exists first
2014-11-03 15:25:55 -05:00
Joseph Schorr
225c2be355
Add OS X .DS_Store to the .dockerignore
2014-11-02 16:36:10 -05:00
Joseph Schorr
aed7e67a17
Clarify the health checking logic and remove the accidental inclusion of the override
2014-11-02 15:42:59 -05:00
Joseph Schorr
98602a2d0c
Add a new configurable health check, to make sure production instances are not taken down by Redis or non-local DB issues
2014-11-02 15:06:17 -05:00
Joseph Schorr
7349d9d4cf
Add a new tool for parsing build packs and make sure reparsedockerfile writes it out as well
2014-11-02 14:05:27 -05:00
Joseph Schorr
4eedd54b66
- Make usage language more accurate by stating "repositories"
...
- Have usage counter be based on a 4 weeks TTL
- Add a simple usage counter breakage test
2014-10-30 13:26:02 -04:00
Joseph Schorr
79e4864eb2
Move the the track_and_log code into its own module. This breaks a dependency chain between index -> common -> api -> subscribe -> common again.
2014-10-30 12:49:51 -04:00
Joseph Schorr
aba48c5f42
The initialize block in the new repo view should be behind the build feature flag as well.
2014-10-29 19:01:01 -04:00
Joseph Schorr
c1398c6d2b
- Add a log entry for repo verb handling and make the container usage calculation take it into account
...
- Move all the repo push/pull/verb logging into a central track_and_log method
- Readd images accidentally deleted in the last CL
- Make the uncompressed size migration script better handle exceptions
2014-10-29 15:42:44 -04:00
Joseph Schorr
c65031eea5
Add a throbber when loading repo permissions
2014-10-29 14:21:08 -04:00
Joseph Schorr
dfe143270c
Add is_testing value to the status endpoint
2014-10-29 13:51:05 -04:00
Joseph Schorr
57810ba36f
Fix bug when viewing the repo view in smaller browser windows
2014-10-29 12:07:39 -04:00
Joseph Schorr
e7f98d991f
Fix bug which caused manual builds to always build the master branch
2014-10-29 12:04:34 -04:00
Joseph Schorr
e9c2e54dbc
Change delete to once again not perform everything under a transaction. A recent revision accidentally moved everything back under it.
2014-10-29 11:59:02 -04:00
Joseph Schorr
109850b428
Add a basic usage counter for enterprise
2014-10-28 16:33:13 -04:00
Joseph Schorr
93cd7de0e0
Handle email errors in a better manner
2014-10-28 12:10:44 -04:00
Joseph Schorr
793b6f543c
Make github trigger setup a bit nicer when there are a lot of repos
2014-10-27 17:05:16 -04:00
Joseph Schorr
6e25eaaa99
Add a faster and more accurate level size calculation to the tree. This (hopefully) fixes the problems with super wide trees in prod.
2014-10-27 14:54:10 -04:00
Joseph Schorr
c06f57a6e7
Make sure builders close the db handle when no work comes in and make the metrics transaction smaller in scope
2014-10-24 11:40:02 -04:00
Joseph Schorr
fb2470615b
Add support for filtering based on tags, in addition to branches
2014-10-23 16:39:10 -04:00
Jake Moshenko
1461310ab8
Merge remote-tracking branch 'origin/master' into nomenclature
...
Conflicts:
endpoints/common.py
endpoints/notificationhelper.py
test/data/test.db
workers/dockerfilebuild.py
2014-10-23 13:25:37 -04:00
Joseph Schorr
94c24a93c2
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-10-22 19:02:03 -04:00
Joseph Schorr
5db9cd948b
Add better (jinja-based) messaging to the notifications and add some fixes for the email templates
2014-10-22 19:01:56 -04:00
Jake Moshenko
1ccd6a9c5d
Change the max_instances for the workers to only allow one parallel job execution.
2014-10-22 18:09:00 -04:00
Joseph Schorr
ea96dbb2ad
Remove the pushed_image_count since we aren't getting the data anyway
2014-10-22 15:26:29 -04:00
Joseph Schorr
208c97776f
Make sure builds are queued under a transaction. This should prevent a queue item from existing without its repository build object (or vice versa).
2014-10-22 15:20:53 -04:00
Joseph Schorr
8b331b453e
Make the contact page dynamic so that enterprise customers can configure it however they like
2014-10-22 14:49:33 -04:00
Joseph Schorr
1df936350a
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-10-22 14:15:05 -04:00
Joseph Schorr
612a5e5102
Fix the updated_tags information by storing it in the session
2014-10-22 14:14:56 -04:00
Jake Moshenko
2483ae6ee6
Lower the worker count for registry and verbs.
2014-10-21 17:51:21 -04:00
Joseph Schorr
0ef17b082b
Make sure to disconnect from the database when finished with the processes
2014-10-21 17:40:57 -04:00
Joseph Schorr
efeb0dc655
Fix bug introduced with the dialog change for github setup. We properly read the pull entity again.
2014-10-20 17:41:48 -04:00
Joseph Schorr
47be7cab7a
Compute the tarsum only when required. Newer versions of Docker only require the simple SHA256 checksum, so this should save us from writing to a temp file.
2014-10-20 13:11:33 -04:00
Joseph Schorr
28a463f998
Make the 'created' field optional, in case the user does not specify it via the API
2014-10-20 12:07:49 -04:00
Joseph Schorr
5e74edc116
Add extra image check for put_image_checksum
2014-10-17 17:57:10 -04:00
Joseph Schorr
a19035f3b3
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-10-17 17:50:07 -04:00
Joseph Schorr
2ef9a68b08
Add another empty GC test
2014-10-17 17:49:58 -04:00
Jake Moshenko
dc5ee43a3a
MySQL still doesn't allow us to have empty IN clauses.
2014-10-17 17:49:18 -04:00
Joseph Schorr
0c0cd693dd
Add a GC test for a noop
2014-10-17 17:48:31 -04:00
Jake Moshenko
6ca0115b5e
MySQL doesnt allow us to use the table we are modifying in a subquery.
2014-10-17 17:01:55 -04:00
Jake Moshenko
efe8825a15
We can't even use an empty in query for images.
2014-10-17 16:37:05 -04:00
Jake Moshenko
ebacdec054
Merge branch 'master' of bitbucket.org:yackob03/quay
2014-10-17 16:25:22 -04:00
Jake Moshenko
6612e9003e
Add some missing paramters in the logger config.
2014-10-17 16:25:08 -04:00
Joseph Schorr
fc09b8ece8
Switch the tar appender to use the first entry's information, not the last
2014-10-17 16:24:02 -04:00
Joseph Schorr
01fdfa079f
Merge branch 'master' of https://bitbucket.org/yackob03/quay
2014-10-17 16:22:22 -04:00
Joseph Schorr
5c4ad31111
Have the tarfileappender also copy the mode and mtime to the new records
2014-10-17 16:22:14 -04:00
Jake Moshenko
34c0a5a886
Fix the logging config to disable boto.
2014-10-17 16:15:40 -04:00
Jake Moshenko
acd5a1e07e
Only garbage collect storage when it might result in something. Return the count of the removed images to fulfill the contract expected by some callers.
2014-10-17 16:13:32 -04:00
Joseph Schorr
b3292f8549
Fix the /realtime endpoint by making sure buffering is off
2014-10-17 15:50:40 -04:00
Jake Moshenko
18a944427f
Merge branch 'master' of bitbucket.org:yackob03/quay
2014-10-17 15:26:58 -04:00