diff --git a/.ci/pipelines/env_variables.sh b/.ci/pipelines/env_variables.sh index f417ccd166..e21cbb6c66 100755 --- a/.ci/pipelines/env_variables.sh +++ b/.ci/pipelines/env_variables.sh @@ -56,17 +56,17 @@ IMAGE_REPO="${IMAGE_REPO:-${QUAY_REPO:-rhdh-community/rhdh}}" QUAY_REPO="${IMAGE_REPO}" # Keep QUAY_REPO in sync for backward compatibility # Catalog index image reference. +# Defaults to quay.io/rhdh/plugin-catalog-index tagged with RELEASE_VERSION so that +# main uses :next and release branches (e.g., release-1.10) use :1.10 automatically. # Override via Gangway for RC (e.g., --catalog-index-image quay.io/rhdh/plugin-catalog-index:1.9-60) or # GA verification (e.g., --catalog-index-image registry.access.redhat.com/rhdh/plugin-catalog-index:1.9.4). -CATALOG_INDEX_IMAGE="${CATALOG_INDEX_IMAGE:-}" -if [[ -n "${CATALOG_INDEX_IMAGE}" ]]; then - # Derived components for Helm chart (requires separate registry/repository/tag) - CATALOG_INDEX_TAG="${CATALOG_INDEX_IMAGE##*:}" - _CI_WITHOUT_TAG="${CATALOG_INDEX_IMAGE%:*}" - CATALOG_INDEX_REGISTRY="${_CI_WITHOUT_TAG%%/*}" - CATALOG_INDEX_REPO="${_CI_WITHOUT_TAG#*/}" - unset _CI_WITHOUT_TAG -fi +CATALOG_INDEX_IMAGE="${CATALOG_INDEX_IMAGE:-quay.io/rhdh/plugin-catalog-index:${RELEASE_VERSION}}" +# Derived components for Helm chart (requires separate registry/repository/tag) +CATALOG_INDEX_TAG="${CATALOG_INDEX_IMAGE##*:}" +_CI_WITHOUT_TAG="${CATALOG_INDEX_IMAGE%:*}" +CATALOG_INDEX_REGISTRY="${_CI_WITHOUT_TAG%%/*}" +CATALOG_INDEX_REPO="${_CI_WITHOUT_TAG#*/}" +unset _CI_WITHOUT_TAG # ============================================================================= # Release and Namespace Configuration diff --git a/.ci/pipelines/value_files/values_showcase-rbac.yaml b/.ci/pipelines/value_files/values_showcase-rbac.yaml index 35902f028c..fae3f37079 100644 --- a/.ci/pipelines/value_files/values_showcase-rbac.yaml +++ b/.ci/pipelines/value_files/values_showcase-rbac.yaml @@ -1,10 +1,4 @@ global: - # use the latest catalog index - catalogIndex: - image: - registry: quay.io - repository: rhdh/plugin-catalog-index - tag: "1.10" dynamic: # -- Array of YAML files listing dynamic plugins to include with those listed in the `plugins` field. # Relative paths are resolved from the working directory of the initContainer that will install the plugins (`/opt/app-root/src`). diff --git a/.ci/pipelines/value_files/values_showcase.yaml b/.ci/pipelines/value_files/values_showcase.yaml index 8704c69dcd..888d8dcfa9 100644 --- a/.ci/pipelines/value_files/values_showcase.yaml +++ b/.ci/pipelines/value_files/values_showcase.yaml @@ -1,10 +1,4 @@ global: - # use the latest catalog index - catalogIndex: - image: - registry: quay.io - repository: rhdh/plugin-catalog-index - tag: "1.10" dynamic: # -- Array of YAML files listing dynamic plugins to include with those listed in the `plugins` field. # Relative paths are resolved from the working directory of the initContainer that will install the plugins (`/opt/app-root/src`).