Skip to content

restrict the image registry policy checks to dev#5391

Open
deads2k wants to merge 1 commit into
Azure:mainfrom
deads2k:nerf-test
Open

restrict the image registry policy checks to dev#5391
deads2k wants to merge 1 commit into
Azure:mainfrom
deads2k:nerf-test

Conversation

@deads2k
Copy link
Copy Markdown
Collaborator

@deads2k deads2k commented May 26, 2026

What

Why

Testing

Special notes for your reviewer

PR Checklist

  • PR is scoped to a single task (no mixed concerns)
  • Title follows Conventional Commits format
  • Summary explains the "Why" behind the change
  • Linked to relevant ticket/issue
  • Screenshots included (if graph/UI/metrics changes)
  • Self-reviewed the diff
  • CI/CD checks are passing (ignore Tide)
  • Draft PR used for WIP (if applicable)
  • Commit history is clean (rebased/squashed)
  • Tricky code blocks are commented
  • Specific reviewers tagged
  • All comment threads resolved before merge

Copilot AI review requested due to automatic review settings May 26, 2026 14:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR narrows execution of the “Image Registry Policy … allowed registries … valid allowlist” E2E check so it only runs in development contexts, avoiding execution in stage/prod/integration suites.

Changes:

  • Marked the “allowed registries / valid allowlist” Image Registry Policy E2E test as DevelopmentOnly.
  • Updated suite-listing fixtures so that test is removed from stage/prod/integration suite outputs and appears only in the development rp-api-compat suite output.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/e2e/image_registry_policy.go Adds labels.DevelopmentOnly to the “allowed registries / valid allowlist” test case.
test/testdata/zz_fixture_TestMainListSuitesForEachSuite_stage_parallelstage_parallel.txt Removes the allowlist test from the stage suite fixture output.
test/testdata/zz_fixture_TestMainListSuitesForEachSuite_prod_parallelprod_parallel.txt Removes the allowlist test from the prod suite fixture output.
test/testdata/zz_fixture_TestMainListSuitesForEachSuite_integration_parallelintegration_parallel.txt Removes the allowlist test from the integration suite fixture output.
test/testdata/zz_fixture_TestMainListSuitesForEachSuite_rp_api_compat_all_parallel_01rp_api_compat_all_parallel_development.txt Adds the allowlist test to the development rp-api-compat suite fixture output.

Comment on lines 123 to 127
labels.High,
labels.Positive,
labels.CoreInfraService,
labels.DevelopmentOnly,
func(ctx context.Context) {
Copy link
Copy Markdown
Collaborator

@mvacula02 mvacula02 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 26, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, mvacula02

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:

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

@raelga
Copy link
Copy Markdown
Collaborator

raelga commented May 26, 2026

/hold

Let's test #5385 first.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants