Skip to content

Commit

Permalink
Exclude Unsupported Func-Test Images for s390x (#3463)
Browse files Browse the repository at this point in the history
* exclude unsupported test images

Signed-off-by: Thomas-David Griedel <[email protected]>

* switch to env-var

Signed-off-by: Thomas-David Griedel <[email protected]>

---------

Signed-off-by: Thomas-David Griedel <[email protected]>
  • Loading branch information
Davo911 authored Oct 29, 2024
1 parent 495b44a commit e4bc183
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions cluster-sync/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,15 @@ if [ "${CDI_SYNC}" == "test-infra" ]; then
_kubectl apply -f "./_out/manifests/test-proxy.yaml"
_kubectl apply -f "./_out/manifests/sample-populator.yaml"
_kubectl apply -f "./_out/manifests/uploadproxy-nodeport.yaml"
# Imageio test service:
_kubectl apply -f "./_out/manifests/imageio.yaml"
# vCenter (VDDK) test service:
_kubectl apply -f "./_out/manifests/vcenter.yaml"

# Disable unsupported functest images for s390x
if [ "${ARCHITECTURE}" != "s390x" ]; then
# Imageio test service:
_kubectl apply -f "./_out/manifests/imageio.yaml"
# vCenter (VDDK) test service:
_kubectl apply -f "./_out/manifests/vcenter.yaml"
fi

if _kubectl get crd securitycontextconstraints.security.openshift.io >/dev/null 2>&1; then
_kubectl apply -f "./_out/manifests/cdi-testing-scc.yaml"
fi
Expand Down

0 comments on commit e4bc183

Please sign in to comment.