Skip to content

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

Open
jonkoops wants to merge 3 commits into
redhat-developer:mainfrom
jonkoops:chore/dynamic-catalog-index-resolution
Open

fix(ci): derive catalog index image dynamically from branch#5122
jonkoops wants to merge 3 commits 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 and the values file blocks in place as a fallback while the companion openshift/release PR (openshift/release#79538) was validated. That companion PR has since been merged, and RELEASE_BRANCH_NAME is reliably set in all Prow steps. However the final step of populating the default and removing the stale fallback was never completed.

This PR finishes that work: CATALOG_INDEX_IMAGE now defaults to quay.io/rhdh/plugin-catalog-index:${RELEASE_VERSION}, giving us main:next, release-1.10:1.10 automatically. The hardcoded catalogIndex blocks in values_showcase.yaml and values_showcase-rbac.yaml are removed since helm::get_image_params() always injects the --set flags now, which take precedence over values file content regardless.

Gangway overrides for RC/GA verification continue to work — an explicit CATALOG_INDEX_IMAGE provided externally takes precedence over the default.

Blocked: #5113

Refs: RHIDP-14348

Populate CATALOG_INDEX_IMAGE with a default based on RELEASE_VERSION
so CI always uses the correct catalog index without hardcoding.

Remove the stale catalogIndex blocks from the Helm values files — the
--set flags from helm::get_image_params() now always take effect and
override anything in the values file anyway.

Refs: RHIDP-14348
Signed-off-by: Jon Koops <jonkoops@gmail.com>
@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 (43bf801) to head (398c903).

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      577      546      -31     
==========================================
- Hits         1544     1318     -226     
  Misses        879      879              
  Partials        1        1              
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 43bf801...398c903. 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 removed the lgtm label Jul 24, 2026
@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:

@sonarqubecloud

Copy link
Copy Markdown

@openshift-ci

openshift-ci Bot commented Jul 24, 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 398c903 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.

@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:

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants