Skip to content

Comments

fix: push perm check for gitlab image registry#3263

Merged
knative-prow[bot] merged 2 commits intoknative:mainfrom
matejvasek:fix-push-check
Dec 1, 2025
Merged

fix: push perm check for gitlab image registry#3263
knative-prow[bot] merged 2 commits intoknative:mainfrom
matejvasek:fix-push-check

Conversation

@matejvasek
Copy link
Contributor

@matejvasek matejvasek commented Dec 1, 2025

Changes

fixes #3183

  • fix: push perm check for gitlab image registry
    For whatever reason the gitlab integrated image registry returns 403 instead of 401 when password is empty.

/kind bug

fix: push permission check with gitlab image registry

For whatever reason the gitlab integrated image registry returns 403
instead of 401 when password is empty.

Signed-off-by: Matej Vašek <matejvasek@gmail.com>
@knative-prow
Copy link

knative-prow bot commented Dec 1, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@knative-prow knative-prow bot added kind/bug Categorizes issue or PR as related to a bug. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Dec 1, 2025
@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 1, 2025
@matejvasek matejvasek marked this pull request as ready for review December 1, 2025 16:21
@knative-prow knative-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 1, 2025
@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 54.55%. Comparing base (7f7e476) to head (697d086).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
pkg/k8s/keychains.go 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3263      +/-   ##
==========================================
+ Coverage   54.52%   54.55%   +0.02%     
==========================================
  Files         162      162              
  Lines       19216    19219       +3     
==========================================
+ Hits        10478    10484       +6     
+ Misses       7694     7692       -2     
+ Partials     1044     1043       -1     
Flag Coverage Δ
e2e 39.94% <66.66%> (+0.25%) ⬆️
e2e go 35.87% <66.66%> (+0.26%) ⬆️
e2e node 31.22% <66.66%> (+0.23%) ⬆️
e2e python 35.51% <66.66%> (+0.26%) ⬆️
e2e quarkus 31.40% <66.66%> (+0.26%) ⬆️
e2e rust 30.84% <66.66%> (+0.27%) ⬆️
e2e springboot 30.87% <66.66%> (+0.26%) ⬆️
e2e typescript 31.36% <66.66%> (+0.26%) ⬆️
integration 17.91% <0.00%> (-0.01%) ⬇️
unit macos-14 44.33% <50.00%> (+<0.01%) ⬆️
unit macos-latest 44.33% <50.00%> (+<0.01%) ⬆️
unit ubuntu-24.04-arm 44.54% <57.14%> (+<0.01%) ⬆️
unit ubuntu-latest 45.27% <50.00%> (+<0.01%) ⬆️
unit windows-latest 44.36% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The CredentialsCallback shall return creds.ErrCredentialsNotFound not
nil error if the callback is not appropriate for given registry.

Signed-off-by: Matej Vašek <matejvasek@gmail.com>
@knative-prow knative-prow bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 1, 2025
@matejvasek matejvasek removed the request for review from dsimansk December 1, 2025 18:28
@matejvasek
Copy link
Contributor Author

PTAL @lkingland @gauron99

@gauron99
Copy link
Contributor

gauron99 commented Dec 1, 2025

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Dec 1, 2025
@knative-prow
Copy link

knative-prow bot commented Dec 1, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gauron99, matejvasek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [gauron99,matejvasek]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot merged commit 0b6faf4 into knative:main Dec 1, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stuck on func deploy

2 participants