1
0
mirror of https://github.com/quay/quay.git synced 2026-01-29 08:42:15 +03:00
Commit Graph

12311 Commits

Author SHA1 Message Date
Sunandadadi
71963b4eaa modelcard: Setting model card feature to false on quay.io 2025-03-27 09:24:07 -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
Shubhra Deshpande
2844bddbda chore: updated target group names in stage dashboard (PROJQUAY-8506) (#3672)
updated target group names in stage dashboard

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-13 13:19:12 -05:00
Shubhra Deshpande
87481aa836 chore: Added pull-push SLI panel based on ALB datapoints (PROJQUAY-8506) (#3647)
* Added pull-push SLI panel based on ALB datapoints

---------

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-11 10:46:18 -05:00
Kotakonda Sai Deekshith
abcf94536b chore: Filtering repeatPassword in debuglogs (PROJQUAY-8559) (#3659)
* Filtering repeatPassword in debuglogs

* updated test_log_util.py for format issues
2025-02-11 20:31:31 +05:30
Ivan Bazulic
4c5b2d50c5 ui: Expand support for customized footer links (PROJQUAY-5648) (#3556)
* ui: Expand support for customized footer links (PROJQUAY-5648)
Previous iteration only allowed changes to the terms of service. With this push, all footer links should be customizable through the `FOOTER_LINKS` object. Example:

~~~
FOOTER_LINKS:
  TERMS_OF_SERVICE_URL: "some_url"
  PRIVACY_POLICY_URL: "some_url"
  SECURITY_URL: "some_url"
  ABOUT_URL: "some_url"
~~~

Missing entries will not be printed out in the UI.

* Fixes to parsing of config object

* Add type annotation
2025-02-07 10:07:55 -05:00
sivaramsingana
65f08a5b65 chore: fix for wide open ssh for vsi for Z (#3591)
fix for wide open ssh for vsi
2025-02-07 08:50:21 -05:00
Marcus Kok
55d2bf8d4a chore: update thresholds for SLO error budgets (PROJQUAY-0000) (#3632)
update thresholds for SLO error budgets
2025-02-05 13:33:46 -05:00
Brandon Caton
37d65f77c8 deps: updating jquery to 3.5.0 (PROJQUAY-8522) (#3629)
updating jquery to 3.5.0
2025-02-04 14:26:32 -05:00
Marcus Kok
52f3e38413 marketplace: handle exception thrown by stripe when customer has no subscription (PROJQUAY-8431) (#3603)
* handle exception thrown by stripe when customer has no subscription
2025-02-03 14:36:27 -05:00
Shubhra Deshpande
b48e1b47ad chore: added test for proxy cache (PROJQUAY-8440) (#3610)
* adding unit test for proxy cache

---------

Co-authored-by: shudeshp <shudeshp@redhat.com>
2025-02-03 19:20:08 +00:00
Brandon Caton
4663a9de44 ui: adding under_maintenance state to status indicator (PROJQUAY-8507) (#3609)
Adding under_maintenance state to status indicator
2025-02-03 11:38:59 -05:00
Michaela Lang
5fdb881b0e endpoints(repository): fixing repository return with starred repos to paged response (PROJQUAY-8450) (#3580)
When setting repositories in the Quay UI as starred, a 500 error occurs and renders the UI use-less due to starred queries are not paged.
2025-01-30 11:33:59 -05:00
Marcus Kok
c51e171d1e grafana: update the slo dashboard (PROJQUAY-8455) (#3592)
update the slo dashboard
2025-01-30 11:08:09 -05:00
Harish Govindarajulu
c85221771c storage: Redirect in network request to return s3 signed URL (PROJQUAY-8489) (#3590)
* storage: Redirect in network request to return s3 signed URL(PROJQUAY-8489)

* Fix tests

* Modify assert to mitigate error from code scanning tool

---------

Signed-off-by: harishsurf <hgovinda@redhat.com>
2025-01-29 12:30:01 -05:00
Marcus Kok
395d7d6b1e dashboard: update quayio slo dashboard with new 5xx panels (PROJQUAY-8455) (#3581)
update quayio slo dashboard with new 5xx panels
2025-01-27 09:19:25 -05:00
Marcus Kok
f5ba272e8c dashboard: update grafana dashboard (PROJQUAY-8455) (#3578)
update grafana dashboard
2025-01-21 14:12:32 -05:00
Kenny Lee Sin Cheong
4cf52586b9 chore: update setup.py (#3569)
Add data.queue to packages
2025-01-16 15:49:47 +00:00
Syed Ahmed
3b739cf4d2 Revert "util: parse forwarded headers for ip (PROJQUAY-8444)" (#3568)
Revert "util: parse forwarded headers for ip (PROJQUAY-8444) (#3566)"

This reverts commit 40e2eaa4da.
2025-01-15 19:14:46 -05:00
Marcus Kok
40e2eaa4da util: parse forwarded headers for ip (PROJQUAY-8444) (#3566)
add recursive directive to nginx config
2025-01-15 17:22:12 -05:00
Kenny Lee Sin Cheong
367aee17f0 chore: update setup.py (#3565) 2025-01-14 18:33:02 +00:00
Kenny Lee Sin Cheong
b674c7cfc4 gc: Allow setting a deleted repo name's suffix (PROJQUAY-8408) (#3563)
Allows adding a suffix to uuid repo names to collect metrics
2025-01-13 14:21:47 -05:00
Kotakonda Sai Deekshith
a4292cc2b4 chore: Fix for ci-nightly failure for s390x (#3558)
fix for ci-nightly failure for s390x
2025-01-12 20:34:24 +05:30
Marcus Kok
8d835a9a94 worker: include orgs in reconciler runs (PROJQUAY-8431) (#3560)
Adds an include_orgs param to the active users query used by the reconciler and sets it to true for reconciler runs

Reconciler is not including orgs as a candidate for creating corresponding RH entitlements. As a result it misses users with stripe billing that are considered orgs.
2025-01-10 13:05:22 -05:00