From f2e27ed54c08e3876155ff59f9f1c8104622487f Mon Sep 17 00:00:00 2001 From: Jakob Naucke Date: Thu, 30 Jul 2026 12:00:50 +0200 Subject: [PATCH] trusted-execution-clusters: Enable full suite Following up on #79393. Debug first. Signed-off-by: Jakob Naucke --- ...ecution-clusters-operator-main__azure.yaml | 20 ------------------- ...ers-ref-azure-integration-test-commands.sh | 20 ++++++++++++++----- ...usters-ref-azure-integration-test-ref.yaml | 9 --------- 3 files changed, 15 insertions(+), 34 deletions(-) diff --git a/ci-operator/config/trusted-execution-clusters/operator/trusted-execution-clusters-operator-main__azure.yaml b/ci-operator/config/trusted-execution-clusters/operator/trusted-execution-clusters-operator-main__azure.yaml index 3f076807168fe..9f8501f04d5ae 100644 --- a/ci-operator/config/trusted-execution-clusters/operator/trusted-execution-clusters-operator-main__azure.yaml +++ b/ci-operator/config/trusted-execution-clusters/operator/trusted-execution-clusters-operator-main__azure.yaml @@ -22,26 +22,6 @@ images: - destination_dir: . source_path: /usr/bin/oc to: azure-test-image - - build_args: - - name: build_type - value: release - dockerfile_path: Containerfile - to: operator - - build_args: - - name: build_type - value: release - dockerfile_path: compute-pcrs/Containerfile - to: compute-pcrs - - build_args: - - name: build_type - value: release - dockerfile_path: register-server/Containerfile - to: register-server - - build_args: - - name: build_type - value: release - dockerfile_path: attestation-key-register/Containerfile - to: attestation-key-register releases: latest: candidate: diff --git a/ci-operator/step-registry/trusted-execution-clusters/ref/azure-integration-test/trusted-execution-clusters-ref-azure-integration-test-commands.sh b/ci-operator/step-registry/trusted-execution-clusters/ref/azure-integration-test/trusted-execution-clusters-ref-azure-integration-test-commands.sh index eb38cad963f47..4d22715f7ed05 100755 --- a/ci-operator/step-registry/trusted-execution-clusters/ref/azure-integration-test/trusted-execution-clusters-ref-azure-integration-test-commands.sh +++ b/ci-operator/step-registry/trusted-execution-clusters/ref/azure-integration-test/trusted-execution-clusters-ref-azure-integration-test-commands.sh @@ -16,7 +16,8 @@ export AZURE_SUBSCRIPTION_ID TEST_IMAGE TEST_NAMESPACE_PREFIX export VIRT_PROVIDER=azure export PLATFORM=openshift -export TEST_TIMEOUT_MULTIPLIER=2 +# Lowest timeout is 1 minute, allow for one read timeout (5 minutes) retry +export TEST_TIMEOUT_MULTIPLIER=6 az login --service-principal \ -u "$(cat /tmp/secrets/azure/client-id)" \ @@ -25,11 +26,20 @@ az login --service-principal \ eval "$(ssh-agent -s)" +git remote add test https://github.com/Jakob-Naucke/trusted-cluster-operator +git fetch test +git switch get-cached-ci + +export REGISTRY=quay.io/jnaucke +export TAG=20260819-85dcabf +export INTEGRATION_TEST_THREADS=2 + echo "[INFO] Install cert-manager" CRT_MGR_VERSION=$(go list -m -f '{{.Version}}' github.com/cert-manager/cert-manager) oc apply -f "https://github.com/cert-manager/cert-manager/releases/download/${CRT_MGR_VERSION}/cert-manager.yaml" -# TODO stabilize tests enough to be able to add more -echo "[INFO] Running basic attestation test..." -sed -i '/^attestation-tests:/{n;s/$/ test_attestation/}' Makefile -make attestation-tests +echo "[INFO] Running integration tests until failure..." +while make integration-tests +do : +done +exit 1 diff --git a/ci-operator/step-registry/trusted-execution-clusters/ref/azure-integration-test/trusted-execution-clusters-ref-azure-integration-test-ref.yaml b/ci-operator/step-registry/trusted-execution-clusters/ref/azure-integration-test/trusted-execution-clusters-ref-azure-integration-test-ref.yaml index 9a3273ed2de15..70ef444b34749 100644 --- a/ci-operator/step-registry/trusted-execution-clusters/ref/azure-integration-test/trusted-execution-clusters-ref-azure-integration-test-ref.yaml +++ b/ci-operator/step-registry/trusted-execution-clusters/ref/azure-integration-test/trusted-execution-clusters-ref-azure-integration-test-ref.yaml @@ -2,15 +2,6 @@ ref: as: trusted-execution-clusters-ref-azure-integration-test from: azure-test-image commands: trusted-execution-clusters-ref-azure-integration-test-commands.sh - dependencies: - - name: operator - env: OPERATOR_IMAGE - - name: compute-pcrs - env: RELATED_IMAGE_COMPUTE_PCRS - - name: register-server - env: RELATED_IMAGE_REGISTRATION_SERVER - - name: attestation-key-register - env: RELATED_IMAGE_ATTESTATION_KEY_REGISTER credentials: - namespace: test-credentials name: trusted-execution-clusters-azure