Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)" \
Expand All @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down