Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO-ISSUE: add registry.ci.openshift.org to PUBLIC_CONTAINER_REGISTRIES #6344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fiblan
Copy link

@fiblan fiblan commented May 21, 2024

Added registry registry.ci.openshift.org to PUBLIC_CONTAINER_REGISTRIES to bypass auth registry validation via validations.ParsePublicRegistries

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

Added registry registry.ci.openshift.org to PUBLIC_CONTAINER_REGISTRIES to bypass auth registry validation via validations.ParsePublicRegistries
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 21, 2024
@openshift-ci-robot
Copy link

@fiblan: This pull request explicitly references no jira issue.

In response to this:

Added registry registry.ci.openshift.org to PUBLIC_CONTAINER_REGISTRIES to bypass auth registry validation via validations.ParsePublicRegistries

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 21, 2024
Copy link

openshift-ci bot commented May 21, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fiblan
Once this PR has been reviewed and has the lgtm label, please assign gamli75 for approval. For more information see the Kubernetes Code Review Process.

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

Needs approval from an approver in each of these files:

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

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 21, 2024
Copy link

openshift-ci bot commented May 21, 2024

Hi @fiblan. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@CrystalChun
Copy link
Contributor

Hey @fiblan, thanks for creating a PR! I'm not familiar with OKD, but does it always allow pulling from registry.ci.openshift.org without credentials?

If not, it might not be best to have this as a default for others who use the podman configmap for OKD. Perhaps creating a PR to add documentation about OKD might be more preferable?

@fiblan
Copy link
Author

fiblan commented May 22, 2024

Hey @CrystalChun thank you for the request for clarification! I confirm that during the installation phase, access to registry.ci.openshift.org is allowed without credentials since OKD releases are public. Moreover, the modification I proposed in this PR specifically refers to the deploy/podman/okd-configmap.yml. Without this change, the assisted installer will not let you proceed because it requires credentials for the registry, which are not necessary. Therefore, setting the config map for OKD to a public registry (registry.ci.openshift.org) ensures it works perfectly.

@CrystalChun
Copy link
Contributor

/ok-to-test
Thanks for the explanation!

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 22, 2024
Copy link

codecov bot commented May 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.28%. Comparing base (fdf233a) to head (bbb8d51).
Report is 242 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6344   +/-   ##
=======================================
  Coverage   68.27%   68.28%           
=======================================
  Files         241      241           
  Lines       35873    35874    +1     
=======================================
+ Hits        24493    24497    +4     
+ Misses       9215     9214    -1     
+ Partials     2165     2163    -2     

see 4 files with indirect coverage changes

Copy link

openshift-ci bot commented Oct 28, 2024

@fiblan: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/edge-verify-generated-code bbb8d51 link true /test edge-verify-generated-code
ci/prow/e2e-agent-compact-ipv4 bbb8d51 link true /test e2e-agent-compact-ipv4
ci/prow/edge-e2e-metal-assisted-odf-4-16 bbb8d51 link true /test edge-e2e-metal-assisted-odf-4-16
ci/prow/edge-e2e-metal-assisted-cnv-4-16 bbb8d51 link true /test edge-e2e-metal-assisted-cnv-4-16
ci/prow/edge-e2e-metal-assisted-mtv-4-17 bbb8d51 link true /test edge-e2e-metal-assisted-mtv-4-17

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants