1
0
mirror of https://github.com/quay/quay.git synced 2025-04-18 10:44:06 +03:00

12333 Commits

Author SHA1 Message Date
Marcus Kok
49a4228e17
reconciler: fix exception when user api is called with empty email (PROJQUAY-5698) (#3798)
* fix exception when user api is called with empty email
2025-04-17 14:14:57 -04:00
Sunandadadi
3bf6e1b16b
db: moving robot search and find repo to garbage collect queries to read replica (PROJQUAY-8792) (#3795)
* db: moving robot search and find repository to garbage collect queries to read replica (PROJQUAY-8792)

* removing lookup_robot from read_replica
2025-04-17 15:13:51 +00:00
Sunandadadi
fda188e23f
db: revert get_namespace_user from read replica (PROJQUAY-8792) (#3796) 2025-04-17 15:06:37 +00:00
sayalibhavsar
1c70c960b4
bug: make changes to taghistory page to accept manually entered date (PROJQUAY-8633) (#3752)
projquay-8633 accepting dates in DD MMM YYYY format + calendar button is visible + fixing alignment across entire toolbox + improved logic for consistency across different browser language settings
2025-04-17 01:40:23 +05:30
Sunandadadi
43bc1db13e
db: moving get sorted matching repos and find repos to garbage collect to read replica (PROJQUAY-8792) (#3782) 2025-04-16 13:13:06 -04:00
Sunandadadi
2fd0188f9c
chore: move github runners to ubuntu-22.04 (#3783)
* chore: move github runners to ubuntu-22.04

* use docker image with openssl 1.1 preinstalled

* using non-interactive mode for github actions

* remove starting docker

* remove starting docker service

* install openssl 1.1 on ubuntu-22.04

* minor fixes

* compiling from source

* check openssl version

* check openssl version before running tox

* use exports when running tox

* fix typo

* overwrite OPENSSL_VERSION var

* minor fixes

* use python3.9 before installing openssl-1.1

* download python and configure openssl1.1

* adding sudo to configure

* use sudo for make

* minor fixes

* using python venv to run tox

* Apply changes to all tests
2025-04-16 12:10:46 -04:00
Marcus Kok
b629054fe5
reconciler: fix typo in exception type (PROJQUAY-0000) (#3779)
* fix typo in exception type

* update test cases
2025-04-16 09:39:29 -04:00
Sunandadadi
275b6e8540
db: moving robot search query to read replica (PROJQUAY-8792) (#3781) 2025-04-15 09:51:12 -04:00
Sunandadadi
433124d95f
db: moving get user from username query to read replica (PROJQUAY-8792) (#3773) 2025-04-14 11:58:06 -04:00
Marcus Kok
70ea703079
scripts: clean up old container in frontend build script (PROJQUAY-0000) (#3777)
* clean up old container in frontend build script

* ensure a non-zero exit code for docker rm
2025-04-11 13:38:51 -04:00
Sunandadadi
cce4ca4fe7
Revert "healthchecks: Use httpGet for liveness and readiness probe checks (PROJQUAY-8747)" (#3776)
Revert "healthchecks: Use httpGet for liveness and readiness probe checks (PR…"

This reverts commit ea1d18d457c275f03f868c8d5568540d5a92f4a9.
2025-04-11 11:32:45 -04:00
Sunandadadi
9000b9fcf6
Revert "healthcheck: Make gunicorn health check timeout configurable (PROJQUAY-8757)" (#3774)
Revert "healthcheck: Make gunicorn health check timeout configurable (PROJQUA…"

This reverts commit be08d4893d85074ad00c1c53dc00dc44f2cf99d0.
2025-04-11 10:29:50 -04:00
Sunandadadi
1861b3ad10
Revert "deploy: Adding graceful shutdown on pods (PROJQUAY-8760)" (#3775)
Revert "deploy: Adding graceful shutdown on pods (PROJQUAY-8760) (#3753)"

This reverts commit c25be58e2319ec7784d8ffb3a913c2a738faa2cf.
2025-04-11 10:29:38 -04:00
Sunandadadi
58357ca84f
db: moving get user repo permissions query to read replica (PROJQUAY-8792) (#3772) 2025-04-10 15:16:04 -04:00
Marcus Kok
5e2fbd986b
marketplace: free tier integration for reconciler (PROJQUAY-5698) (#3589)
free sku integration for reconciliation worker
2025-04-08 08:55:37 -04:00
Kenny Lee Sin Cheong
1af42c0b5a
ui: render modelcard markdown tables (PROJQUAY-8680) (#3708)
* ui: render modelcard markdown tables (PROJQUAY-8680)

* ui: oembed to render embeded video in markdown (PROJQUAY-8679)

* ui: render tables and embeded links in markdown (PROJQUAY-8673)

* Github linked videos and Patternfly code block

* Limit img source to github and huggingface
2025-04-04 10:18:20 -04:00
Ivan Bazulic
a6713a669d
storage: Enable multipart upload for Google Cloud Storage (PROJQUAY-6862) (#3748)
* storage: Enable multipart upload for Google Cloud Storage (PROJQUAY-6862)
This PR removes the `_stream_write_internal` function override that caused excessive memory consumption and defaults to the old one which chunks uploads. Server assembly is still not suppored by GCS, so we have to assemble everything locally. However, GCS does support the copy function, so a reupload is not needed.

~~~
REPOSITORY                                        TAG         IMAGE ID      CREATED      SIZE
registry.fedoraproject.org/fedora                 latest      ecd9f7ee77f4  2 days ago   165 MB
quay.skynet/ibazulic/big-mirror-test              size138gb   8e6ba9ff13c0  3 days ago   148 GB
quay.skynet/quay-mirror/big-mirror-test           size138gb   8e6ba9ff13c0  3 days ago   148 GB
quay.skynet/ibazulic/mfs-image-test               latest      ab14f2230dd9  7 days ago   5.96 GB
quay.skynet/ibazulic/azure-storage-big-file-test  latest      ede194b926e0  7 days ago   16.1 GB
quay.skynet/ibazulic/minio/minio                  latest      76ed5b96833a  6 weeks ago  532 B

Getting image source signatures
Copying blob 9d9c3d76c421 done   |
Copying blob fce7cf3b093c skipped: already exists
Copying config 8e6ba9ff13 done   |
Writing manifest to image destination
~~~

For uploading extremely big layers, 5 MiB as the default chunk size is not enough. The PR also enables support for user-defined chunk sizes via `minimum_chunk_size_mb` and `maximum_chunk_size_mb` which default to 5 Mib and 100 MiB respectively.

* Remove maximum_chunk_size_mb as it's not needed
2025-04-04 10:16:12 -04:00
Sunandadadi
c25be58e23
deploy: Adding graceful shutdown on pods (PROJQUAY-8760) (#3753)
deploy: Adding graceful shutdown on pods
2025-03-31 14:09:50 -04:00
Sunandadadi
be08d4893d
healthcheck: Make gunicorn health check timeout configurable (PROJQUAY-8757) (#3746)
healthcheck: Make gunicorn health check timeout configurable
2025-03-31 11:12:03 -04:00
Shubhra Deshpande
beffc489d6
operations: removing unused datasources (PROJQUAY-8508) (#3750)
removing unused datasources

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-03-28 15:53:54 -04:00
Shubhra Deshpande
68d13404d9
operations: corrected metric expression to span over all targets (PROJQUAY-8508) (#3749)
corrected metric expression to span over all targets

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-03-28 17:17:06 +00:00
Shubhra Deshpande
87a88f5891
operations: added ELB calculations to ALB based SLO timeseries (PROJQUAY-8508) (#3747)
added ELB calculations to ALB based SLO timeseries

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-03-28 11:21:00 -04:00
Sunandadadi
0e002a4e09
modelcard: Setting model card feature to false by default (#3744)
modelcard: Setting model card feature to false on quay.io
2025-03-27 10:05:19 -04:00
Sunandadadi
ea1d18d457
healthchecks: Use httpGet for liveness and readiness probe checks (PROJQUAY-8747) (#3743)
* Use httpget for liveness and readiness probe checks

* update liveness period seconds
2025-03-26 15:59:31 -04:00
sayalibhavsar
c7d2b67733
fix(ui): corrected pull column alignment in tag view (PROJQUAY-8623) (#3730)
PROJQUAY-8623: In Tag view, Pull column alignment doesn't consistent with others
2025-03-26 20:38:48 +05:30
sayalibhavsar
04a5552f82
deps: bump gunicorn (PROJQUAY-8726) (#3731)
remove package-lock.json from the pr
2025-03-24 20:05:34 +05:30
Marcus Kok
91386aeead
chore: add test case for PROJQUAY-8712 (PROJQUAY-8712) (#3728)
add test case for PROJQUAY-8712
2025-03-21 11:48:22 -04:00
Kenny Lee Sin Cheong
6bd8e8f428
nit: change ModelCard to Model Card (PROJQUAY-8716) (#3727) 2025-03-20 18:47:05 +00:00
Marcus Kok
6720be4b8c
billing: stop modifying subscription list that is being iterated over (PROJQUAY-8712) (#3725)
Fixes bug where removing a MW02702 sub after all it's quantities have been bound causes the next item in the subscription list to be skipped over, resulting in a malformed api response for the marketplace endpoint.
2025-03-20 13:23:24 -04:00
Shubhra Deshpande
f0c153fab5
bug: Adding allow hidden flag while looking up for manifests (PROJQUAY-8536) (#3722)
When an image is pulled by digest, a temp tag is created to prevent the manifest from being garbage collected. This is true when a manifest list is pulled by tag as well. However, if this temporary tag expires (default is 1 day for proxied organizations) and the same manifest is pulled again by digest, the system attempts to create the manifest again, leading to an integrity error because the manifest already exists in the database.

---------

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-03-20 11:03:11 -04:00
Ivan Bazulic
0ce3fc2716
bug: Fix security url template variable (PROJQUAY-8650) (#3707)
chore: Fix security url template variable (PROJQUAY-8650)
Fixes the wrong name of the variable for the security link in the base template. All links should show properly now.
2025-03-14 14:00:01 -04:00
Mathieu Bouchard
acbe6c2278
[Feature] storage: Modify the STS S3 implementation of the storage backend to use Web Identity Tokens when available (PROJQUAY-8576) (#3670)
When deploying Quay in a Secure AWS environment, we can't use IAM Access Keys or Secrets since these credentials are often blocked for multiple reasons (credentials are long-lived, can be shared / stolen, etc.). So the preferred deployment method is to use an alternative method, like the Web Identity Token files that are automatically created in a Kubernetes cluster that has a federation link with IAM using the OIDC provider federation.

The current code of Quay force the use of an IAM account that is then used to assume another role that has S3 access to store the image files. The current pull request removes the need to use that IAM account and allows to directly assume the correct role using Web Identity Tokens while retaining compatibility with the old method of using IAM credentials.

The code relies on the automatic detection of the correct configurations using environment variables where possible. The code has been tested on an OpenShift cluster deployed using manual mode with AWS STS.
2025-03-13 14:44:24 -04:00
Jonathan King
4cbe0a002d
chore: upgrade jinja to 3.1.6 (PROJQUAY-8657) (#3706) 2025-03-13 14:02:37 -04:00
Brandon Caton
888bf2eabb
api: looking up layer by artifact type (PROJQUAY-8644) (#3701)
Fixes a bug where the annotation is required at the manifest level even if artifactType is present. The modelcard should only be indicated by the artifact type and layer annotation for oci artifacts.
2025-03-06 09:29:48 -05:00
Kenny Lee Sin Cheong
d1d675a499
healthcheck: add option to check preferred storage during instance check (PROJQUAY-5074) (#2854) 2025-03-06 09:29:07 -05:00
Kenny Lee Sin Cheong
5f8ca041e7
ui: implement change to render modelcard stored in layers (PROJQUAY-8642) (#3692)
* ui: implement change to render modelcard stored in layers (PROJQUAY-8412)

When a manifest has certain annotations or artifactTypes, render the
applicable modelcard markdown in a new tags detail tab.

* removing untar when fetching model card

* removing extra api calls

* Add modelcar check tests

---------

Co-authored-by: bcaton <bcaton@redhat.com>
2025-03-05 19:14:22 +00:00
Sunandadadi
ad3423e223
storage: fix format error (PROJQUAY-8610) (#3697) 2025-03-05 11:34:45 -05:00
Sivaram Singana
2141e96448
chore: Change in the CIDR for Z (#3693) 2025-03-04 19:35:57 +05:30
Shubhra Deshpande
f88cacf388
chore: corrected error budget left calculations (PROJQUAY-8506) (#3695)
Corrected error budget left calculations

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-03-03 19:05:56 +00:00
Kotakonda Sai Deekshith
373621b7e4
Update CI-nightly.yaml
Fix wide open SSH port and modify ci-nightly file for a more organized format.
2025-02-27 14:50:45 +05:30
Michaela Lang
e2dbce0439
storage(cloudfront): fixed presign uri for multi-region (PROJQUAY-8532) (#3666)
Fixed super initialize to include region_name in CloudFrontedS3Storage.
2025-02-26 13:22:42 -05:00
Kotakonda Sai Deekshith
a2add6e500
Update CI-nightly.yaml
Updated changes in IBM Cloud profile names for Z machines.
2025-02-26 12:37:01 +05:30
Shubhra Deshpande
76008625f4
deploying with corrected source (#3690)
Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-20 23:36:07 -05:00
Shubhra Deshpande
28f06c8255
Pull slo (#3689)
* corrected id on the pull slo panel

---------

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-20 18:18:36 -05:00
Shubhra Deshpande
653191709e
minor: removed unused properties from Pull SLO (PROJQUAY-8506) (#3688)
removed unused properties from Pull SLO

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-20 22:46:03 +00:00
Shubhra Deshpande
2926372c6a
minor: added missing sign for var (#3687)
* added missing sign for var

---------

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-20 16:44:38 -05:00
Shubhra Deshpande
3ee5d4dbca
chore: corrected Invalid Json Formatting (PROJQUAY-8506) (#3686)
reformatted json

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-20 13:06:19 -05:00
Shubhra Deshpande
3fc83c618c
chore: Updated push pull SLO panels (PROJQUAY-8506) (#3685)
* corrected alb and target names

* updated push pull SLO panels

---------

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-20 09:11:24 -05:00
Shubhra Deshpande
b450fa5a7e
chore: Added SLO dashboards based on ALB metrics (PROJQUAY-8506) (#3684)
* updating panels to display correct load balancers and target groups

* added ELB errors in the SLO calculations

* Added corrected ELB errors

---------

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-19 16:31:48 -05:00
Marcus Kok
a4649ff1fc
dashboard: add usage dashboard for grafana (PROJQUAY-8509) (#3658)
add usage dashboard for grafana
2025-02-18 15:02:58 -05:00