[chore] Only override RHDH and catalog images in nightly checks - #210
Conversation
PR checks should use the default images from compose.yaml/default.env. Only nightly checks need to override RHDH_IMAGE and CATALOG_INDEX_IMAGE with the branch-derived next/next-* tags. Assisted-by: Claude
Code Review by Qodo
1.
|
Review Summary by QodoMake image overrides conditional in composite action
WalkthroughsDescription• Add override_images input to composite action for conditional image overrides • PR checks now use default images from compose.yaml/default.env • Only nightly workflow overrides RHDH and catalog images with branch-derived tags • Prevents unnecessary image overrides in standard CI checks Diagramflowchart LR
A["PR Checks"] -- "uses defaults" --> B["compose.yaml/default.env"]
C["Nightly Workflow"] -- "override_images: true" --> D["Composite Action"]
D -- "conditional override" --> E["RHDH_IMAGE & CATALOG_INDEX_IMAGE"]
File Changes1. .github/actions/rhdh-local-compose-test/action.yaml
|
…ride_images is false The previous commit only guarded the .env file, but the env vars exported via GITHUB_ENV were still picked up by docker compose. Assisted-by: Claude
…is false Assisted-by: Claude
Assisted-by: Claude
Assisted-by: Claude
|
|
/cherry-pick release-1.10 To backport also, but ideally after #180 has been correctly backported into the respective branches. |
|
@rm3l: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
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. |
|
Merging. Tests will be fixed by #212 |
|
@rm3l: #210 failed to apply on top of branch "release-1.9": DetailsIn response to this:
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. |
|
@rm3l: #210 failed to apply on top of branch "release-1.8": DetailsIn response to this:
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. |
|
@rm3l: #210 failed to apply on top of branch "release-1.10": DetailsIn response to this:
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. |
|
/cherry-pick release-1.10 |
|
@rm3l: new pull request created: #213 DetailsIn response to this:
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. |
* [chore] Adding nightly tests against next RHDH tag (#180) Signed-off-by: Leanne Ahern <lahern@redhat.com> Co-authored-by: Armel Soro <asoro@redhat.com? * [chore] Only override RHDH and catalog images in nightly checks (#210) --------- Signed-off-by: Leanne Ahern <lahern@redhat.com> Co-authored-by: Armel Soro <asoro@redhat.com>



Description
PR checks currently override
RHDH_IMAGEandCATALOG_INDEX_IMAGEin.env, but they should use the defaults fromcompose.yaml/default.env. Only nightly checks need to override these images with branch-derivednext/next-*tags.This adds an
override_imagesinput to the composite action (defaults to"false"), and only the nightly workflow passesoverride_images: "true".Which issue(s) does this PR fix or relate to
N/A
PR acceptance criteria
How to test changes / Special notes to the reviewer
compose.yamlnext/next-*tags