From a300b6b9a9c56d938cae66e02d972f8fe7104f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Wed, 30 Jul 2025 09:22:22 +0200 Subject: [PATCH] ci.ocp: Allow to set operator/caa commits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this can help reproducing or bisecting issues related to operator/caa versions. Signed-off-by: Lukáš Doktor --- ci/openshift-ci/peer-pods-azure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/openshift-ci/peer-pods-azure.sh b/ci/openshift-ci/peer-pods-azure.sh index 8177db609f..f7ba6edb23 100755 --- a/ci/openshift-ci/peer-pods-azure.sh +++ b/ci/openshift-ci/peer-pods-azure.sh @@ -137,7 +137,7 @@ echo "CAA_TAG: \"${CAA_TAG}\"" echo "PP_IMAGE_ID: \"${PP_IMAGE_ID}\"" # Clone and configure caa -git clone --depth 1 --no-checkout https://github.com/confidential-containers/cloud-api-adaptor.git +git clone --revision "${CAA_GIT_SHA:-main}" --depth 1 --no-checkout https://github.com/confidential-containers/cloud-api-adaptor.git pushd cloud-api-adaptor git sparse-checkout init --cone git sparse-checkout set src/cloud-api-adaptor/install/ @@ -208,7 +208,7 @@ echo "AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET}" >> install/overlays/azure/serv echo "AZURE_TENANT_ID=${AZURE_TENANT_ID}" >> install/overlays/azure/service-principal.env # Deploy Operator -git clone --depth 1 --no-checkout https://github.com/confidential-containers/operator +git clone --revision "${OPERATOR_SHA:-main}" --depth 1 --no-checkout https://github.com/confidential-containers/operator pushd operator git sparse-checkout init --cone git sparse-checkout set "config/"