@@ -38,14 +38,14 @@ steps:
3838 pwd
3939 kubectl cluster-info
4040 kubectl get po -owide -A
41- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]; then FILE_PATH=-nightly && echo "Running nightly"; fi
41+ if [ "$CILIUM_VERSION_TAG_V1.4 " = "cilium-nightly-pipeline" ]; then FILE_PATH=-nightly && echo "Running nightly"; fi
4242 echo "deploy Cilium ConfigMap"
4343 kubectl apply -f cilium/configmap.yaml
4444 kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-config.yaml
45- echo "install Cilium ${CILIUM_VERSION_TAG }"
45+ echo "install Cilium ${CILIUM_VERSION_TAG_V1.4 }"
4646 # Passes Cilium image to daemonset and deployment
47- envsubst '${CILIUM_VERSION_TAG },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/daemonset.yaml | kubectl apply -f -
48- envsubst '${CILIUM_VERSION_TAG },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/deployment.yaml | kubectl apply -f -
47+ envsubst '${CILIUM_VERSION_TAG_V1.4 },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/daemonset.yaml | kubectl apply -f -
48+ envsubst '${CILIUM_VERSION_TAG_V1.4 },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/deployment.yaml | kubectl apply -f -
4949 # Use different file directories for nightly and current cilium version
5050 kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-agent
5151 kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-operator
@@ -55,11 +55,11 @@ steps:
5555
5656 - script : |
5757 echo "install cilium CLI"
58- if [[ ${CILIUM_VERSION_TAG } =~ ^1.1[1-3].[0-9]{1,2} ]]; then
58+ if [[ ${CILIUM_VERSION_TAG_V1.4 } =~ ^1.1[1-3].[0-9]{1,2} ]]; then
5959 echo "Cilium Agent Version ${BASH_REMATCH[0]}"
6060 CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/main/stable-v0.14.txt)
6161 else
62- echo "Cilium Agent Version ${CILIUM_VERSION_TAG }"
62+ echo "Cilium Agent Version ${CILIUM_VERSION_TAG_V1.4 }"
6363 CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/master/stable.txt)
6464 fi
6565 CLI_ARCH=amd64
8383 cd ../../../..
8484 kubectl get po -owide -A
8585 # Nightly does not build images per commit. Will use existing image.
86- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]
86+ if [ "$CILIUM_VERSION_TAG_V1.4 " = "cilium-nightly-pipeline" ]
8787 then
8888 CNS=$(CNS_VERSION) CNI=$(CNI_VERSION) && echo "Running nightly"
8989 else
@@ -136,7 +136,7 @@ steps:
136136 # Deleting echo-external-node deployment until cilium version matches TODO. https://github.com/cilium/cilium-cli/issues/67 is addressing the change.
137137 # Saves 17 minutes
138138 kubectl delete deploy -n cilium-test echo-external-node
139- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]; then
139+ if [ "$CILIUM_VERSION_TAG_V1.4 " = "cilium-nightly-pipeline" ]; then
140140 echo "Check cilium identities in cilium-test namepsace during nightly run"
141141 echo "expect the identities to be deleted when the namespace is deleted"
142142 kubectl get ciliumidentity | grep cilium-test
@@ -150,7 +150,7 @@ steps:
150150 displayName: "Validate Pods"
151151
152152 - script : |
153- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]; then
153+ if [ "$CILIUM_VERSION_TAG_V1.4 " = "cilium-nightly-pipeline" ]; then
154154 kubectl get pod -owide -n cilium-test
155155 echo "wait for pod and cilium identity deletion in cilium-test namespace"
156156 ns="cilium-test"
0 commit comments