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 @@ -23,24 +23,32 @@ images:
source_path: /usr/bin/oc
to: azure-test-image
- build_args:
- name: build_target
value: operator
- name: build_type
value: release
dockerfile_path: Containerfile
to: operator
- build_args:
- name: build_target
value: compute-pcrs
- name: build_type
value: release
dockerfile_path: compute-pcrs/Containerfile
dockerfile_path: Containerfile
to: compute-pcrs
- build_args:
- name: build_target
value: register-server
- name: build_type
value: release
dockerfile_path: register-server/Containerfile
dockerfile_path: Containerfile
to: register-server
- build_args:
- name: build_target
value: attestation-key-register
- name: build_type
value: release
dockerfile_path: attestation-key-register/Containerfile
dockerfile_path: Containerfile
to: attestation-key-register
releases:
latest:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ presubmits:
decoration_config:
sparse_checkout_files:
- Containerfile
- attestation-key-register/Containerfile
- compute-pcrs/Containerfile
- register-server/Containerfile
labels:
ci-operator.openshift.io/variant: azure
ci.openshift.io/generator: prowgen
Expand Down Expand Up @@ -73,9 +70,6 @@ presubmits:
decoration_config:
sparse_checkout_files:
- Containerfile
- attestation-key-register/Containerfile
- compute-pcrs/Containerfile
- register-server/Containerfile
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: openshift-org-aws
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 dbg-dns

# 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