Skip to content

USHIFT-6074: Add support on releases scenarios to use artifacts from konflux#5596

Open
agullon wants to merge 10 commits intoopenshift:mainfrom
agullon:USHIFT-6074
Open

USHIFT-6074: Add support on releases scenarios to use artifacts from konflux#5596
agullon wants to merge 10 commits intoopenshift:mainfrom
agullon:USHIFT-6074

Conversation

@agullon
Copy link
Contributor

@agullon agullon commented Oct 10, 2025

Add 2 new scenarios to test latest released microshift-bootc image created from konflux. This image can be fetched from different places:

  • released zstream versions: registry.redhat.io
  • existing but not released yet zstream versions: registry.stage.redhat.io
  • EC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp-dev-preview/
  • RC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp/

Summary by CodeRabbit

  • New Features

    • Auto-resolve and export LATEST_RELEASE_IMAGE_URL for dynamic base-image selection.
    • Export additional minor-version and release-related variables for downstream flows.
  • Tests

    • Added published-image test scenarios that validate resolved release images with signature verification and firewall prep.
    • Removed legacy published-image test scenarios.
  • Other

    • Templates now conditionally use the resolved release image as the build base.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Oct 10, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Oct 10, 2025

@agullon: This pull request references USHIFT-6074 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.21.0" version, but no target version was set.

Details

In response to this:

Add 2 new scenarios to test latest released microshift bootc image available from mirror.openshift.com repo

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 requested review from copejon and jogeo October 10, 2025 13:10
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: agullon

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 10, 2025
@ggiguash
Copy link
Contributor

/hold
I'd like to understand how these are different from el96-crel@published-images-standard1.sh and el96-crel@published-images-standard2.sh?

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 10, 2025
@agullon
Copy link
Contributor Author

agullon commented Oct 10, 2025

/retest

@agullon
Copy link
Contributor Author

agullon commented Oct 10, 2025

/hold I'd like to understand how these are different from el96-crel@published-images-standard1.sh and el96-crel@published-images-standard2.sh?

@ggiguash Very small difference. The only difference is the MicroShift version under test. In this PR, the bootc image is fetched from mirror.openshift.com repo using the version of the latest RPM packages internally published on brew. The purpose of these 2 new scenarios is to validate the bootc image built from konflux is working as expected before QE approval for every z-stream version.

In periodics scenarios the version under test is fetched from final repositories, meaning it's already GA published. There is an exception to the previous statement: if no z-stream exist yet (for example in release-4.20 and release-4.21 at this moment) mirror.openshift.com repo is used instead of final repos.

@ggiguash
Copy link
Contributor

@agullon , can you clarify this a bit more?
Looking here for example, the existng tests first try pulling from the mirror.openshift.com if the current version is configured to use the mirror. Otherwise, they fall back to using the GA'ed images.

@agullon
Copy link
Contributor Author

agullon commented Oct 13, 2025

@agullon , can you clarify this a bit more? Looking here for example, the existng tests first try pulling from the mirror.openshift.com if the current version is configured to use the mirror. Otherwise, they fall back to using the GA'ed images.

@ggiguash The goal of this PR is to test, during the Release Testing process, the MicroShfit bootc images produced by konflux before they are GA. We need to validate the artifacts before they are GA. For this reason, in the code added for this PR there's no a fallback mechanism into the GA'ed images. Instead, the bootc images under test are always fecthed from mirror.openshift.com repo.

@agullon
Copy link
Contributor Author

agullon commented Oct 13, 2025

/retest

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Oct 14, 2025
@openshift-ci-robot
Copy link

@agullon: This PR has been marked as verified by ci/prow/e2e-aws-tests-bootc-release job and el96-lrel@ginkgo-tests test.

Details

In response to this:

/verified by ci/prow/e2e-aws-tests-bootc-release job and el96-lrel@ginkgo-tests test

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-robot
Copy link

@agullon: The /verified command must be used with one of the following actions: by, later, remove, or bypass. See https://docs.ci.openshift.org/docs/architecture/jira/#premerge-verification for more information.

Details

In response to this:

/verified cancel

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.

@agullon
Copy link
Contributor Author

agullon commented Oct 14, 2025

/verified remove

@openshift-ci-robot openshift-ci-robot removed the verified Signifies that the PR passed pre-merge verification criteria label Oct 14, 2025
@openshift-ci-robot
Copy link

@agullon: The verified label has been removed.

Details

In response to this:

/verified remove

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.

Comment on lines 154 to 158
if [[ "${LATEST_RELEASE_TYPE}" == "ec" ]]; then
KONFLUX_LREL_RELEASE_IMAGE_URL="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/microshift/ocp-dev-preview/${LATEST_RELEASE_VERSION}/el9/bootc-pullspec.txt"
else
KONFLUX_LREL_RELEASE_IMAGE_URL="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/microshift/ocp/${LATEST_RELEASE_VERSION}/el9/bootc-pullspec.txt"
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to discuss this. Currently, pre-release bootc image references are published at openshift mirror, but this is not how we agreed with the ART team originally.

/hold

@agullon
Copy link
Contributor Author

agullon commented Oct 21, 2025

/hold until we agree with ART team a common place to share the MicroShift bootc images

@agullon agullon marked this pull request as draft November 18, 2025 13:16
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 18, 2025
@agullon
Copy link
Contributor Author

agullon commented Nov 25, 2025

/test e2e-aws-tests-bootc-release e2e-aws-tests-bootc-release-arm

@agullon agullon marked this pull request as ready for review November 25, 2025 11:54
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 25, 2025
@agullon agullon marked this pull request as draft November 25, 2025 11:55
@agullon
Copy link
Contributor Author

agullon commented Dec 19, 2025

/retest

5 similar comments
@agullon
Copy link
Contributor Author

agullon commented Dec 19, 2025

/retest

@agullon
Copy link
Contributor Author

agullon commented Dec 23, 2025

/retest

@agullon
Copy link
Contributor Author

agullon commented Dec 23, 2025

/retest

@agullon
Copy link
Contributor Author

agullon commented Dec 23, 2025

/retest

@agullon
Copy link
Contributor Author

agullon commented Dec 24, 2025

/retest

This change adds support for testing the latest released bootc image
from Konflux by introducing new LREL (Latest RELease) test scenarios:
- Add el96-lrel@published-images-standard1 scenario
- Add el96-lrel@published-images-standard2 scenario
- Refactor get_lrel_release_image_url() for better maintainability
- Rename variables to follow LREL naming convention
- Update common_versions.sh template with new release variables
pre-commit.check-secrets: ENABLED
@coderabbitai
Copy link

coderabbitai bot commented Feb 17, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds shell helpers to resolve the latest Red Hat/MicroShift boot image URL and export LATEST_RELEASE_IMAGE_URL plus additional minor-version exports; updates a containerfile template to optionally FROM that URL; removes two crel published-image scenario scripts and adds two lrel published-image scenario scripts enabling image signature verification.

Changes

Cohort / File(s) Summary
Version helpers
test/assets/common_versions.sh.template, test/bin/common_versions.sh
Added get_redhat_bootc_image_url() and get_lrel_release_image_url(); compute/export LATEST_RELEASE_IMAGE_URL; export additional minor-version vars (PREVIOUS_MINOR_VERSION, YMINUS2_MINOR_VERSION, FAKE_NEXT_MINOR_VERSION) and several release-related variables (CURRENT/PAST release vars, BREW_* release versions, rhocp/CNCF/GITOPS versions, OPENSHIFT_TESTS_PRIVATE_*).
Container build template
test/image-blueprints-bootc/layer4-release/group1/rhel96-bootc-konflux-lrel.containerfile
Added a template conditional FROM that uses LATEST_RELEASE_IMAGE_URL when defined.
Removed crel published-image scenarios
test/scenarios-bootc/releases/el96-crel@published-images-standard1.sh, test/scenarios-bootc/releases/el96-crel@published-images-standard2.sh
Deleted two crel published-image scenario scripts (standard1 and standard2 flows).
Added lrel published-image scenarios
test/scenarios-bootc/releases/el96-lrel@published-images-standard1.sh, test/scenarios-bootc/releases/el96-lrel@published-images-standard2.sh
Added two lrel published-image scenario scripts defining scenario_create_vms(), scenario_remove_vms(), and scenario_run_tests(); enable IMAGE_SIGSTORE_ENABLED, validate image presence, and use LATEST_RELEASE_IMAGE_URL where applicable.

Sequence Diagram

sequenceDiagram
    participant Script as Version Script
    participant Func as get_lrel_release_image_url()
    participant Bootc as get_redhat_bootc_image_url()
    participant Mirror as OpenShift Mirror
    participant Registry as Red Hat Registry
    participant Containerfile as Containerfile Template

    Script->>Func: call with BREW_LREL_RELEASE_VERSION
    alt ec or rc release
        Func->>Mirror: fetch bootc-pullspec.txt
        Mirror-->>Func: return pullspec
    else standard release
        Func->>Bootc: request image URL for registry.redhat.io
        Bootc->>Registry: skopeo inspect + jq for digest
        Registry-->>Bootc: return digest/pullspec
        Bootc-->>Func: return image URL
        alt no result
            Func->>Bootc: try registry.stage.redhat.io
            Bootc->>Registry: inspect image
            Registry-->>Bootc: return digest/pullspec
            Bootc-->>Func: return image URL
        end
    end
    Func-->>Script: return LATEST_RELEASE_IMAGE_URL
    Script->>Containerfile: export LATEST_RELEASE_IMAGE_URL
    Containerfile->>Containerfile: conditional FROM uses URL
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: adding support for releases scenarios to use artifacts from Konflux, which aligns with the PR's core objective of validating Konflux-built bootc images.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

pre-commit.check-secrets: ENABLED
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 17, 2026

@agullon: This pull request references USHIFT-6074 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Add 2 new scenarios to test latest released microshift-bootc image created from konflux. This image can be fetched from different places:

  • released zstream versions: registry.redhat.io
  • existing but not released yet zstream versions: registry.stage.redhat.io
  • EC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp-dev-preview/
  • RC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp/

Summary by CodeRabbit

  • New Features

  • Added dynamic base image selection for container builds using computed release image URLs.

  • Tests

  • Added new test scenarios for verifying published release images with signature validation.

  • Removed legacy test scenarios.

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@test/bin/common_versions.sh`:
- Around line 71-88: The skopeo/jq pipeline in get_redhat_bootc_image_url can
fail under set -e and abort the script; change how sha_id is captured so
failures produce an empty sha_id instead of exiting: replace the current
assignment with a safe command substitution that swallows errors (e.g.,
sha_id=$((skopeo inspect --raw
"docker://${registry}/openshift4/microshift-bootc-rhel9:v${release_version}" |
jq -r ".manifests[] | select(.platform.architecture==\"${arch}\") | .digest")
2>/dev/null || true) or wrap the pipeline in { ...; } || true) so skopeo/jq
errors return an empty sha_id, preserve the existing digest validation (the
sha_id regex check) and ensure image_url remains empty on failure; update the
template and regenerate the file.

In `@test/scenarios-bootc/releases/el96-lrel`@published-images-standard1.sh:
- Around line 12-16: scenario_create_vms calls prepare_kickstart with
LATEST_RELEASE_IMAGE_URL but doesn’t guard against it being empty; add an
explicit check immediately before prepare_kickstart in scenario_create_vms to
detect an empty or invalid LATEST_RELEASE_IMAGE_URL and call a clear
failure/skip (e.g., echo/log a descriptive message and exit/skip the test) so
prepare_kickstart is never invoked with an empty pullspec; refer to the
scenario_create_vms function, the prepare_kickstart invocation, and the
LATEST_RELEASE_IMAGE_URL variable when making the change.

---

Duplicate comments:
In `@test/assets/common_versions.sh.template`:
- Around line 71-88: The template currently contains doubled braces that will
produce an invalid shell script (e.g. get_redhat_bootc_image_url() {{, "{ARCH}",
and the regex [0-9a-f]{{64}}), so update the template to emit valid bash: change
the function start/end to a single brace (get_redhat_bootc_image_url() { ... }),
use proper shell variable expansions like "${ARCH}" instead of "{ARCH}", and
emit the regex quantifier as {64} (i.e. ^sha256:[0-9a-f]{64}$); keep references
to the same symbols (get_redhat_bootc_image_url, arch, sha_id, registry,
release_version) so the generated script runs without the pipeline failure.

In `@test/scenarios-bootc/releases/el96-lrel`@published-images-standard2.sh:
- Around line 12-16: The scenario_create_vms function uses
LATEST_RELEASE_IMAGE_URL without a guard; add the same presence check used in
the standard1 script so the code verifies LATEST_RELEASE_IMAGE_URL before
calling prepare_kickstart/launch_vm. Specifically, in scenario_create_vms (and
before prepare_kickstart/launch_vm) call the existing guard helper (e.g.,
exit_if_image_not_found or the equivalent validation used for standard1) to
ensure LATEST_RELEASE_IMAGE_URL is set and exit with an error if not, so the
script does not proceed with an unset release image URL.

pre-commit.check-secrets: ENABLED
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 17, 2026

@agullon: This pull request references USHIFT-6074 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Add 2 new scenarios to test latest released microshift-bootc image created from konflux. This image can be fetched from different places:

  • released zstream versions: registry.redhat.io
  • existing but not released yet zstream versions: registry.stage.redhat.io
  • EC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp-dev-preview/
  • RC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp/

Summary by CodeRabbit

  • New Features

  • Dynamic base image selection for container builds using a computed LATEST_RELEASE_IMAGE_URL (auto-resolves latest release image).

  • Tests

  • Added new published-image test scenarios that validate images with signature verification and use the resolved release image.

  • Removed legacy published-image test scenarios.

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@test/assets/common_versions.sh.template`:
- Around line 95-112: The curl calls in get_lrel_release_image_url can cause
script exits or return HTML on 404; update the curl invocations to use robust
flags (e.g., --fail --silent --show-error and -L) and check the command exit
status before assigning image_url so failures leave image_url empty;
additionally validate the returned content (in get_lrel_release_image_url and
get_redhat_bootc_image_url) against a simple pullspec pattern (e.g., contains a
registry/namespace/image form or does not contain HTML tags like <!DOCTYPE or
<html>) and if validation fails set image_url to empty so callers can skip
gracefully. Ensure the loop over registries breaks only when a non-empty,
validated image_url is returned.

---

Duplicate comments:
In `@test/bin/common_versions.sh`:
- Around line 95-112: The get_lrel_release_image_url function currently assigns
curl output directly to image_url, risking silent failures; change the two curl
calls to run curl with --fail and a timeout (e.g., -m) and capture both output
and exit status, only assign image_url when curl succeeds (non-zero/empty =>
treat as failure), log or echo the error/context and let the code fall back to
the registry loop (using get_redhat_bootc_image_url) if curl fails; also apply
the same robust curl handling to the similar template usage so failures are not
silently ignored.

In `@test/scenarios-bootc/releases/el96-lrel`@published-images-standard1.sh:
- Around line 10-22: The scenario can silently fall back if
LATEST_RELEASE_IMAGE_URL is empty; add an explicit guard at the start of
scenario_create_vms to check LATEST_RELEASE_IMAGE_URL (or the resolved
start_image) and fail or skip early before prepare_kickstart is called; use the
existing exit_if_image_not_found/launch_vm flow as a template but make the
intent explicit by checking for an empty/undefined LATEST_RELEASE_IMAGE_URL (or
empty start_image) and calling a clear error/skip (instead of continuing to
prepare_kickstart) so test won’t unknowingly validate against a GA fallback
image.

@agullon
Copy link
Contributor Author

agullon commented Feb 17, 2026

/retest

pre-commit.check-secrets: ENABLED
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 17, 2026

@agullon: This pull request references USHIFT-6074 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Add 2 new scenarios to test latest released microshift-bootc image created from konflux. This image can be fetched from different places:

  • released zstream versions: registry.redhat.io
  • existing but not released yet zstream versions: registry.stage.redhat.io
  • EC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp-dev-preview/
  • RC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp/

Summary by CodeRabbit

  • New Features

  • Auto-resolve and export LATEST_RELEASE_IMAGE_URL (used for dynamic base-image selection) and export additional minor-version variables.

  • Tests

  • Added new published-image test scenarios that validate resolved release images with signature verification and firewall prep.

  • Removed legacy published-image test scenarios.

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.

pre-commit.check-secrets: ENABLED
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 17, 2026

@agullon: This pull request references USHIFT-6074 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Add 2 new scenarios to test latest released microshift-bootc image created from konflux. This image can be fetched from different places:

  • released zstream versions: registry.redhat.io
  • existing but not released yet zstream versions: registry.stage.redhat.io
  • EC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp-dev-preview/
  • RC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp/

Summary by CodeRabbit

  • New Features

  • Auto-resolve and export LATEST_RELEASE_IMAGE_URL for dynamic base-image selection; export additional minor-version variables.

  • Tests

  • Added published-image test scenarios that validate resolved release images with signature verification and firewall prep.

  • Removed legacy published-image test scenarios.

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@test/bin/common_versions.sh`:
- Around line 101-109: The mirror URLs are using the literal "{ARCH}"
placeholder so curl returns 404 and image_url is empty; update the URL
construction where release_version is checked (the curl invocations that set
image_url in the EC and RC branches) to use the resolved architecture variable
(e.g., ${UNAME_M} or the script's computed arch variable) instead of "{ARCH}",
and also update any template/generator that emits these URLs to substitute the
same arch variable so the bootc-pullspec.txt requests succeed.

pre-commit.check-secrets: ENABLED
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 17, 2026

@agullon: This pull request references USHIFT-6074 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Add 2 new scenarios to test latest released microshift-bootc image created from konflux. This image can be fetched from different places:

  • released zstream versions: registry.redhat.io
  • existing but not released yet zstream versions: registry.stage.redhat.io
  • EC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp-dev-preview/
  • RC versions: https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp/

Summary by CodeRabbit

  • New Features

  • Auto-resolve and export LATEST_RELEASE_IMAGE_URL for dynamic base-image selection.

  • Export additional minor-version and release-related variables for downstream flows.

  • Tests

  • Added published-image test scenarios that validate resolved release images with signature verification and firewall prep.

  • Removed legacy published-image test scenarios.

  • Other

  • Templates now conditionally use the resolved release image as the build base.

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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
test/bin/common_versions.sh (1)

78-83: Architecture mapping only covers x86/aarch64.

If UNAME_M is s390x or ppc64le, arch remains empty and the jq select won't match any manifest. The function fails gracefully (returns empty), but if these architectures should be supported, add mappings.

     if [[ "${UNAME_M}" =~ x86 ]]; then
         arch="amd64"
     elif [[ "${UNAME_M}" =~ aarch ]]; then
         arch="arm64"
+    elif [[ "${UNAME_M}" == "s390x" ]]; then
+        arch="s390x"
+    elif [[ "${UNAME_M}" == "ppc64le" ]]; then
+        arch="ppc64le"
     fi
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@test/bin/common_versions.sh` around lines 78 - 83, The arch mapping block in
common_versions.sh leaves arch empty for s390x and ppc64le, causing jq selects
to fail; update the conditional that sets local arch (checking UNAME_M) to
handle those architectures by adding branches that set arch="s390x" for matches
like s390x and arch="ppc64le" for matches like ppc64le (or fall back to using
UNAME_M as the arch value), ensuring UNAME_M and arch are used consistently
where the jq select runs.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@test/bin/common_versions.sh`:
- Around line 78-83: The arch mapping block in common_versions.sh leaves arch
empty for s390x and ppc64le, causing jq selects to fail; update the conditional
that sets local arch (checking UNAME_M) to handle those architectures by adding
branches that set arch="s390x" for matches like s390x and arch="ppc64le" for
matches like ppc64le (or fall back to using UNAME_M as the arch value), ensuring
UNAME_M and arch are used consistently where the jq select runs.

@agullon
Copy link
Contributor Author

agullon commented Feb 17, 2026

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 17, 2026

@agullon: 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-aws-tests-bootc-release-arm 9a5bcb3 link true /test e2e-aws-tests-bootc-release-arm
ci/prow/e2e-aws-tests-periodic 9a5bcb3 link true /test e2e-aws-tests-periodic
ci/prow/e2e-aws-tests-bootc-release 9a5bcb3 link true /test e2e-aws-tests-bootc-release
ci/prow/e2e-aws-tests-release 9a5bcb3 link true /test e2e-aws-tests-release
ci/prow/e2e-aws-tests-release-arm 9a5bcb3 link true /test e2e-aws-tests-release-arm

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.

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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants