Commit graph

  • 1689da2873 Joseph Schorr 2014-11-13 12:51:50 -05:00
  • 178c5a7ac0 Add an index to the docker_image_id for faster lookup Joseph Schorr 2014-11-13 12:51:50 -05:00
  • 445700d987 Joseph Schorr 2014-11-13 12:51:37 -05:00
  • d73747ce1d - Fix some other group_by clauses - Fix garbage_collect for an empty list (fixes a test) - Add a script which runs the full test suite against mysql and postgres (note: QueueTest's are broken for MySQL, but they obviously work in production, so they need to be fixed) Joseph Schorr 2014-11-13 12:51:37 -05:00
  • 27e8591dc1 Joseph Schorr 2014-11-12 20:32:06 -05:00
  • a2e2dcb010 Fix group_by clauses for postgres Joseph Schorr 2014-11-12 20:32:06 -05:00
  • 200dec06a7 Joseph Schorr 2014-11-12 14:51:24 -05:00
  • 079289c53c HACK: Don't join on the visibility table because it is horrendously slow for some odd reason. Joseph Schorr 2014-11-12 14:51:24 -05:00
  • 290c7ad93f Joseph Schorr 2014-11-12 14:03:07 -05:00
  • f93c0a46e8 WIP: Get everything working except logging and job completion Joseph Schorr 2014-11-12 14:03:07 -05:00
  • f8ba924140 Joseph Schorr 2014-11-11 18:23:15 -05:00
  • eacf3f01d2 WIP: Start implementation of the build manager/controller. This code is not yet working completely. Joseph Schorr 2014-11-11 18:23:15 -05:00
  • cd54eccd43 Joseph Schorr 2014-11-10 23:05:20 -05:00
  • eddcc02ea6 Make repository deletes much faster by adding custom deletion code and have additional tests to verify the deletion code paths Joseph Schorr 2014-11-10 23:05:20 -05:00
  • 3ec091a29c Joseph Schorr 2014-11-10 21:52:27 -05:00
  • e7cbda86f7 Merge branch 'perf' Joseph Schorr 2014-11-10 21:52:27 -05:00
  • 20e82e02d7 Joseph Schorr 2014-11-10 19:41:58 -05:00
  • 3c990072fd Only run the uncompressed size backfill for images that have a defined size > 0, but no uncompressed size Joseph Schorr 2014-11-10 19:41:58 -05:00
  • cc499ff1a6 Joseph Schorr 2014-11-10 18:26:37 -05:00
  • 611bc895e1 Handle invalid tar layers and add tests Joseph Schorr 2014-11-10 18:26:37 -05:00
  • 36fc881ed5 Joseph Schorr 2014-11-10 18:18:28 -05:00
  • cc9d5798b3 Add an extra root dir test Joseph Schorr 2014-11-10 18:18:28 -05:00
  • 093dbaeccb Joseph Schorr 2014-11-10 13:44:36 -05:00
  • 091f821a6a - Rename get_repo_image to get_repo_image_extended and get_repo_image_directly to get_repo_image - Remove the configure call from CloseForLongOperation - Other small fixes Joseph Schorr 2014-11-10 13:44:36 -05:00
  • 255aa98d73 Jake Moshenko 2014-11-10 13:35:57 -05:00
  • 2ccbea95a5 Merge remote-tracking branch 'origin/emp' Jake Moshenko 2014-11-10 13:35:57 -05:00
  • e98f4df9e4 Joseph Schorr 2014-11-10 13:18:17 -05:00
  • 72fedef097 Move the robot deletion code into a delete_instance method on the User object Joseph Schorr 2014-11-10 13:18:17 -05:00
  • 59391d2ca2 Joseph Schorr 2014-11-10 11:37:52 -05:00
  • 870d5ed0c5 Fix NPE Joseph Schorr 2014-11-10 11:37:52 -05:00
  • b7618360af Joseph Schorr 2014-11-10 11:36:47 -05:00
  • 9408138230 Fix NPE Joseph Schorr 2014-11-10 11:36:47 -05:00
  • 54511bb02b Joseph Schorr 2014-11-10 11:30:47 -05:00
  • a1147236ea Fix OAuth login to try usernames until it finds a valid username Joseph Schorr 2014-11-10 11:30:47 -05:00
  • d44f74bbc8 Jake Moshenko 2014-11-09 17:50:57 -05:00
  • ca435fc7a6 Rename robots when we rename a user. Do not use the namespace from the path to check permissions from the incoming webhooks since the namespace may have changed and we cannot recreate them in remote services easily. Jake Moshenko 2014-11-09 17:50:57 -05:00
  • 7af669dbc0 Joseph Schorr 2014-11-09 15:50:50 -05:00
  • 17f605a9ef Select only a single token. Joseph Schorr 2014-11-09 15:50:50 -05:00
  • 778d94b00f Joseph Schorr 2014-11-07 14:36:32 -05:00
  • 691be49817 Fix issues with the perf updated code Joseph Schorr 2014-11-07 14:36:32 -05:00
  • 730c1aca89 Joseph Schorr 2014-11-07 12:05:21 -05:00
  • 158acd4f41 - Turn on foreign key constraint checking in the tests - Change all ForeignKeyField's that refer to users to use our custom class, and mark those that allow robots - Change robot delete to only execute the subset of queries necessary to actually delete robots Joseph Schorr 2014-11-07 12:05:21 -05:00
  • abf25f5efa Joseph Schorr 2014-11-07 10:05:05 -05:00
  • 8548538516 Fix _ping endpoint to match the new spec Joseph Schorr 2014-11-07 10:05:05 -05:00
  • 05641c9f41 Joseph Schorr 2014-11-06 20:35:52 -05:00
  • 9d1b6d829a Make sure the external login link for GHE links to the enterprise GitHub and not the hosted version Joseph Schorr 2014-11-06 20:35:52 -05:00
  • b525ca7e00 Joseph Schorr 2014-11-06 18:00:52 -05:00
  • d5bbb57481 Change registry code to disconnect from the DB before long I/O operations Joseph Schorr 2014-11-06 18:00:52 -05:00
  • ea8295f6b7 Joseph Schorr 2014-11-06 17:50:48 -05:00
  • 23d9bd2b42 Change verbs to use short lived database connections Joseph Schorr 2014-11-06 17:50:48 -05:00
  • cebfd13cc5 Joseph Schorr 2014-11-06 14:48:16 -05:00
  • c569299e5c Database optimizations around image creation and logs lookup Joseph Schorr 2014-11-06 14:48:16 -05:00
  • 51d728960f Joseph Schorr 2014-11-05 17:17:38 -05:00
  • d7efb7cf7a Handle missing config in a nicer manner Joseph Schorr 2014-11-05 17:17:38 -05:00
  • c5657b8d51 Joseph Schorr 2014-11-05 16:43:37 -05:00
  • 3e79379942 - Make the OAuth config system centralized - Add support for Github Enterprise login Joseph Schorr 2014-11-05 16:43:37 -05:00
  • 8683b7b8bf Joseph Schorr 2014-11-05 12:45:14 -05:00
  • 6deafe8c86 Move grunt npm install before ADDs, so we don't have to download all the packages on every build Joseph Schorr 2014-11-05 12:45:14 -05:00
  • ce14580c50 Joseph Schorr 2014-11-05 12:27:38 -05:00
  • a35bc11912 Add perf comments Joseph Schorr 2014-11-05 12:27:38 -05:00
  • 185566cbd6 Joseph Schorr 2014-11-03 21:10:10 -05:00
  • 408fd229a7 Remove the DBURI from the log statement Joseph Schorr 2014-11-03 21:10:10 -05:00
  • c1bfaddb3a Joseph Schorr 2014-11-03 21:01:41 -05:00
  • 29c30b336e Move the uncompressed image size migration call outside of alembic, since it will sometimes deadlock with certain kinds of DBs (because alembic is running things inside a transaction) Joseph Schorr 2014-11-03 21:01:41 -05:00
  • 43b83d51c5 Joseph Schorr 2014-11-03 17:17:05 -05:00
  • 6adf4644b4 Remove unneeded extra logging call Joseph Schorr 2014-11-03 17:17:05 -05:00
  • 5a7470cce5 Joseph Schorr 2014-11-03 17:16:36 -05:00
  • 8bffbde4ae Make sure to log a proper exception when an email error occurs Joseph Schorr 2014-11-03 17:16:36 -05:00
  • 0482bccd9f Joseph Schorr 2014-11-03 17:12:39 -05:00
  • 6dfdb2fe03 Make sure to filter out the build-related notification events when build support is turned off Joseph Schorr 2014-11-03 17:12:39 -05:00
  • 8f796ee2d8 Joseph Schorr 2014-11-03 15:25:55 -05:00
  • 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 Joseph Schorr 2014-11-03 15:25:55 -05:00
  • 792d32ef07 Joseph Schorr 2014-11-02 16:36:10 -05:00
  • 225c2be355 Add OS X .DS_Store to the .dockerignore Joseph Schorr 2014-11-02 16:36:10 -05:00
  • ed3cfd35a4 Joseph Schorr 2014-11-02 15:42:59 -05:00
  • aed7e67a17 Clarify the health checking logic and remove the accidental inclusion of the override Joseph Schorr 2014-11-02 15:42:59 -05:00
  • c69c08cd3f Joseph Schorr 2014-11-02 15:06:17 -05:00
  • 98602a2d0c Add a new configurable health check, to make sure production instances are not taken down by Redis or non-local DB issues Joseph Schorr 2014-11-02 15:06:17 -05:00
  • 774bf708b1 Joseph Schorr 2014-11-02 14:05:27 -05:00
  • 7349d9d4cf Add a new tool for parsing build packs and make sure reparsedockerfile writes it out as well Joseph Schorr 2014-11-02 14:05:27 -05:00
  • 2dfbb47ea2 Joseph Schorr 2014-10-30 13:26:02 -04:00
  • 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 Joseph Schorr 2014-10-30 13:26:02 -04:00
  • 0c3acd3b69 Joseph Schorr 2014-10-30 12:49:51 -04:00
  • 79e4864eb2 Move the the track_and_log code into its own module. This breaks a dependency chain between index -> common -> api -> subscribe -> common again. Joseph Schorr 2014-10-30 12:49:51 -04:00
  • 50149113da Joseph Schorr 2014-10-29 19:01:01 -04:00
  • aba48c5f42 The initialize block in the new repo view should be behind the build feature flag as well. Joseph Schorr 2014-10-29 19:01:01 -04:00
  • 274c2a0b95 Joseph Schorr 2014-10-29 15:42:44 -04:00
  • 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 Joseph Schorr 2014-10-29 15:42:44 -04:00
  • 8522f0fb53 Joseph Schorr 2014-10-29 14:21:08 -04:00
  • c65031eea5 Add a throbber when loading repo permissions Joseph Schorr 2014-10-29 14:21:08 -04:00
  • d1a67b41ff Joseph Schorr 2014-10-29 13:51:05 -04:00
  • dfe143270c Add is_testing value to the status endpoint Joseph Schorr 2014-10-29 13:51:05 -04:00
  • 8eab74e454 Joseph Schorr 2014-10-29 12:07:39 -04:00
  • 57810ba36f Fix bug when viewing the repo view in smaller browser windows Joseph Schorr 2014-10-29 12:07:39 -04:00
  • f225ebd0ab Joseph Schorr 2014-10-29 12:04:34 -04:00
  • e7f98d991f Fix bug which caused manual builds to always build the master branch Joseph Schorr 2014-10-29 12:04:34 -04:00
  • 8fc8d6489d Joseph Schorr 2014-10-29 11:59:02 -04:00
  • e9c2e54dbc Change delete to once again not perform everything under a transaction. A recent revision accidentally moved everything back under it. Joseph Schorr 2014-10-29 11:59:02 -04:00
  • 6b3c9dbad5 Joseph Schorr 2014-10-28 16:33:13 -04:00
  • 109850b428 Add a basic usage counter for enterprise Joseph Schorr 2014-10-28 16:33:13 -04:00