feat(ci): add disconnected OCP smoke test for Helm and Operator#5008
feat(ci): add disconnected OCP smoke test for Helm and Operator#5008zdrapela wants to merge 1 commit into
Conversation
|
Skipping CI for Draft Pull Request. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5008 +/- ##
==========================================
- Coverage 55.39% 54.77% -0.62%
==========================================
Files 122 110 -12
Lines 2365 2147 -218
Branches 563 542 -21
==========================================
- Hits 1310 1176 -134
+ Misses 1048 969 -79
+ Partials 7 2 -5
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
The container image build workflow finished with status: |
|
The container image build workflow finished with status: |
|
/test e2e-ocp-disconnected-helm-nightly |
|
/test e2e-ocp-disconnected-operator-nightly |
|
/test e2e-ocp-disconnected-helm-nightly |
|
The container image build workflow finished with status: |
|
/test e2e-ocp-disconnected-helm-nightly |
|
/test e2e-ocp-disconnected-helm-nightly |
|
/test e2e-ocp-disconnected-operator-nightly |
|
The container image build workflow finished with status: |
|
/test e2e-ocp-disconnected-helm-nightly |
|
/test e2e-ocp-disconnected-operator-nightly |
|
The container image build workflow finished with status: |
Add end-to-end disconnected CI pipeline handlers that deploy RHDH in an isolated OCP cluster and run a Playwright smoke test. Helm path uses oc-mirror v2 (downloaded at runtime) for chart + image mirroring, following the documented air-gapped workflow: - GA (registry.redhat.io): chart from charts.openshift.io, oc-mirror discovers and mirrors default images automatically - CI/upstream: chart from oci://quay.io/rhdh/chart via helm.local, override images added as additionalImages - oc-mirror generates IDMS, patched with cross-registry entries for both quay.io and registry.redhat.io hub image sources - Chart installed from local tgz in oc-mirror workspace Operator path uses prepare-restricted-environment.sh from rhdh-operator for operator+operand mirroring and installation (documented approach). Both paths share: - Auth setup (REGISTRY_AUTH_FILE + XDG_RUNTIME_DIR/containers/auth.json) - Plugin mirroring via mirror-plugins.sh with registries.conf covering registry.access.redhat.com/rhdh, quay.io/rhdh, and ghcr.io/redhat-developer/rhdh-plugin-export-overlays (6 CI plugins) - Helm overrides for registries.conf volume mount (avoids array clobber) - CATALOG_INDEX_IMAGE override support for CI build verification Dispatcher routing in openshift-ci-tests.sh for *ocp*disconnected*helm*nightly* and *ocp*disconnected*operator*nightly* patterns, positioned before generic *ocp*helm*nightly* to prevent false matches. Assisted-by: OpenCode
|
|
/test e2e-ocp-disconnected-helm-nightly |
|
/test e2e-ocp-disconnected-operator-nightly |
|
@zdrapela: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |



Add end-to-end disconnected CI pipeline handlers that mirror RHDH images, operator, and dynamic plugins to an isolated mirror registry, deploy via Helm or Operator, and run a Playwright smoke test.
Changes
Shared library (
lib/disconnected.sh)disconnected::require_env— validates DISCONNECTED, MIRROR_REGISTRY_* env varsdisconnected::fetch_script— downloads scripts from rhdh-operatordisconnected::mirror_image— skopeo copy with --dest-cert-dirHelm handler (
jobs/ocp-disconnected-helm.sh)mirror-plugins.shfrom rhdh-operatorquay.ioandregistry.redhat.iosourcesCATALOG_INDEX_IMAGEoverride for CI build verificationOperator handler (
jobs/ocp-disconnected-operator.sh)prepare-restricted-environment.shmirror-plugins.shextraFilesconfigMap for registries.conf mountCATALOG_INDEX_IMAGEoverride for CI build verificationResource templates (
resources/disconnected/)idms-mirror.yaml— IDMS with entries for both quay.io and registry.redhat.io hub image sourcesplugin-mirror-configmap.yaml— registries.conf covering registry.access.redhat.com/rhdh, quay.io/rhdh, and ghcr.io/redhat-developer/rhdh-plugin-export-overlays (6 CI catalog plugins)helm-overrides.yaml— Helm values for registries.conf volume mount (avoids array clobber)Dispatcher
*ocp*disconnected*helm*nightly*and*ocp*disconnected*operator*nightly*before generic patternsCompanion PR
openshift/release#81128 — step-registry changes (commands.sh, ref.yaml) to align CATALOG_INDEX_IMAGE as a single Gangway override parameter.