Skip to content

NO-JIRA: Set agent DISABLE_IMAGE_POLICY for local installs#1867

Open
bfournie wants to merge 1 commit intoopenshift-metal3:masterfrom
bfournie:local-disable-image-policy
Open

NO-JIRA: Set agent DISABLE_IMAGE_POLICY for local installs#1867
bfournie wants to merge 1 commit intoopenshift-metal3:masterfrom
bfournie:local-disable-image-policy

Conversation

@bfournie
Copy link
Contributor

In CI, for agent-based installations the environment variable OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY is set and this is passed down to assisted-service. When doing local testing we also need to set this environment variable.

In CI, for agent-based installations the environment variable
OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY is set and
this is passed down to assisted-service. When doing local testing
we also need to set this environment variable.
@openshift-ci openshift-ci bot requested review from dtantsur and mkowalski March 18, 2026 17:02
@openshift-ci
Copy link

openshift-ci bot commented Mar 18, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

Details 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

@pawanpinjarkar
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 18, 2026
@openshift-ci
Copy link

openshift-ci bot commented Mar 18, 2026

@bfournie: 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/e2e-metal-ipi-bm 16b77c1 link true /test e2e-metal-ipi-bm
ci/prow/e2e-agent-compact-ipv4-iso-no-registry 16b77c1 link false /test e2e-agent-compact-ipv4-iso-no-registry
ci/prow/e2e-metal-ipi-ovn-dualstack 16b77c1 link false /test e2e-metal-ipi-ovn-dualstack
ci/prow/e2e-metal-ipi-bm-bond 16b77c1 link false /test e2e-metal-ipi-bm-bond

Full PR test history. Your PR dashboard.

Details

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.

# Disable image policy verification for local development
# In CI, this is set via the test configuration (see https://github.com/openshift/installer/pull/10379)
if [ "${OPENSHIFT_CI}" != "true" ]; then
export OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY="true"
Copy link
Member

@andfasano andfasano Mar 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not seem correct for all the situation. In particular for the release jobs (or nightly) we want to test a signed payload, isn't it? (I mean locally)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants