diff --git a/automation/ceph-wffc.sh b/automation/ceph-wffc.sh index aaa9e104f5..7df02525d3 100755 --- a/automation/ceph-wffc.sh +++ b/automation/ceph-wffc.sh @@ -23,7 +23,6 @@ export TARGET=k8s-1.32 export RANDOM_CR=true export KUBEVIRT_STORAGE=rook-ceph-default export CEPH_WFFC=true -export CDI_E2E_SKIP=Destructive export SNAPSHOT_SC=rook-ceph-block-wffc export BLOCK_SC=rook-ceph-block-wffc export CSICLONE_SC=rook-ceph-block-wffc diff --git a/automation/ceph.sh b/automation/ceph.sh index cdc35a5110..3c5ccc24b8 100755 --- a/automation/ceph.sh +++ b/automation/ceph.sh @@ -22,5 +22,4 @@ export TARGET=k8s-1.32 #ensure no hard coded cdi cr in tests. export RANDOM_CR=true export KUBEVIRT_STORAGE=rook-ceph-default -export CDI_E2E_SKIP=Destructive automation/test.sh diff --git a/automation/destructive.sh b/automation/destructive.sh index 11deb97bc0..721b239a34 100755 --- a/automation/destructive.sh +++ b/automation/destructive.sh @@ -21,5 +21,5 @@ set -ex export TARGET=k8s-1.33 export KUBEVIRT_STORAGE=hpp export KUBEVIRT_DEPLOY_PROMETHEUS=true -export CDI_E2E_FOCUS=Destructive +export CDI_LABEL_FILTER=Destructive automation/test.sh diff --git a/automation/istio.sh b/automation/istio.sh index 0f4d631f39..478cbeef6e 100755 --- a/automation/istio.sh +++ b/automation/istio.sh @@ -20,6 +20,5 @@ set -ex export TARGET=k8s-1.33 export KUBEVIRT_STORAGE=hpp -export CDI_E2E_SKIP=Destructive export KUBEVIRT_DEPLOY_ISTIO=true automation/test.sh diff --git a/automation/latest-hpp.sh b/automation/latest-hpp.sh index 24c43344b7..288d2b7ed4 100755 --- a/automation/latest-hpp.sh +++ b/automation/latest-hpp.sh @@ -20,5 +20,4 @@ set -ex export TARGET=k8s-1.33 export KUBEVIRT_STORAGE=hpp -export CDI_E2E_SKIP=Destructive automation/test.sh diff --git a/automation/nfs.sh b/automation/nfs.sh index 7ab9365e74..2eda0b3d0f 100755 --- a/automation/nfs.sh +++ b/automation/nfs.sh @@ -22,5 +22,4 @@ export TARGET=k8s-1.33 export KUBEVIRT_DEPLOY_NFS_CSI=true export KUBEVIRT_STORAGE=nfs export KUBEVIRT_NFS_DIR=${KUBEVIRT_NFS_DIR:-/var/lib/containers/nfs-data} -export CDI_E2E_SKIP=Destructive automation/test.sh diff --git a/automation/non-csi-hpp.sh b/automation/non-csi-hpp.sh index fe2de5d123..7c03491633 100755 --- a/automation/non-csi-hpp.sh +++ b/automation/non-csi-hpp.sh @@ -21,5 +21,4 @@ set -ex export TARGET=k8s-1.33 export KUBEVIRT_STORAGE=hpp export HPP_CLASSIC=true -export CDI_E2E_SKIP=Destructive automation/test.sh diff --git a/automation/previous-hpp.sh b/automation/previous-hpp.sh index d0f8e1717d..2c49284651 100755 --- a/automation/previous-hpp.sh +++ b/automation/previous-hpp.sh @@ -21,5 +21,4 @@ set -ex export TARGET=k8s-1.32 export KUBEVIRT_STORAGE=hpp export KUBEVIRT_DEPLOY_PROMETHEUS=true -export CDI_E2E_SKIP=Destructive automation/test.sh diff --git a/automation/test.sh b/automation/test.sh index 3a9e2f8782..ac0b42ded3 100755 --- a/automation/test.sh +++ b/automation/test.sh @@ -76,6 +76,9 @@ kubectl() { cluster-up/kubectl.sh "$@"; } export CDI_NAMESPACE="${CDI_NAMESPACE:-cdi}" +# Skip destructive tests by default +export CDI_LABEL_FILTER="${CDI_LABEL_FILTER:-!Destructive}" + make cluster-down # Create .bazelrc to use remote cache cat >ci.bazelrc <