Commit graph

8963 commits

Author SHA1 Message Date
Joseph Schorr
e70abfa09e Add additional versions of Docker against which we can test 2018-09-25 18:21:39 -04:00
Joseph Schorr
ccb1670d78
Merge pull request #3256 from quay/docker-client-tester
Add an end-to-end test suite for different versions of Docker
2018-09-25 16:55:06 -04:00
Joseph Schorr
7f1835c978 Add an end-to-end test suite for different versions of Docker
This script, when run, will boot up a Container Linux VM (via vagrant) with a specific version of Docker installed, and then run a login, push and pull test against the host machine's Quay instance.
2018-09-25 14:33:30 -04:00
Joseph Schorr
468e5a8fc2
Merge pull request #3250 from quay/joseph.schorr/QUAY-1030/interfacing-part-9
Implement blob uploader and change V1 to use it
2018-09-24 16:03:41 -04:00
Joseph Schorr
5422386de4 Make absolutely sure we have foreign keys enabled on all tests 2018-09-24 12:54:56 -04:00
Joseph Schorr
3dc9ddc6b3 Add an additional multilayer push/pull test 2018-09-24 12:54:56 -04:00
Joseph Schorr
7567808a10 Fix bug in V1 delete tag code and add a test 2018-09-24 12:54:56 -04:00
Joseph Schorr
077c3908e4 Change V1 upload code to use the new blob uploader 2018-09-24 12:54:56 -04:00
Joseph Schorr
ba39737c3a Add blob uploader helper class, for easy management of all the state associated with uploading blobs 2018-09-24 12:54:56 -04:00
Joseph Schorr
c10e3bf973
Merge pull request #3255 from quay/joseph.schorr/QUAY-1087/allow-basic-auth-on-secscan
Allow use of basic auth for security scan endpoints
2018-09-21 15:06:26 -04:00
Joseph Schorr
a38edea11b Allow use of basic auth for security scan endpoints
This will allow the security labeler to send a pull secret to retrieve security information for a manifest

Fixes https://jira.coreos.com/browse/QUAY-1087
2018-09-21 13:54:33 -04:00
Joseph Schorr
f9da0caaa4
Merge pull request #3254 from quay/joseph.schorr/QUAY-1069/robot-creds
Set maximum width on display of robot names
2018-09-20 16:55:09 -04:00
Joseph Schorr
a1b9c1086d
Merge pull request #3253 from quay/joseph.schorr/QUAY-981/logs-markdown
Only markdown strings in builder service when explicitly whitelisted
2018-09-20 15:27:14 -04:00
Joseph Schorr
8404d25fd4 Set maximum width on display of robot names
Fixes https://jira.coreos.com/browse/QUAY-1069
2018-09-20 13:59:03 -04:00
Joseph Schorr
430f91b868
Merge pull request #3252 from quay/joseph.schorr/QUAY-1004/fix-clipboard-copy
Fix clipboard copy box to not cause reflow
2018-09-20 11:40:19 -04:00
Joseph Schorr
bfd873c8e4 Only markdown strings in builder service when explicitly whitelisted 2018-09-20 11:35:31 -04:00
Joseph Schorr
5cde147426 Fix clipboard copy box to not cause reflow
Instead, we now put the "Copied" message inline in the box and have it both fade and slide rightward away
2018-09-18 14:17:33 -04:00
Joseph Schorr
5d2fe535b4 Add ability to commit blob uploads into blobs 2018-09-14 17:15:25 -04:00
Joseph Schorr
f68fbb8028 Add blob upload to new registry data model 2018-09-14 17:15:25 -04:00
Joseph Schorr
1bbe41bb36 Add blob support to get_legacy_image 2018-09-14 17:15:24 -04:00
Kenny Lee Sin Cheong
8e643ce5d9
Repository endpoint tags pagination (#3238)
* endpoint/api/repository: limit the number of tags returned

- Limit the number of tags returned by /api/v1/repository/<ns:repo> to 500.
- Uses the tag history endpoint instead, with an active tag filte.
- Update UI to use tag history endpoint instead.
2018-09-14 15:30:54 -04:00
Joseph Schorr
6d5489b254
Merge pull request #3249 from quay/fix-aci
Fix ACI conversion and add a registry test for it
2018-09-13 15:30:34 -04:00
Joseph Schorr
3bd1b21ca9 Fix ACI conversion and add a registry test for it 2018-09-13 14:12:23 -04:00
Joseph Schorr
a4f1475de4
Merge pull request #3234 from quay/joseph.schorr/QUAY-1030/interfacing-part-8
Change verbs endpoint to use the new registry data model interface
2018-09-13 12:50:02 -04:00
Joseph Schorr
94253787c1
Merge pull request #3248 from quay/joseph.schorr/QUAY-1023/fix-test-notification
Fix test notification data for repo_pull to match actual data
2018-09-12 22:15:21 -04:00
Joseph Schorr
10b14866f5 Fix test notification data for repo_pull to match actual data
Fixes https://jira.coreos.com/browse/QUAY-1023
2018-09-12 17:31:07 -04:00
Joseph Schorr
54aca8206b
Merge pull request #3246 from quay/joseph.schorr/QUAY-1079/oidc-improvements
OIDC improvements
2018-09-12 16:17:51 -04:00
Joseph Schorr
7424a6d73a Add additional multi-layer complex squashing test 2018-09-12 15:26:57 -04:00
Jimmy Zelinskie
867e809ddc
Merge pull request #3247 from jzelinskie/fix
endpoints/api: fix docs on dates for logs API
2018-09-12 13:09:41 -04:00
Jimmy Zelinskie
2da80aa1a0 endpoints/api: fix docs on dates for logs API
The code actually adds the timezone, so previously this was very
confusing telling the user that they needed to provide the timezone.
2018-09-12 13:06:42 -04:00
Joseph Schorr
90c0e34945 Add ability to configure custom email and username claims
This will help customers support active directory-based OIDC
2018-09-12 11:14:23 -04:00
Joseph Schorr
995ba4fd75
Merge pull request #3245 from quay/log-archive-json-bug
Handle the case where the log metadata JSON cannot be parsed
2018-09-07 16:06:22 -04:00
Joseph Schorr
b19443c4e1
Merge pull request #3244 from kleesc/IPResolver-fix
Fix: Should not break from ipresolver thread
2018-09-07 15:48:08 -04:00
Joseph Schorr
5240140a96 Add support for POST calls to OIDC endpoints 2018-09-07 14:52:00 -04:00
Kenny Lee Sin Cheong
4834c281cb nit: styling 2018-09-07 13:50:56 -04:00
Kenny Lee Sin Cheong
105a7c0ea6 Worker started flag 2018-09-07 13:40:20 -04:00
Joseph Schorr
a4fff886a6 Handle the case where the log metadata JSON cannot be parsed
This can happen if the JSON overflowed the text field in the table, for example

Fixes https://sentry.io/coreos/backend-production/issues/670957592/
2018-09-07 13:34:22 -04:00
Kenny Lee Sin Cheong
7743cc44fa Handle exceptions when trying to start resolver thread 2018-09-07 13:26:49 -04:00
Kenny Lee Sin Cheong
7563d97be4 Fix: Should not break from ipresolver thread 2018-09-07 09:55:09 -04:00
Joseph Schorr
f9414c256d
Merge pull request #3241 from quay/joseph.schorr/QUAY-1047/diskspace-health
Add health check for node disk space
2018-09-06 14:35:47 -04:00
Joseph Schorr
8ed8817a31
Merge pull request #3240 from quay/joseph.schorr/QUAY-1035/builder-cloudconfig
Move SSH keys and other config hard-coded config out of the build worker template
2018-09-06 14:35:34 -04:00
Joseph Schorr
49edf51a48
Merge pull request #3243 from quay/fix-old-ssl-handling
Forgot that we use proxy protocol for production, so we need a new block for v1.quay.io
2018-09-06 14:00:31 -04:00
Joseph Schorr
d71201ac50 Forgot that we use proxy protocol for production, so we need a new block for v1.quay.io 2018-09-06 13:59:21 -04:00
Joseph Schorr
7bc173ed62
Merge pull request #3242 from quay/remove-v1-staging
Remove v1-staging from server_name
2018-09-06 13:53:35 -04:00
Joseph Schorr
2439cc6327 Remove v1-staging from server_name 2018-09-06 13:50:19 -04:00
Joseph Schorr
a94f657cb7 Add health check for node disk space
If a node runs out of disk space, nginx can no longer swap, and this can cause issues with large pushes

Fixes https://jira.coreos.com/browse/QUAY-1047
2018-09-05 17:57:22 -04:00
Joseph Schorr
cd1b4042ae Move SSH keys and other config hard-coded config out of the build worker template
In addition to removing our public keys from git, this will also allow additional customization

Fixes https://jira.coreos.com/browse/QUAY-1035
2018-09-05 17:36:01 -04:00
Kenny Lee Sin Cheong
56809ef125
Merge pull request #3239 from kleesc/IPResolver-fix
UpdateIPRange thread start on the 1st call to _get_location_function
2018-09-05 13:45:50 -04:00
Kenny Lee Sin Cheong
bff91c0fb9 UpdateIPRange thread start on the 1st call to _get_location_function
Thread will start on first call to _get_location_function as opposed
to IPResolver's new instance.
2018-09-05 13:35:55 -04:00
Joseph Schorr
d4233595a2
Merge pull request #3235 from quay/serve-old-certs
Add nginx configuration to serve our older SSL certificate from v1.quay.io and v1-staging.quay.io
2018-09-05 13:10:22 -04:00