Skip to content

RHDH: fix IMAGE_NAME using empty QUAY_REPO instead of IMAGE_REPO#79469

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
zdrapela:fix-empty-quay-repo-image-name
May 20, 2026
Merged

RHDH: fix IMAGE_NAME using empty QUAY_REPO instead of IMAGE_REPO#79469
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
zdrapela:fix-empty-quay-repo-image-name

Conversation

@zdrapela
Copy link
Copy Markdown
Contributor

@zdrapela zdrapela commented May 19, 2026

Fix IMAGE_NAME construction using empty QUAY_REPO instead of IMAGE_REPO across all RHDH CI scripts.

IMAGE_NAME was built as "${QUAY_REPO}:${TAG_NAME}" in PR Branch Handling, but QUAY_REPO is initialized empty and only set later from IMAGE_REPO after Image Tag Resolution — producing broken names like ":pr-123-abcdef12" in https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/redhat-developer_rhdh/4821/pull-ci-redhat-developer-rhdh-release-1.8-e2e-ocp-helm/2056662986294038528#1:build-log.txt%3A109.

Changes:

  • Use "${IMAGE_REPO:-rhdh-community/rhdh}:${TAG_NAME}" in PR Branch Handling
  • Set IMAGE_NAME in the else branch of Image Tag Resolution
  • Default IMAGE_REGISTRY="quay.io" at init; remove redundant fallbacks and duplicate exports
  • Align osd-gcp/helm/nightly with all other scripts (Gangway overrides, TAG_NAME guard, override-first check, ref YAML env declarations)
  • Align MAX_WAIT_TIME_SECONDS and wait loop echo across all scripts

Affected scripts: ocp/helm, ocp/helm/nightly, ocp/helm/upgrade/nightly, eks/helm/nightly, gke/helm/nightly, aks/helm/nightly, osd-gcp/helm/nightly

RHDH CI image name construction fix

This PR fixes a bug in RHDH CI scripts where image names were being constructed incorrectly, resulting in malformed Docker image references (e.g., :pr-123-abcdef12 with a missing repository prefix).

Root cause and fix

The scripts were building IMAGE_NAME using QUAY_REPO before it was properly initialized. Since QUAY_REPO started empty and was only later synced from IMAGE_REPO, the resulting image names lacked the repository component. The fix involves:

  1. Default IMAGE_REGISTRY upfront — Set to quay.io during variable initialization instead of leaving it empty or defaulting it inline later
  2. Use IMAGE_REPO for PR builds — Switch from ${QUAY_REPO}:${TAG_NAME} to ${IMAGE_REPO:-rhdh-community/rhdh}:${TAG_NAME} when handling PR branches, ensuring a valid fallback
  3. Set IMAGE_NAME immediately after IMAGE_REPO — In non-overridden image tag resolution paths, assign IMAGE_NAME right after IMAGE_REPO is determined, avoiding stale values

Affected scripts

Consistent updates across 6 nightly test scripts (for EKS, GKE, AKS, OCP, and OSD-GCP deployments) plus the main OCP Helm script, with a parallel update to the OSD-GCP Helm ref.yaml configuration to support runtime parameter overrides via Gangway API.

Additional alignment

The osd-gcp/helm/nightly script received additional changes to align its logic with other test scripts: added Gangway API override support for image and Git parameters, restructured image tag resolution precedence, and extended the Docker image availability check to handle both quay.io and non-quay.io registries appropriately.

IMAGE_NAME was constructed as "${QUAY_REPO}:${TAG_NAME}" in the PR
Branch Handling block, but QUAY_REPO is initialized empty and only gets
set from IMAGE_REPO after Image Tag Resolution. This produced broken
image names like ":pr-123-abcdef12" (missing repo prefix).

Fix by using IMAGE_REPO (the primary variable since PR openshift#76964) with a
fallback default: "${IMAGE_REPO:-rhdh-community/rhdh}:${TAG_NAME}".
This respects Gangway API overrides (MULTISTAGE_PARAM_OVERRIDE_IMAGE_REPO)
when set, and falls back to the default for standard presubmit runs.

Also set IMAGE_NAME in the else branch of Image Tag Resolution right
after IMAGE_REPO is assigned, so the wait loop echo statements display
the correct image name instead of the stale empty value.

Default IMAGE_REGISTRY to "quay.io" at initialization instead of empty
string, since that is always the intended default. Remove the now
redundant ${IMAGE_REGISTRY:-quay.io} fallbacks and duplicate export
statements that followed Image Tag Resolution.

Align osd-gcp/helm/nightly with the other scripts: add Gangway API
override logic, TAG_NAME override guard in PR Branch Handling,
override-first check in Image Tag Resolution, IMAGE_REGISTRY
conditional for the wait loop, and declare all MULTISTAGE_PARAM_OVERRIDE
env vars in the ref YAML.

Affected scripts:
- ocp/helm (presubmit)
- ocp/helm/nightly
- ocp/helm/upgrade/nightly
- eks/helm/nightly
- gke/helm/nightly
- aks/helm/nightly
- osd-gcp/helm/nightly

Assisted-by: OpenCode
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 19, 2026

Walkthrough

Six CI operator command scripts for Red Hat Developer Hub Helm deployments across AKS, EKS, GKE, and OCP platforms are refactored to standardize image registry defaults, unify PR image naming logic, and simplify variable exports. The OSD-GCP script receives more extensive enhancements including parameter override support and registry-aware image availability polling.

Changes

Cloud Platform Helm CI Scripts Refactor

Layer / File(s) Summary
Image registry default standardization
ci-operator/step-registry/redhat-developer/rhdh/aks/helm/nightly/redhat-developer-rhdh-aks-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/eks/helm/nightly/redhat-developer-rhdh-eks-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/gke/helm/nightly/redhat-developer-rhdh-gke-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/nightly/redhat-developer-rhdh-ocp-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/redhat-developer-rhdh-ocp-helm-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/upgrade/nightly/redhat-developer-rhdh-ocp-helm-upgrade-nightly-commands.sh
IMAGE_REGISTRY is initialized to quay.io by default across all six scripts instead of an empty string, providing consistent behavior for downstream image resolution and availability checks.
PR branch image naming refactoring
ci-operator/step-registry/redhat-developer/rhdh/aks/helm/nightly/redhat-developer-rhdh-aks-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/eks/helm/nightly/redhat-developer-rhdh-eks-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/gke/helm/nightly/redhat-developer-rhdh-gke-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/nightly/redhat-developer-rhdh-ocp-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/redhat-developer-rhdh-ocp-helm-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/upgrade/nightly/redhat-developer-rhdh-ocp-helm-upgrade-nightly-commands.sh
PR and presubmit builds now construct IMAGE_NAME from IMAGE_REPO (with rhdh-community/rhdh fallback) instead of deriving it from QUAY_REPO, unifying image repository selection across all platforms.
Image availability checking and export simplification
ci-operator/step-registry/redhat-developer/rhdh/aks/helm/nightly/redhat-developer-rhdh-aks-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/eks/helm/nightly/redhat-developer-rhdh-eks-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/gke/helm/nightly/redhat-developer-rhdh-gke-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/nightly/redhat-developer-rhdh-ocp-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/redhat-developer-rhdh-ocp-helm-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/upgrade/nightly/redhat-developer-rhdh-ocp-helm-upgrade-nightly-commands.sh
Image availability blocks remove inline IMAGE_REGISTRY defaulting and derive IMAGE_NAME earlier in the tag resolution flow; export statements are simplified by removing redundant multi-variable exports of IMAGE_REPO IMAGE_REGISTRY QUAY_REPO.

OSD-GCP Configuration Enhancements

Layer / File(s) Summary
Early variable initialization and parameter override support
ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh, ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-ref.yaml
Image repository variables are initialized and exported at the top of the script; deprecation notice about cluster deletion is removed; new MULTISTAGE_PARAM_OVERRIDE_* environment variables are added to the ref.yaml to support runtime parameter overrides for image repo/registry, GitHub org/repo, release branch, PR number, and tag name.
PR handling and image tag resolution precedence
ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh
PR branch handling is refined to construct IMAGE_NAME from IMAGE_REPO and gate presubmit behavior on absence of tag overrides; a new precedence rule is introduced that uses IMAGE_REPO and TAG_NAME directly when both are set, otherwise falls back to job-type/release/changeset-based logic.
Registry-aware image availability polling
ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh
Image availability checking is extended with registry-specific behavior: for quay.io a timed polling loop queries the Quay tag API until the tag appears, for non-quay.io registries the polling check is skipped; QUAY_REPO is synced to IMAGE_REPO after availability checks.

🎯 3 (Moderate) | ⏱️ ~25 minutes

lgtm, approved, rehearsals-ack

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed Check is not applicable. PR modifies CI/CD shell scripts and YAML configs, not Ginkgo tests. Standard Go test files in tools/ use testing.T framework, not Ginkgo. No Ginkgo test names present.
Test Structure And Quality ✅ Passed Custom check not applicable. PR contains only CI/CD shell scripts and YAML, no Ginkgo test code. Check requires reviewing Ginkgo test structures which are absent.
Microshift Test Compatibility ✅ Passed PR modifies only CI/CD automation scripts and YAML configuration—no Ginkgo e2e tests added. MicroShift Test Compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR modifies only CI/CD pipeline scripts and YAML config for image building/deployment. No new Ginkgo e2e tests are added, making this SNO compatibility check inapplicable.
Topology-Aware Scheduling Compatibility ✅ Passed PR contains CI script changes fixing image name/registry handling. No Kubernetes deployment manifests, operator code, or scheduling constraints introduced or modified.
Ote Binary Stdout Contract ✅ Passed PR modifies only shell scripts and YAML/JSON configuration files. The OTE Binary Stdout Contract check applies to Go test code only. No Go code is present in the changes.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This PR contains zero Ginkgo e2e test files. It modifies 23 bash scripts and 30 YAML CI/deployment configurations for RHDH. The IPv6/disconnected network test compatibility check is not applicable.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main fix: correcting IMAGE_NAME construction to use IMAGE_REPO instead of an empty QUAY_REPO in RHDH CI scripts.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci openshift-ci Bot requested review from josephca and subhashkhileri May 19, 2026 12:28
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 19, 2026
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@zdrapela: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-redhat-developer-rhdh-main-e2e-ocp-helm redhat-developer/rhdh presubmit Registry content changed
pull-ci-redhat-developer-rhdh-release-1.8-e2e-ocp-helm redhat-developer/rhdh presubmit Registry content changed
pull-ci-redhat-developer-rhdh-release-1.9-e2e-ocp-helm redhat-developer/rhdh presubmit Registry content changed
pull-ci-redhat-developer-rhdh-release-1.10-e2e-ocp-helm redhat-developer/rhdh presubmit Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.10-e2e-aks-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.9-e2e-eks-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.9-e2e-ocp-v4-16-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.9-e2e-ocp-v4-21-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.8-e2e-ocp-v4-16-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-main-e2e-osd-gcp-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-main-e2e-gke-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-main-e2e-ocp-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-main-e2e-ocp-v4-19-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.9-e2e-ocp-helm-upgrade-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.9-e2e-ocp-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.8-e2e-osd-gcp-operator-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.8-e2e-gke-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.10-e2e-osd-gcp-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.8-e2e-eks-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.10-e2e-ocp-v4-20-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.10-e2e-gke-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.9-e2e-aks-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.10-e2e-ocp-helm-upgrade-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.9-e2e-osd-gcp-helm-nightly N/A periodic Registry content changed
periodic-ci-redhat-developer-rhdh-release-1.9-e2e-ocp-v4-20-helm-nightly N/A periodic Registry content changed

A total of 44 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Copy link
Copy Markdown
Contributor

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh (2)

2-2: 🛠️ Refactor suggestion | 🟠 Major | ⚡ Quick win

Use set -euo pipefail for more robust error handling.

The script currently uses only set -e, but step registry command scripts should use set -euo pipefail to catch unset variable references (-u) and pipe failures (-o pipefail), improving reliability in CI environments.

🛡️ Recommended change
-set -e
+set -euo pipefail

As per coding guidelines: "Step registry command scripts should use set -euo pipefail by default"

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh`
at line 2, The script uses only "set -e" which misses unset-variable and
pipe-failure checks; update the script's shell flags by replacing the existing
set invocation (the "set -e" line) with "set -euo pipefail" so the script exits
on errors, treats unset variables as errors, and fails on pipeline errors;
ensure any later code that relies on unset variables is adjusted or variables
are explicitly initialized to avoid -u failures.

123-147: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add validation before constructing IMAGE_NAME in the else branch to prevent empty TAG_NAME.

The else branch at line 147 can be reached by job types that don't match the periodic (line 125) or specific presubmit conditions (lines 90, 134). While all current jobs using this step are periodic and have TAG_NAME set, a postsubmit, batch, or other job type would reach this branch with an unset TAG_NAME, resulting in an invalid image name like rhdh-community/rhdh:.

Suggested fix
 else
     IMAGE_REPO="rhdh-community/rhdh"
+    if [[ -z "${TAG_NAME}" ]]; then
+        echo "ERROR: TAG_NAME is not set. Cannot construct IMAGE_NAME."
+        exit 1
+    fi
     IMAGE_NAME="${IMAGE_REPO}:${TAG_NAME}"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh`
around lines 123 - 147, The else branch currently sets IMAGE_REPO and constructs
IMAGE_NAME="${IMAGE_REPO}:${TAG_NAME}" without validating TAG_NAME; add a check
in that branch to ensure TAG_NAME is non-empty — if TAG_NAME is empty either set
a safe default (e.g., "next") or log an error and exit; update the block that
assigns IMAGE_REPO and IMAGE_NAME (referencing IMAGE_REPO, TAG_NAME, and
IMAGE_NAME) to perform this validation and logging before constructing
IMAGE_NAME so you never produce an image name ending with a trailing colon.
🧹 Nitpick comments (1)
ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh (1)

161-161: 💤 Low value

Quote variable to prevent word splitting.

The $response variable should be quoted to prevent potential issues with whitespace or glob characters in the JSON response.

🔧 Shellcheck fix
-            tag_count=$(echo $response | jq '.tags | length')
+            tag_count=$(echo "$response" | jq '.tags | length')
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh`
at line 161, The assignment to tag_count uses echo $response unquoted which can
cause word splitting or globbing; change the command that computes tag_count
(the line setting tag_count from echo $response | jq '.tags | length') to echo
the variable quoted (use echo "$response") so the JSON is passed intact into jq
and prevents splitting or glob expansion.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In
`@ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh`:
- Line 2: The script uses only "set -e" which misses unset-variable and
pipe-failure checks; update the script's shell flags by replacing the existing
set invocation (the "set -e" line) with "set -euo pipefail" so the script exits
on errors, treats unset variables as errors, and fails on pipeline errors;
ensure any later code that relies on unset variables is adjusted or variables
are explicitly initialized to avoid -u failures.
- Around line 123-147: The else branch currently sets IMAGE_REPO and constructs
IMAGE_NAME="${IMAGE_REPO}:${TAG_NAME}" without validating TAG_NAME; add a check
in that branch to ensure TAG_NAME is non-empty — if TAG_NAME is empty either set
a safe default (e.g., "next") or log an error and exit; update the block that
assigns IMAGE_REPO and IMAGE_NAME (referencing IMAGE_REPO, TAG_NAME, and
IMAGE_NAME) to perform this validation and logging before constructing
IMAGE_NAME so you never produce an image name ending with a trailing colon.

---

Nitpick comments:
In
`@ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh`:
- Line 161: The assignment to tag_count uses echo $response unquoted which can
cause word splitting or globbing; change the command that computes tag_count
(the line setting tag_count from echo $response | jq '.tags | length') to echo
the variable quoted (use echo "$response") so the JSON is passed intact into jq
and prevents splitting or glob expansion.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 3f62569b-9ee2-46c4-ad45-401d59ab195f

📥 Commits

Reviewing files that changed from the base of the PR and between acd6a07 and fa183de.

📒 Files selected for processing (8)
  • ci-operator/step-registry/redhat-developer/rhdh/aks/helm/nightly/redhat-developer-rhdh-aks-helm-nightly-commands.sh
  • ci-operator/step-registry/redhat-developer/rhdh/eks/helm/nightly/redhat-developer-rhdh-eks-helm-nightly-commands.sh
  • ci-operator/step-registry/redhat-developer/rhdh/gke/helm/nightly/redhat-developer-rhdh-gke-helm-nightly-commands.sh
  • ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/nightly/redhat-developer-rhdh-ocp-helm-nightly-commands.sh
  • ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/redhat-developer-rhdh-ocp-helm-commands.sh
  • ci-operator/step-registry/redhat-developer/rhdh/ocp/helm/upgrade/nightly/redhat-developer-rhdh-ocp-helm-upgrade-nightly-commands.sh
  • ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-commands.sh
  • ci-operator/step-registry/redhat-developer/rhdh/osd-gcp/helm/nightly/redhat-developer-rhdh-osd-gcp-helm-nightly-ref.yaml

@zdrapela zdrapela changed the title rhdh: fix IMAGE_NAME using empty QUAY_REPO instead of IMAGE_REPO RHDH: fix IMAGE_NAME using empty QUAY_REPO instead of IMAGE_REPO May 19, 2026
@zdrapela
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-redhat-developer-rhdh-main-e2e-ocp-helm-nightly

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@zdrapela: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@albarbaro
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 20, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 20, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: albarbaro, zdrapela

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

@zdrapela
Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@zdrapela: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label May 20, 2026
@zdrapela
Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 20, 2026

@zdrapela: 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/rehearse/periodic-ci-redhat-developer-rhdh-main-e2e-ocp-helm-nightly fa183de link unknown /pj-rehearse periodic-ci-redhat-developer-rhdh-main-e2e-ocp-helm-nightly

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.

@openshift-merge-bot openshift-merge-bot Bot merged commit fa6330e into openshift:main May 20, 2026
11 of 12 checks passed
wgahnagl pushed a commit to wgahnagl/release that referenced this pull request May 20, 2026
…nshift#79469)

IMAGE_NAME was constructed as "${QUAY_REPO}:${TAG_NAME}" in the PR
Branch Handling block, but QUAY_REPO is initialized empty and only gets
set from IMAGE_REPO after Image Tag Resolution. This produced broken
image names like ":pr-123-abcdef12" (missing repo prefix).

Fix by using IMAGE_REPO (the primary variable since PR openshift#76964) with a
fallback default: "${IMAGE_REPO:-rhdh-community/rhdh}:${TAG_NAME}".
This respects Gangway API overrides (MULTISTAGE_PARAM_OVERRIDE_IMAGE_REPO)
when set, and falls back to the default for standard presubmit runs.

Also set IMAGE_NAME in the else branch of Image Tag Resolution right
after IMAGE_REPO is assigned, so the wait loop echo statements display
the correct image name instead of the stale empty value.

Default IMAGE_REGISTRY to "quay.io" at initialization instead of empty
string, since that is always the intended default. Remove the now
redundant ${IMAGE_REGISTRY:-quay.io} fallbacks and duplicate export
statements that followed Image Tag Resolution.

Align osd-gcp/helm/nightly with the other scripts: add Gangway API
override logic, TAG_NAME override guard in PR Branch Handling,
override-first check in Image Tag Resolution, IMAGE_REGISTRY
conditional for the wait loop, and declare all MULTISTAGE_PARAM_OVERRIDE
env vars in the ref YAML.

Affected scripts:
- ocp/helm (presubmit)
- ocp/helm/nightly
- ocp/helm/upgrade/nightly
- eks/helm/nightly
- gke/helm/nightly
- aks/helm/nightly
- osd-gcp/helm/nightly

Assisted-by: OpenCode
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. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants