Tom McKay
1ee2f0e3b2
1311 - remove buildmanager monit
2019-02-01 12:59:18 -05:00
Joseph Schorr
40c0352dd1
Merge pull request #3350 from quay/small-manifest-opt
...
Small optimization in manifest loading in the OCI data model
2019-01-29 13:16:37 -05:00
Joseph Schorr
0d1ac7a4bb
Small optimization in manifest loading in the OCI data model
2019-01-29 13:11:48 -05:00
Joseph Schorr
6c3eab47e0
Merge pull request #3348 from quay/optimize-log-listing
...
Optimize log listing
2019-01-29 11:25:32 -05:00
Joseph Schorr
ec9913326a
Change bulk logs downloader to use datetime ranges as well
2019-01-28 18:15:55 -05:00
Joseph Schorr
d4c74bc1d3
Optimize listing of logs by changing to bucket by datetime, over which we have an index
2019-01-28 17:45:45 -05:00
Joseph Schorr
9f09d68ad8
Merge pull request #3323 from quay/joseph.schorr/QUAY-1282/log-interfacing
...
Interface out all action log data model operations
2019-01-28 15:09:25 -05:00
Joseph Schorr
9e6f2c5be9
Interface out the clients test in prep for supporting other kinds of clients
2019-01-25 17:28:35 -05:00
Joseph Schorr
b773a18ed8
Interface out all action log data model operations
...
This will allow us to reimplement the logs data model against a non-database system in the near future
2019-01-25 15:52:22 -05:00
Kenny Lee Sin Cheong
95d92f3a3b
Update dockerclient test boxes ( #3316 )
...
* Update boxes Check for vagrant and vagrant-scp
* Email flag is deprecated on after 17.0.6
2019-01-25 13:49:19 -05:00
Kenny Lee Sin Cheong
1b1c9cd1cf
Add V1_ONLY_DOMAIN to internal properties ( #3345 )
2019-01-23 18:01:15 -05:00
Joseph Schorr
6d7b113ca0
Merge pull request #3344 from quay/tag-backfill-legacy-tags-fix
...
Fix a bug in the tag backfill that prevented copying lifetime_start_ts when it is zero
2019-01-23 15:31:04 -05:00
Joseph Schorr
4e9949f69d
Fix a bug in the tag backfill that prevented copying lifetime_start_ts when it is zero
2019-01-23 15:28:05 -05:00
Joseph Schorr
a4cd7fbc0d
Merge pull request #3343 from quay/fix-backfill-verify-tool
...
Add a check for missing tag manifests
2019-01-23 15:12:40 -05:00
Joseph Schorr
987ffe5614
Add a check for missing tag manifests
...
This can occur if a manifest was moved to a different tag
2019-01-23 15:09:17 -05:00
Joseph Schorr
61d00d0c9e
Merge pull request #3342 from quay/backfill-verify-tool
...
Add a tool for verifying the tag backfill on a namespace
2019-01-23 14:52:05 -05:00
Joseph Schorr
ef6a809ef3
Add a tool for verifying the tag backfill on a namespace
2019-01-23 13:29:31 -05:00
Joseph Schorr
4e4f7ccf88
Merge pull request #3341 from quay/lazy-load-manifests
...
Switch loading of the manifest contents to be lazy
2019-01-22 17:04:49 -05:00
Joseph Schorr
c0e6660ac9
Switch loading of the manifest contents to be lazy
...
We don't need the manifest returned by the tags API except for manifest lists, so just load it lazily
2019-01-22 16:50:42 -05:00
Joseph Schorr
110138c305
Merge pull request #3340 from quay/manifest-lookup-optimization
...
Fix bug where we weren't properly caching enum values and we were always looking up the media type when constructing manifests
2019-01-22 15:58:26 -05:00
Joseph Schorr
bbfb0211dc
Fix bug where we weren't properly caching enum values and we were always looking up the media type when constructing manifests
2019-01-22 14:46:38 -05:00
Joseph Schorr
ed75daf3d9
Merge pull request #3339 from quay/fix-backfill-bug
...
Fix a bug in manifest backfill that made it only work on active tags
2019-01-21 17:06:39 -05:00
Joseph Schorr
0035a1ec6d
Fix a bug in manifest backfill that made it only work on active tags
2019-01-21 16:59:37 -05:00
Joseph Schorr
cb637e1233
Merge pull request #3338 from quay/oci-whitelist
...
Allow namespaces to be whitelisted for OCI, but not V22
2019-01-21 15:13:25 -05:00
Joseph Schorr
7c241a93f6
Allow namespaces to be whitelisted for OCI, but not V22
2019-01-21 14:40:26 -05:00
Joseph Schorr
92808e8d3f
Merge pull request #3337 from quay/additional-validation-test
...
Add an additional validation test to the tag backfill worker tests
2019-01-21 14:17:47 -05:00
Joseph Schorr
74bc161b2e
Add an additional validation test to the tag backfill worker tests
2019-01-21 14:06:30 -05:00
Joseph Schorr
171e2ec39b
Merge pull request #3336 from quay/small-cleanup
...
Some small cleanup to the tag backfill worker
2019-01-21 13:43:46 -05:00
Joseph Schorr
c1ac12ff8d
Some small cleanup to the tag backfill worker
2019-01-21 13:37:11 -05:00
Joseph Schorr
bd6efe9563
Merge pull request #3335 from quay/logs-loader
...
Fix the location and display of loader UI in logs view
2019-01-18 14:48:19 -05:00
Joseph Schorr
9a6674c473
Fix the location and display of loader UI in logs view
2019-01-18 14:19:09 -05:00
Joseph Schorr
f03abfef12
Merge pull request #3332 from quay/joseph.schorr/QUAY-1245/retarget-schema1-manifest
...
Add support for retargeting a tag to all schema 1 manifests
2019-01-16 15:06:08 -05:00
Joseph Schorr
f0d74111d8
Merge pull request #3334 from quay/configurable-timeout
...
Make the timeout for the tags backfill worker configurable
2019-01-16 13:32:17 -05:00
Joseph Schorr
92e6e06e90
Make the timeout for the tags backfill worker configurable
2019-01-16 13:30:36 -05:00
Joseph Schorr
c60e3e0341
Merge pull request #3333 from quay/additional-tag-backfill-tests
...
Additional tag backfill tests, config and logs
2019-01-16 13:12:44 -05:00
Joseph Schorr
1cda16f055
Add additional logs
2019-01-16 11:39:57 -05:00
Joseph Schorr
0f18b3a70a
Allow filtering of the backfill by namespace
2019-01-16 11:36:09 -05:00
Joseph Schorr
2a4646b1ca
Add extra verification that backfilling hits all tags in a repository
2019-01-16 11:30:01 -05:00
Joseph Schorr
d49fd1c727
Make sure we backfilled at least one dead tag
2019-01-16 11:24:33 -05:00
Joseph Schorr
570d974067
Add support for retargeting a tag to all schema 1 manifests
...
Schema version 1 manifests contain the tag name, and we have a check to ensure we don't point a tag at a manifest with the wrong name embedded. However, this also means that we cannot retarget to that manifest, which will break the UI once we get rid of legacy images.
This change means we can retarget to those manifests, and the OCI model does the work of rewriting the manifest when necessary.
2019-01-15 16:00:06 -05:00
Joseph Schorr
a1caefcabe
Merge pull request #3331 from thomasmckay/1286-nginx-names
...
1286 - increase nginx server name length
2019-01-15 15:30:35 -05:00
Kenny Lee Sin Cheong
bae3a47ee2
v1 registry flags for nginx server blocks ( #3307 )
2019-01-15 15:22:59 -05:00
Tom McKay
628bf07979
1286 - increase nginx server name length
2019-01-15 12:39:05 -05:00
Joseph Schorr
6d5ec4eddf
Merge pull request #3329 from quay/tag-backfill-improvements
...
A few small improvements to the tag backfill worker
2019-01-15 12:05:44 -05:00
Joseph Schorr
19b9d6c927
Merge pull request #3328 from quay/optimize-tags-query
...
Optimize the list active tags query
2019-01-14 16:54:54 -05:00
Joseph Schorr
14349c6f58
Merge pull request #3330 from quay/fix-manifest-security-link
...
Fix the links in manifest security view
2019-01-14 15:30:09 -05:00
Joseph Schorr
e5f57b9d98
Fix the links in manifest security view
2019-01-14 15:08:18 -05:00
Kenny Lee Sin Cheong
df639750f1
Fix tag reversion UI ( #3295 )
...
* Remove unused check
The tags returned from the tag history endpoint did not have
an image_id field until https://github.com/quay/quay/pull/3238 (tags pagination), so the
condition was never met. After #3238 , the tags returned from the tag
history endpoints have an image_id field, which is equal to its
docker_image_id field, to allow the same behavior from consumers
getting tags from the repository endpoint (e.g repo-view).
* watch repositoryTags instead of repository in repo-tag-history
2019-01-14 14:40:09 -05:00
Joseph Schorr
b8d60152c4
A few small improvements to the tag backfill worker
...
1) Remove the join on the min ID lookup. This join is incredibly slow and taxing on the database, so we simply set the minimum to the min database ID.
2) Increase the timeout on the worker.
3) Have the manifest backfill verify the contents of the backfilled manifests, to ensure we didn't mis-copy bytes due to the previous unicode issues
2019-01-14 13:43:42 -05:00
Joseph Schorr
fe45797490
Optimize the list active tags query
...
Some customers are hitting this endpoint rapidly for repositories with many, many tags. This change drops the unnecessary joins, which should reduce database load somewhat.
2019-01-14 13:34:25 -05:00