1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00

11607 Commits

Author SHA1 Message Date
OpenShift Cherrypick Robot
80cd9c3324 fix: Pass CONTAINER_RUNTIME to quay-builder (PROJQUAY-5910) (#2105)
Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
v3.9.0
2023-08-07 23:00:31 +02:00
OpenShift Cherrypick Robot
b5b7aabefa georep: Add error handling for remove location script (PROJQUAY-5878) (#2094)
- Gracefully handle errors that are thrown during remove location script
- This should handle scenarios where the location is not found or not provided, as well as other error cases

Co-authored-by: Jonathan King <jonathankingfc@gmail.com>
2023-08-04 11:19:06 +02:00
OpenShift Cherrypick Robot
648f9571e3 [redhat-3.9] build(deps): bump golang.org/x/net (PROJQUAY-5339) (#2093)
* config-tool: bump golang.org/x/net (PROJQUAY-5339)

* chore: Add lint job for config-tool

---------

Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-08-02 18:09:59 +02:00
OpenShift Cherrypick Robot
5198db5744 UI: Robot Accounts page perms fix (PROJQUAY-5487) (#2088)
Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2023-08-01 15:15:47 -04:00
OpenShift Cherrypick Robot
1239477f54 [redhat-3.9] api: Adding ignore timezone flag when parsing datetime (PROJQUAY-5360) (#2079)
* api: Removing parsing of datetime (PROJQUAY-5360)

* added ignoretz flag to date util parser

* added removed extra line

---------

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2023-08-01 10:19:34 -04:00
Oleg Bulatov
03378f2075 Merge pull request #2069 from dmage/merge-config-tool-3.9
[redhat-3.9] chore: Add config-tool
2023-08-01 15:43:06 +02:00
Oleg Bulatov
44db77ba6c chore: Reformat python scripts in config-tool 2023-08-01 12:36:01 +02:00
Oleg Bulatov
9351d03a63 chore: Merge config-tool/.github into .github 2023-08-01 12:36:01 +02:00
Oleg Bulatov
bb4a9c9d18 chore: Rename github.com/quay/config-tool to github.com/quay/quay/config-tool 2023-08-01 12:36:01 +02:00
Oleg Bulatov
09d5ab4664 chore: Use config-tool from this repo 2023-08-01 12:36:01 +02:00
Oleg Bulatov
4b713c398f Merge branch 'config-tool' into merge-config-tool-3.9
* config-tool: (247 commits)
  chore: Move config-tool into its own directory
  pg: Add warning log when Postgres version less than 13 (#218)
  chore: Bump dependencies (PROJQUAY-5630) (#211)
  build(deps): bump decode-uri-component in /pkg/lib/editor (#192)
  chore: Create Quay PR from the same push event
  chore: Use DEPLOY_PAT so that GitHub reacts on new tags
  build(deps): bump socket.io-parser in /pkg/lib/editor (#213)
  chore: Create PR against Quay for new tags (#212)
  build(deps): bump minimist and karma in /pkg/lib/editor (#210)
  deploy: use PAT for creating PR on quay repo (PROJQUAY-5048) (#207)
  deploy: fix release.yaml quote (PROJQUAY-5048) (#206)
  chore: Bump http-swagger (PROJQUAY-3643) (#198)
  deploy: Create a PR against quay for every release (PROJQUAY-5048) (#204)
  deploy: Add workflow to auto release on push (PROJQUAY-5048) (#200)
  storage: Add CloudFlare and MultiCDN config validation (PROJQUAY-5048) (#199)
  setup: Add ALLOWED_OCI_ARFICAT_TYPES to generated config (PROJQUAY-1032) (#110)
  docs: Add documentation for TLS usage (PROJQUAY-4558) (#188)
  Update mini-go (#184)
  validator: Fix database.pem path in config.yaml (PROJQIUAY-4222) (#181)
  ci: Update golang version in CI (PROJQUAY-1605)
  ...
2023-08-01 12:35:57 +02:00
OpenShift Cherrypick Robot
b1bab0b93d [redhat-3.9] UI: Replace time to wait with event waits in cypress tests (#2078)
* UI: Remove waits from cypress tests

* reducing number of multiple delete repos

* Adding .then for create org

* create org fix

* removing conditional check

---------

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2023-08-01 12:35:20 +02:00
OpenShift Cherrypick Robot
d5415d1416 Adding null check on dark logo (#2085)
Co-authored-by: bcaton <bcaton@redhat.com>
2023-08-01 12:34:27 +02:00
OpenShift Cherrypick Robot
3298995a79 chore: Do not require ticket for build(deps-dev) (#2081)
Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-08-01 08:50:21 +02:00
OpenShift Cherrypick Robot
1c85c563b9 chore: use isinstance to check instance type (#2070)
Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-07-31 23:43:41 +02:00
Oleg Bulatov
0429d79696 chore: Move config-tool into its own directory 2023-07-28 16:34:05 +02:00
Jonathan King
133437f231 pg: Add warning log when Postgres version less than 13 (#218) 2023-07-27 15:41:20 -04:00
OpenShift Cherrypick Robot
3757824708 secscan_model: attempt urldecoding fixed_in_version (PROJQUAY-5886) (#2063)
In Clair 4.7, an API field documented to have version information in no
particular format may URL encode it. This change attempts to decode and
read a known field that contains the "fixed" version. If that fails, the
value will be passed through, as it is now.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Co-authored-by: Hank Donnay <hdonnay@redhat.com>
2023-07-27 17:44:07 +02:00
Oleg Bulatov
f8146c2de8 build(deps): bump config-tool to v0.1.21 (#2051) (#2057)
Signed-off-by: quay-devel <quay-devel@redhat.com>
Co-authored-by: quay-devel <100235670+quay-devel@users.noreply.github.com>
2023-07-25 12:43:21 +02:00
OpenShift Cherrypick Robot
f0e97152cd build(deps): bump pypdf2 from 1.27.6 to 1.27.9 (#2052)
Bumps [pypdf2](https://github.com/py-pdf/PyPDF2) from 1.27.6 to 1.27.9.
- [Release notes](https://github.com/py-pdf/PyPDF2/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/1.27.9/CHANGELOG)
- [Commits](https://github.com/py-pdf/PyPDF2/compare/1.27.6...1.27.9)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 17:58:19 +02:00
OpenShift Cherrypick Robot
95a51576d5 chore: Fix regexp in pull_request_linting.yaml (#2054)
Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-07-24 16:12:19 +02:00
Oleg Bulatov
cb82a4681b chore: Bump dependencies (PROJQUAY-5630) (#211)
* chore: Bump dependencies (PROJQUAY-5630)

* Bump minimal Go version to 1.19

* X.509 CommonName is deprecated in Go 1.15 and removed from 1.17

* chore: Workaround for dubious ownership issue
2023-07-24 15:08:42 +02:00
Oleg Bulatov
fe4f7593ea Revert "chore: Use stable Cython (#2025)" (#2042)
This reverts commit 49efb78ce3.
2023-07-24 14:25:57 +02:00
Oleg Bulatov
209299fc80 Revert "chore: Bump PyYAML (#2022)" (#2041)
This reverts commit 97c5a72260.
2023-07-24 14:25:42 +02:00
dependabot[bot]
3791ff6a55 build(deps): bump decode-uri-component in /pkg/lib/editor (#192)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 21:42:14 +02:00
OpenShift Cherrypick Robot
49efb78ce3 chore: Use stable Cython (#2025)
Cython is required to build PyYAML from sources, and it depends on
Cython<3.0.

Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-07-20 18:19:11 +02:00
OpenShift Cherrypick Robot
24b5fed01c chore: Use conventional-commit-checker-action for Jira check (PROJQUAY-5672) (#2023)
As we agreed to put the Jira ticket only into the commit title, we can
remove neofinancial/ticket-check-action and use only
conventional-commit-checker-action.

Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-07-20 17:34:10 +02:00
OpenShift Cherrypick Robot
97c5a72260 chore: Bump PyYAML (#2022)
Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-07-20 17:09:36 +02:00
OpenShift Cherrypick Robot
e3c6e2573c chore: Use latest go-toolset for config-tool (#2020)
Co-authored-by: Oleg Bulatov <oleg@bulatov.me>
2023-07-19 20:24:11 +02:00
OpenShift Cherrypick Robot
8c21856b71 UI: Delete normal user org by super user (PROJQUAY-5639) (#2008)
Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2023-07-11 23:40:05 +02:00
OpenShift Cherrypick Robot
0f8fd65d2c [redhat-3.9] oci: Allow optional components in the image config to be set to "null" (PROJQUAY-5634) (#1964)
* oci: Allow optional properties in the config layer to be set to null

* Correct formatting

* oci: Allow optional components in the image config to be set to "null" See OCI spec for more information:

https://github.com/opencontainers/image-spec

---------

Co-authored-by: Ivan Bazulic <ibazulic@redhat.com>
2023-07-11 23:39:47 +02:00
OpenShift Cherrypick Robot
debc5b4e3f build(deps): bump requests from 2.27.1 to 2.31.0 (#1985)
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.31.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 23:39:33 +02:00
OpenShift Cherrypick Robot
313a95444b [redhat-3.9] storage: make cloudfront_distribution_org_overrides optional (PROJQUAY-5788) (#2009)
* storage: make cloudfront_distribution_org_overrides optional (PROJQUAY-5788)

This is causing issues with config editor where it
configure CloudFront provider because of the required
override param

* fix black formatting

* fix tests

* fix black formatting

* fix tests

* fix tests

---------

Co-authored-by: Syed <syed@apache.org>
2023-07-11 23:39:13 +02:00
OpenShift Cherrypick Robot
81dc79668c [redhat-3.9] Pagination: Fixing paginate for /api/v1/superuser/logs API (PROJQUAY-5360) (#2011)
* Pagination: Fixing paginate for /api/v1/superuser/logs API

* using offset to fetch next page items

* adding datetime parsing

* using black to format code

* removing use_offset

* Removing redundant declaration

---------

Co-authored-by: Sunandadadi <sunanda.3094@gmail.com>
2023-07-11 23:38:55 +02:00
Oleg Bulatov
290ebbe2c0 chore: Create Quay PR from the same push event 2023-07-04 15:20:44 +02:00
Oleg Bulatov
11cc596145 chore: Use DEPLOY_PAT so that GitHub reacts on new tags 2023-07-04 15:06:22 +02:00
dependabot[bot]
3b1c7dba22 build(deps): bump socket.io-parser in /pkg/lib/editor (#213)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.4)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 14:47:53 +02:00
Oleg Bulatov
4b95f4ddde chore: Create PR against Quay for new tags (#212)
* chore: Create PR against Quay for new tags

* chore: Open PRs against Quay with non-default title

The default title is "Changes by create-pull-request action", which is
too generic.
2023-07-04 14:37:13 +02:00
dependabot[bot]
7c252e50c3 build(deps): bump minimist and karma in /pkg/lib/editor (#210)
Bumps [minimist](https://github.com/minimistjs/minimist) to 1.2.8 and updates ancestor dependency [karma](https://github.com/karma-runner/karma). These dependencies need to be updated together.


Updates `minimist` from 1.2.5 to 1.2.8
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.8)

Updates `karma` from 1.7.1 to 6.4.1
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/1.7.1...v6.4.1)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 19:55:22 +02:00
Marcus Kok
6eeb45b7c0 config: Set feature flag default for new vulnerability notifications to True (#1995)
(PROJQUAY-4659)

Change the default from `False` to `True` for
`FEATURE_SECURITY_SCANNING_NOTIFY_ON_NEW_INDEX`.

Since this flag addresses a bug, it should be enabled by default.
2023-06-27 17:56:42 +02:00
Oleg Bulatov
cc4bb0cc8e chore: Use buildx v0.11.0-rc2 (#1960) (#1971) 2023-06-14 12:45:33 +02:00
OpenShift Cherrypick Robot
fcdb292a47 [redhat-3.9] ui: display sizes as base 2 (PROJQUAY-5524) (#1970)
* displaying tag sizes as MB instead of MiB

* adding newline to end of file

* updating sizes from base 1000 to 1024

---------

Co-authored-by: bcaton <bcaton@redhat.com>
2023-06-13 22:39:18 +02:00
OpenShift Cherrypick Robot
0e08328b1d geo-rep: Initialize features from config in util script (PROJQUAY-5627) (#1967)
- Features must be initialized in order to check if storage replication is enabled, so we need to import and intialize the config from inside the util script

Co-authored-by: Jonathan King <jonathankingfc@gmail.com>
2023-06-13 22:39:08 +02:00
OpenShift Cherrypick Robot
0c2f4c9224 logs: Add autologin to splunk's connect() to allow retries (PROJQUAY-5621) (#1957)
Signed-off-by: harishsurf <hgovinda@redhat.com>
Co-authored-by: harishsurf <hgovinda@redhat.com>
2023-06-08 14:22:11 -04:00
Oleg Bulatov
957b278c31 Revert "change removed_tag_expiration_s to bigint (#1932)" (#1950)
This reverts commit c80a5e3487.
2023-06-07 15:43:34 +02:00
OpenShift Cherrypick Robot
c80a5e3487 change removed_tag_expiration_s to bigint (#1932)
Signed-off-by: dmesser <dmesser@redhat.com>
Co-authored-by: dmesser <dmesser@redhat.com>
2023-06-07 15:13:07 +02:00
github-actions[bot]
ef31a82021 chore: v3.9.0 changelog bump (PROJQUAY-5065) (#1944)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Sunandadadi <Sunandadadi@users.noreply.github.com>
2023-06-06 23:32:53 -04:00
OpenShift Cherrypick Robot
958196757f geo-rep: Add util script to remove geo-rep location and corresponding image locations (PROJQUAY-4995) (#1943)
- This removes first the ImageStoragePlacements that are associated with the location
- Once those are cleaned up, the ImageStorageLocation itself is removed from the database

Co-authored-by: Jonathan King <jonathankingfc@gmail.com>
2023-06-06 21:57:13 -04:00
OpenShift Cherrypick Robot
427b85a448 changing quota configuration byte units to base 1000 (#1940)
Co-authored-by: bcaton <bcaton@redhat.com>
2023-06-06 10:44:03 -04:00
OpenShift Cherrypick Robot
82c495ea23 Removing permanently deleted tags from tag history (#1934)
Co-authored-by: bcaton <bcaton@redhat.com>
2023-06-05 13:08:08 -04:00