Skip to content

Commit 7e8b45f

Browse files
authored
ci: skip async delete for nightly pipeline (#2765)
* skip async delete in nightly pipeline since we use hard version of azure-ipam * update spacing * address comment
1 parent 3e10379 commit 7e8b45f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.pipelines/singletenancy/cilium-overlay/cilium-overlay-e2e-step-template.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,15 @@ steps:
188188
displayName: "Run Wireserver and Metadata Connectivity Tests"
189189
190190
- script: |
191-
cd hack/scripts
192-
chmod +x async-delete-test.sh
193-
./async-delete-test.sh
194-
if ! [ -z $(kubectl -n kube-system get ds azure-cns | grep non-existing) ]; then
195-
kubectl -n kube-system patch daemonset azure-cns --type json -p='[{"op": "remove", "path": "/spec/template/spec/nodeSelector/non-existing"}]'
191+
if [ "$CILIUM_VERSION_TAG" = "cilium-nightly-pipeline" ]; then
192+
echo "Running nightly, skip async delete test"
193+
else
194+
cd hack/scripts
195+
chmod +x async-delete-test.sh
196+
./async-delete-test.sh
197+
if ! [ -z $(kubectl -n kube-system get ds azure-cns | grep non-existing) ]; then
198+
kubectl -n kube-system patch daemonset azure-cns --type json -p='[{"op": "remove", "path": "/spec/template/spec/nodeSelector/non-existing"}]'
199+
fi
196200
fi
197201
name: "testAsyncDelete"
198202
displayName: "Verify Async Delete when CNS is down"

0 commit comments

Comments
 (0)