@@ -38,14 +38,14 @@ steps:
38
38
pwd
39
39
kubectl cluster-info
40
40
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
42
42
echo "deploy Cilium ConfigMap"
43
43
kubectl apply -f cilium/configmap.yaml
44
44
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 }"
46
46
# 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 -
49
49
# Use different file directories for nightly and current cilium version
50
50
kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-agent
51
51
kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-operator
@@ -55,11 +55,11 @@ steps:
55
55
56
56
- script : |
57
57
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
59
59
echo "Cilium Agent Version ${BASH_REMATCH[0]}"
60
60
CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/main/stable-v0.14.txt)
61
61
else
62
- echo "Cilium Agent Version ${CILIUM_VERSION_TAG }"
62
+ echo "Cilium Agent Version ${CILIUM_VERSION_TAG_V1_4 }"
63
63
CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/master/stable.txt)
64
64
fi
65
65
CLI_ARCH=amd64
83
83
cd ../../../..
84
84
kubectl get po -owide -A
85
85
# 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" ]
87
87
then
88
88
CNS=$(CNS_VERSION) CNI=$(CNI_VERSION) && echo "Running nightly"
89
89
else
@@ -136,7 +136,7 @@ steps:
136
136
# Deleting echo-external-node deployment until cilium version matches TODO. https://github.com/cilium/cilium-cli/issues/67 is addressing the change.
137
137
# Saves 17 minutes
138
138
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
140
140
echo "Check cilium identities in cilium-test namepsace during nightly run"
141
141
echo "expect the identities to be deleted when the namespace is deleted"
142
142
kubectl get ciliumidentity | grep cilium-test
@@ -150,7 +150,7 @@ steps:
150
150
displayName: "Validate Pods"
151
151
152
152
- script : |
153
- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]; then
153
+ if [ "$CILIUM_VERSION_TAG_V1_4 " = "cilium-nightly-pipeline" ]; then
154
154
kubectl get pod -owide -n cilium-test
155
155
echo "wait for pod and cilium identity deletion in cilium-test namespace"
156
156
ns="cilium-test"
0 commit comments