Skip to content

fix(ci): derive catalog index image dynamically from branch - #5122

Draft
jonkoops wants to merge 1 commit into
redhat-developer:mainfrom
jonkoops:chore/dynamic-catalog-index-resolution
Draft

fix(ci): derive catalog index image dynamically from branch#5122
jonkoops wants to merge 1 commit into
redhat-developer:mainfrom
jonkoops:chore/dynamic-catalog-index-resolution

Conversation

@jonkoops

@jonkoops jonkoops commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

PR #4860 (RHIDP-14348) added RELEASE_VERSION and CATALOG_INDEX_IMAGE infrastructure to env_variables.sh with the stated goal of replacing the hardcoded catalog index tag, but left the default empty. #5263 added a temporary CATALOG_INDEX_IMAGE_OVERRIDE pin to :1.10 as an interim measure while the catalog index on :next was broken.

This PR removes the override and populates the default from RELEASE_VERSION, giving us main:next, release-1.10:1.10 automatically. The :next / :2.0 catalog index already has wrappers removed, but CI cannot consume it until the existing wrappers in the RHDH repo are migrated to ref:// references (RHIDP-13226). Gangway overrides for RC/GA verification continue to work; an explicit CATALOG_INDEX_IMAGE provided externally takes precedence over the default.

RHIDP-14348

@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.96%. Comparing base (b9697de) to head (d0e3004).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5122      +/-   ##
==========================================
- Coverage   63.69%   59.96%   -3.74%     
==========================================
  Files         123      111      -12     
  Lines        2424     2198     -226     
  Branches      571      550      -21     
==========================================
- Hits         1544     1318     -226     
  Misses        878      878              
  Partials        2        2              
Flag Coverage Δ
rhdh 59.96% <ø> (-3.74%) ⬇️
Components Coverage Δ
Backend plugins ∅ <ø> (∅)
Backend app 66.66% <ø> (ø)
Frontend app 58.89% <ø> (ø)
Plugin utils ∅ <ø> (∅)
Dynamic plugins utils ∅ <ø> (∅)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9697de...d0e3004. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nickboldt nickboldt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

works for me, as we'll always have a :x.y tag even if :next and :latest float around

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@jonkoops

Copy link
Copy Markdown
Contributor Author

/retest

@zdrapela

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci

openshift-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@jonkoops

Copy link
Copy Markdown
Contributor Author

@nickboldt please don't sync the branch with main, especially not with merge commits. The problem is that the catalog for 1.11 is borked currently, which is causing the test failures.

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 21 days.

@github-actions github-actions Bot added the Stale label Aug 1, 2026
@jonkoops
jonkoops force-pushed the chore/dynamic-catalog-index-resolution branch from 398c903 to 8a04d7d Compare August 3, 2026 16:27
@openshift-ci

openshift-ci Bot commented Aug 3, 2026

Copy link
Copy Markdown

@jonkoops: The following test 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-ocp-helm 8a04d7d link true /test e2e-ocp-helm

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.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@github-actions github-actions Bot removed the Stale label Aug 4, 2026
@jonkoops
jonkoops marked this pull request as draft August 5, 2026 10:54
@jonkoops

jonkoops commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Moving to draft while the prerequisite wrapper removal PR is prepared. This PR will be rebased on top of it once the wrappers have been replaced with ref:// references and the catalog index is switched to :2.0. The catalog index issues that originally blocked this (RHIDP-15881) have been resolved.

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 21 days.

Populate CATALOG_INDEX_IMAGE with a default based on RELEASE_VERSION
so CI always uses the correct catalog index without hardcoding.
Remove the temporary CATALOG_INDEX_IMAGE_OVERRIDE pin to :1.10
that was added as an interim measure in redhat-developer#5263.

Ref: RHIDP-14348
Signed-off-by: Jon Koops <jonkoops@gmail.com>
@jonkoops
jonkoops force-pushed the chore/dynamic-catalog-index-resolution branch from 874cec5 to d0e3004 Compare August 19, 2026 21:02
@github-actions

Copy link
Copy Markdown
Contributor

The container image build workflow finished with status: cancelled.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

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