From d75996553a15755c75a95290715dc5a472838de4 Mon Sep 17 00:00:00 2001 From: Watson Yuuma Sato Date: Mon, 22 Jun 2026 12:37:31 +0200 Subject: [PATCH] Use content image from PR to test rules Let's use a content image built from the PR, rather than the default image: quay.io/redhat-user-workloads/ocp-isc-tenant/compliance-operator-content-dev:master --- .../content/ComplianceAsCode-content-master.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml b/ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml index e49fb098a5646..6584e0177a0d7 100644 --- a/ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml +++ b/ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml @@ -102,7 +102,10 @@ tests: git clone https://github.com/ComplianceAsCode/ocp4e2e.git ocp4e2e pushd ocp4e2e; make install-jq INSTALL_OPERATOR=${INSTALL_OPERATOR:-true} - PATH=$PATH:/tmp/bin go test -v -timeout 240m . -run=^TestPlatformCompliance$ -install-operator=${INSTALL_OPERATOR} -test-type="platform" -content-directory="$CONTENT_DIRECTORY" + PATH=$PATH:/tmp/bin go test -v -timeout 240m . -run=^TestPlatformCompliance$ -install-operator=${INSTALL_OPERATOR} -test-type="platform" -content-image="$CONTENT_IMAGE" -content-directory="$CONTENT_DIRECTORY" + dependencies: + - env: CONTENT_IMAGE + name: ocp4-content-ds from: src resources: requests: @@ -128,7 +131,10 @@ tests: git clone https://github.com/ComplianceAsCode/ocp4e2e.git ocp4e2e pushd ocp4e2e; make install-jq INSTALL_OPERATOR=${INSTALL_OPERATOR:-true} - PATH=$PATH:/tmp/bin go test -v -timeout 240m . -run=^TestNodeCompliance$ -install-operator=${INSTALL_OPERATOR} -test-type="node" -content-directory="$CONTENT_DIRECTORY" + PATH=$PATH:/tmp/bin go test -v -timeout 240m . -run=^TestNodeCompliance$ -install-operator=${INSTALL_OPERATOR} -test-type="node" -content-image="$CONTENT_IMAGE" -content-directory="$CONTENT_DIRECTORY" + dependencies: + - env: CONTENT_IMAGE + name: ocp4-content-ds from: src resources: requests: