Joseph Schorr
874a7b0c41
Have Quay lookup the sbin/my_init PID to kill
...
We changed the entry point in Quay to be a shell script that calls `my_init`, which means the init no longer has PID 1. We therefore need to look up the correct PID to kill it.
Fixes https://jira.coreos.com/browse/QS-74
2017-12-01 14:04:43 -05:00
IvanCherepov
c383ac1f9d
Add config validation on startup ( #2903 )
...
* WIP
* Finish schema
Add three sections: security scanning, bittorrent support and feature flags.
2017-12-01 10:46:39 -05:00
josephschorr
1882545c69
Merge pull request #2927 from coreos-inc/unfiltered-search-opt
...
Simplify and further optimize handling of unfiltered search results
2017-12-01 00:23:15 +02:00
Joseph Schorr
32255f122b
Simplify and further optimize handling of unfiltered search results
...
Using the DB-side limit is much faster
2017-11-30 16:56:01 -05:00
josephschorr
8ede3084d8
Merge pull request #2926 from coreos-inc/further-search-opt
...
Fix bug around search pagination with non-filtered searches
2017-11-30 23:36:19 +02:00
Joseph Schorr
eea026be52
Fix bug around search pagination with non-filtered searches
...
Also further optimizes the queries
2017-11-30 16:13:42 -05:00
josephschorr
dfd736c4c5
Merge pull request #2925 from coreos-inc/fix-search-ordering
...
Fix typo in how we order search results
2017-11-30 22:01:42 +02:00
Joseph Schorr
0440cca3ef
Fix typo in how we order search results
...
`.desc()` needs to be on the field
2017-11-30 14:53:23 -05:00
josephschorr
3b8feeba4c
Merge pull request #2924 from coreos-inc/search-opt
...
Optimize searching of repositories when there is no query
2017-11-30 21:41:06 +02:00
Joseph Schorr
c767c88b82
Optimize searching of repositories when there is no query
2017-11-30 14:10:22 -05:00
josephschorr
b69015f349
Merge pull request #2923 from coreos-inc/rev
...
Rev our dependencies
2017-11-30 20:44:21 +02:00
Joseph Schorr
07ffdf1fd9
Rev our dependencies
2017-11-30 13:35:59 -05:00
josephschorr
8f2d800ade
Merge pull request #2922 from coreos-inc/fix-ci
...
Fix Quay CI
2017-11-30 20:07:45 +02:00
Joseph Schorr
45931dc856
Add --no-sandbox flag to Karma test
2017-11-30 11:57:51 -05:00
Joseph Schorr
c168413a8e
Fix bug when running ipresolver under Gitlab CI
...
Since the container does contain IP data, this would fail
2017-11-30 10:23:58 -05:00
josephschorr
51b043bd23
Merge pull request #2921 from coreos-inc/joseph.schorr/QS-63/public-browse
...
Browse/exploration of repositories
2017-11-28 18:19:28 +02:00
josephschorr
a918339c90
Merge pull request #2920 from coreos-inc/joseph.schorr/QS-69/swift-chunk-test
...
Additional testing and a fix for Swift segmenting
2017-11-28 18:14:23 +02:00
Joseph Schorr
2ced523313
Add Explore tab and query-less searching
...
Allows for exploration of all visible repositories, in paginated form.
This change also fixes the layout of the header on different viewport sizes to be consistently a single line in height.
Fixes https://jira.coreos.com/browse/QS-63
2017-11-28 16:50:23 +02:00
Joseph Schorr
c7e439f593
Set a default error message for resource views
...
Ensures that we don't display an empty error box
2017-11-28 15:38:48 +02:00
Joseph Schorr
6cd8140c34
Pad out the segment identifier for Swift segments and change test back to string comparison
...
Makes us follow the docs closer
2017-11-28 09:46:40 +02:00
Joseph Schorr
3bbcb93977
Add additional Swift chunking tests
2017-11-28 09:46:40 +02:00
josephschorr
773ea9fc65
Merge pull request #2915 from coreos-inc/joseph.schorr/QS-41/build-man-alarms
...
Add additional metrics on executor start and failure
2017-11-27 18:14:19 +02:00
josephschorr
175934039a
Merge pull request #2919 from coreos-inc/joseph.schorr/QS-65/retry-user
...
Move recaptcha check after the username check
2017-11-27 18:13:50 +02:00
josephschorr
78d0a7ae79
Merge pull request #2916 from coreos-inc/joseph.schorr/QS-67/start-build-bug
...
Hide "Start Build" button in builds tab if not accessible
2017-11-27 17:01:00 +02:00
josephschorr
2b92cc1a4d
Merge pull request #2917 from coreos-inc/joseph.schorr/QS-64/timezone-stamp
...
Locale-aware time and duration display
2017-11-27 17:00:45 +02:00
Joseph Schorr
9b2fb46e34
Move recaptcha check after the username check
...
Ensures that if someone chooses an existing username, they don't need to re-recaptcha
Fixes https://jira.coreos.com/browse/QS-65
2017-11-27 16:59:42 +02:00
Joseph Schorr
49dff5729c
Switch time display components to use locale-aware format strings
2017-11-27 16:03:54 +02:00
Joseph Schorr
db53f82a34
Shorten the default date/times shown
2017-11-27 13:19:26 +02:00
Joseph Schorr
110fac1902
Switch logs view to use <time-display> component
2017-11-27 13:19:18 +02:00
Joseph Schorr
b5b4aa154c
Add support for date-only to the time-display component
2017-11-27 13:08:38 +02:00
Joseph Schorr
89d635f6cf
Change to use the <time-display> component
2017-11-27 12:56:26 +02:00
Joseph Schorr
7d55ff9c67
Add a <time-display> component for better display of time
2017-11-27 12:56:06 +02:00
Joseph Schorr
2ea06d3df8
Change all uses of am-time-ago to the <time-ago> component
2017-11-27 12:41:19 +02:00
Joseph Schorr
33af54d355
Add a <time-ago> component to abstract out common handling of showing how long ago an event occurred
2017-11-27 12:40:58 +02:00
Joseph Schorr
b9768ef6cf
Remove unused component
2017-11-27 12:40:08 +02:00
Joseph Schorr
7a8850289e
Hide "Start Build" button in builds tab if not accessible
...
While the build cannot be started, and, in fact, the only way to see the button is to *manually* set the `tab=` query param, better to hide it
Fixes https://jira.coreos.com/browse/QS-67
2017-11-27 12:02:07 +02:00
Joseph Schorr
400a5db719
Add additional metrics on executor start and failure
...
This will allow us to register a pager if one of the executors starts failing consistently
2017-11-27 11:52:37 +02:00
IvanCherepov
01bedf6150
Merge pull request #2914 from coreos-inc/icherapau/QS-61/typo-prom-metrics
...
Fix typo in metrics
2017-11-14 23:35:19 -05:00
Ivan Cherapau
a0adc1b0ec
Fix typo in metrics
2017-11-14 23:16:25 -05:00
josephschorr
05580155c5
Merge pull request #2913 from coreos-inc/force-overlay2
...
Force Docker onto overlay2
2017-11-14 19:32:46 -05:00
Joseph Schorr
86ec24470b
Force Docker onto overlay2
...
Both btfs and overlay file systems suffer a very strange bug when executing the following Dockerfile:
```
FROM alpine
RUN mkdir lch
COPY . lch/
COPY requirements.txt lch/requirements.txt
COPY ./requirements/ lch/requirements/
ENTRYPOINT ["/docker-entrypoint.sh"]
```
It fails on the last `COPY` line, due to the presence of the `COPY . lch/` call. Unknown as to why, but moving to the new filesystem fixes things.
2017-11-14 19:23:15 -05:00
josephschorr
ebe2f1e78f
Merge pull request #2912 from coreos-inc/joseph.schorr/QS-60/json-label-bug
...
Fix exception raised for certain non-JSON strings given to is_json
2017-11-14 13:46:58 -05:00
Joseph Schorr
2677720577
Fix exception raised for certain non-JSON strings given to is_json
...
This is breaking pushes in production for certain manifests
Fixes https://jira.prod.coreos.systems/browse/QS-60
2017-11-14 13:46:06 -05:00
josephschorr
5e5142a4d1
Merge pull request #2911 from coreos-inc/joseph.schorr/QS-59/tag-history-width
...
Fix CSS formatting of tag history display to not overflow
2017-11-13 16:40:14 -05:00
Joseph Schorr
17a0bc0fab
Fix CSS formatting of tag history display to not overflow
...
Fixes https://jira.prod.coreos.systems/browse/QS-59
2017-11-13 16:37:57 -05:00
Joseph Schorr
503cff8f0c
Don't add a "password required" notification for non-database auth via OIDC
2017-11-13 16:17:36 -05:00
josephschorr
d32139292b
Merge pull request #2908 from coreos-inc/joseph.schorr/QS-57/dockerfile-view
...
Trim Dockerfile commands to fix UI
2017-11-10 13:33:54 -05:00
Joseph Schorr
0217ef34ea
Trim Dockerfile commands to fix UI
...
Docker is (for some reason) adding an extra space, so trim the command before parsing
Fixes https://jira.prod.coreos.systems/browse/QS-57
2017-11-10 13:29:55 -05:00
josephschorr
6bc39a0b8c
Merge pull request #2907 from coreos-inc/joseph.schorr/QS-55/fix-tag-removal
...
Fix bug in listing owned tags
2017-11-09 21:06:31 -05:00
Joseph Schorr
1b6ecb6c1c
Fix bug in listing owned tags
...
We were indexing into a map using the docker_image_id, but the ancestors use the *image id*. Also cleans up the code and adds some tests.
Fixes https://jira.prod.coreos.systems/browse/QS-55
2017-11-09 16:21:40 -05:00