Commit graph

4025 commits

Author SHA1 Message Date
Joseph Schorr
c518874ded I hate Redis!
- Remove redis check from our health endpoint in prod entirely
- Have the redis check have a maximum timeout of 1 second
2015-10-22 14:24:42 -04:00
josephschorr
ad53bf5671 Merge pull request #644 from coreos-inc/namechoose
Docker changed their namespace regex, so we need to adjust
2015-10-22 12:07:52 -04:00
Joseph Schorr
a8aa6d1939 Docker changed their namespace regex, so we need to adjust
Fixes #617
2015-10-22 12:07:31 -04:00
Jimmy Zelinskie
9123a4ab07 Merge pull request #689 from coreos-inc/refreshapt
refresh apt package cache
2015-10-22 12:06:15 -04:00
Jimmy Zelinskie
4ffa282f03 refresh apt package cache
As a side effect, this will also refresh our pip dependencies.
Refreshing our pip dependencies will fix a stack trace from the
py-bitbucket library.
2015-10-22 12:04:28 -04:00
Quentin Machu
1e42a77cfc Merge pull request #686 from Quentin-M/bb_logexc
Chatty BitBucket schema validation exception & proper exception
2015-10-22 11:59:55 -04:00
Quentin Machu
37a4dafe40 Use expected exception for BitBucket OAuth error
Prevents from having a 500 when BitBucket OAuth doesn't work, as it will be caught in web.py/attach_bitbucket_trigger
2015-10-22 11:24:17 -04:00
Quentin Machu
674c16bf3b Add logging on BitBucket schema validation exception
Chatty but worthy
No need to create a custom debugging web hook anymore for Bitbucket
2015-10-22 11:21:34 -04:00
josephschorr
5dae970787 Merge pull request #681 from coreos-inc/userorg
Return user orgs when making a call via OAuth
2015-10-21 16:41:43 -04:00
Joseph Schorr
5d8121e060 Return user orgs when making a call via OAuth
Fixes #673
2015-10-21 16:40:31 -04:00
Jimmy Zelinskie
dd93710c49 Merge pull request #685 from coreos-inc/fixmigration
write None if we cannot find the json
2015-10-21 16:39:07 -04:00
Jimmy Zelinskie
67497bb99c write None if we cannot find the json 2015-10-21 16:26:30 -04:00
Jimmy Zelinskie
627ad25c9c Merge pull request #682 from jzelinskie/revertrevert
Revert "Merge pull request #557 from coreos-inc/revert-migration"
2015-10-21 16:15:01 -04:00
Matt Jibson
31c392fecc Merge pull request #684 from mjibson/fulldbtest
Add fulldbtest support to local-docker.sh
2015-10-21 15:52:30 -04:00
Matt Jibson
348f70c949 Add fulldbtest support to local-docker.sh 2015-10-21 15:33:48 -04:00
Jimmy Zelinskie
39cfe77d42 Revert "Merge pull request #557 from coreos-inc/revert-migration"
This reverts commit c4f938898a, reversing
changes made to 7ad2522dbe.
2015-10-21 15:29:57 -04:00
Jimmy Zelinskie
5c063bd285 Merge pull request #680 from coreos-inc/lockfix
Fix is_public in repo list
2015-10-21 14:14:53 -04:00
Joseph Schorr
147b7b26b4 Fix is_public in repo list
Fixes #678
2015-10-21 14:13:39 -04:00
josephschorr
8e7b20a0d7 Merge pull request #675 from coreos-inc/distinctgc
Reduce GC work time and make sure to use distinct query
2015-10-21 12:01:26 -04:00
Silas Sewell
fd96f7c1e3 Merge pull request #667 from coreos-inc/error-georeplication-local-storage
workers.storagereplication: error on LocalStorage
2015-10-20 20:29:24 -04:00
Silas Sewell
03f5fe6143 workers.storagereplication: error on LocalStorage
Ensure we don't start when LocalStorage is in the config.

Fixes #502
2015-10-20 19:04:31 -04:00
Joseph Schorr
4e5c8a9281 Reduce GC work time and make sure to use distinct query 2015-10-20 18:13:29 -04:00
Jimmy Zelinskie
1e76f71e3d Merge pull request #671 from jzelinskie/regtests
add registry tests to local-test
2015-10-20 12:31:29 -04:00
Jimmy Zelinskie
0fe348d430 add registry tests to local-test 2015-10-20 12:30:01 -04:00
Jimmy Zelinskie
2dea9cf05e Merge pull request #666 from jzelinskie/fixbackfill
Copy new fields over to the linked image
2015-10-19 17:18:06 -04:00
josephschorr
ebab66a2b5 Merge pull request #665 from coreos-inc/asyncgcforall
Enable async GC for all
2015-10-19 17:18:01 -04:00
Jimmy Zelinskie
109d69abfd Copy new fields over to the linked image
This potentially fixes an issue with the v2 image field backfill. We
should be safe to copy these fields over at link time so that hopefully
it doesn't get skipped by the docker client. `_find_or_link_image`
should NEVER be used by the registry v2 protocol.
2015-10-19 17:11:11 -04:00
Joseph Schorr
5941f3937c Enable async GC for all
Fixes #569
2015-10-19 14:22:41 -04:00
josephschorr
601b741c4e Merge pull request #657 from coreos-inc/bettergherror
Better GitHub error messaging
2015-10-16 18:06:27 -04:00
josephschorr
72b938c45a Merge pull request #656 from coreos-inc/builddialogerr
Fix small UI bugs around uploading dockerfiles
2015-10-16 17:53:14 -04:00
Joseph Schorr
328aacbc60 Fix small UI bugs around uploading dockerfiles
Fixes #606

- Raises an error when a non-200 code is returned
- Resets the dialog when reopened
- Has a nicer error message for 413 errors
2015-10-16 17:53:00 -04:00
Jimmy Zelinskie
069ab0c644 Merge pull request #658 from Quentin-M/nginx_semicolon
Add missing semicolon in nginx conf
2015-10-16 17:25:17 -04:00
Quentin Machu
18a7caf474 Add missing semicolon in nginx conf 2015-10-16 13:55:16 -04:00
Joseph Schorr
d9e001b688 Better GitHub error messaging
Fixes #612
2015-10-16 13:51:50 -04:00
josephschorr
2f42a4d94d Merge pull request #641 from coreos-inc/wildcardfix
Make sure to filter wildcard queries
2015-10-15 14:26:51 -04:00
Joseph Schorr
6df7f60e4a Make sure to filter wildcard queries
Fixes #640
2015-10-15 14:26:33 -04:00
josephschorr
d3857e509f Merge pull request #643 from coreos-inc/nullimage
Check and handle NULL image_size
2015-10-15 13:26:13 -04:00
Joseph Schorr
fe79d5fb66 Check and handle NULL image_size
Fixes #613
2015-10-15 13:25:54 -04:00
josephschorr
24b54f1e34 Merge pull request #615 from coreos-inc/queriesunite
Unionize the mega query - It needed more performance-based benefits
2015-10-15 13:17:01 -04:00
josephschorr
15c7f9350c Merge pull request #647 from coreos-inc/teamui
Make teams UI more descriptive
2015-10-15 13:13:23 -04:00
Joseph Schorr
c9daf7d8a9 Add additional tests for repo visibility and further simplify the query for perf 2015-10-15 12:12:57 -04:00
Joseph Schorr
f49375949f Make teams UI more descriptive
Fixes #646
2015-10-15 12:05:55 -04:00
josephschorr
e31dda35df Merge pull request #607 from coreos-inc/buildmanerrorhandle
Better error handling for the build manager
2015-10-13 17:52:01 -04:00
Jimmy Zelinskie
d0fcfa6d6a Merge pull request #636 from jzelinskie/timeouts
raise a 520 for any GitLab timeouts
2015-10-13 17:36:38 -04:00
Jimmy Zelinskie
7c1547221d raise a 520 for any GitLab timeouts 2015-10-13 17:34:08 -04:00
Jimmy Zelinskie
8c5ca219c4 Merge pull request #633 from jzelinskie/gltimeout
add default HTTP timeout to GitLab
2015-10-13 15:24:23 -04:00
Jimmy Zelinskie
d2c4a465e3 add default HTTP timeout to GitLab
Fixes #623.
2015-10-13 14:51:28 -04:00
Jimmy Zelinskie
0e27852444 Merge pull request #631 from jzelinskie/glfix
remove network usage from GL repo URL
2015-10-13 13:46:27 -04:00
Jimmy Zelinskie
7dfe6691ec remove network usage from GL repo URL
Fixes #624.
2015-10-13 12:44:56 -04:00
josephschorr
639d7bc797 Merge pull request #628 from coreos-inc/btetimeout
Make sure we have defined timeouts on all our requests out to externa…
2015-10-13 11:56:06 -04:00