@@ -41,29 +41,29 @@ steps:
41
41
pwd
42
42
kubectl cluster-info
43
43
kubectl get po -owide -A
44
- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]; then
44
+ if [ "$CILIUM_VERSION_TAG_V1_5 " = "cilium-nightly-pipeline" ]; then
45
45
FILE_PATH=-nightly
46
46
echo "Running nightly"
47
47
echo "deploy Cilium ConfigMap"
48
48
kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-config.yaml
49
49
# Passes Cilium image to daemonset and deployment
50
- envsubst '${CILIUM_VERSION_TAG },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/daemonset.yaml | kubectl apply -f -
51
- envsubst '${CILIUM_VERSION_TAG },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/deployment.yaml | kubectl apply -f -
50
+ envsubst '${CILIUM_VERSION_TAG_V1_5 },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/daemonset.yaml | kubectl apply -f -
51
+ envsubst '${CILIUM_VERSION_TAG_V1_5 },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/deployment.yaml | kubectl apply -f -
52
52
# Use different file directories for nightly and current cilium version
53
53
kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-agent
54
54
kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-operator
55
55
else
56
- echo "install Cilium ${CILIUM_VERSION_TAG }"
57
- export DIR=${CILIUM_VERSION_TAG%.*}
56
+ echo "install Cilium ${CILIUM_VERSION_TAG_V1_5 }"
57
+ export DIR=$(echo ${CILIUM_VERSION_TAG_V1_5#v} | cut -d. -f1,2)
58
58
echo "installing files from ${DIR}"
59
59
echo "deploy Cilium ConfigMap"
60
60
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config.yaml
61
61
# Passes Cilium image to daemonset and deployment
62
62
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-agent/files
63
63
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-operator/files
64
64
65
- envsubst '${CILIUM_VERSION_TAG },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/v${DIR}/cilium-agent/templates/daemonset.yaml | kubectl apply -f -
66
- envsubst '${CILIUM_VERSION_TAG },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/v${DIR}/cilium-operator/templates/deployment.yaml | kubectl apply -f -
65
+ envsubst '${CILIUM_VERSION_TAG_V1_5 },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/v${DIR}/cilium-agent/templates/daemonset.yaml | kubectl apply -f -
66
+ envsubst '${CILIUM_VERSION_TAG_V1_5 },${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/v${DIR}/cilium-operator/templates/deployment.yaml | kubectl apply -f -
67
67
fi
68
68
69
69
kubectl get po -owide -A
74
74
75
75
- script : |
76
76
echo "Start Azilium E2E Tests on Overlay Cluster"
77
- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]
77
+ if [ "$CILIUM_VERSION_TAG_V1_5 " = "cilium-nightly-pipeline" ]
78
78
then
79
79
CNS=$(CNS_VERSION) IPAM=$(AZURE_IPAM_VERSION) && echo "Running nightly"
80
80
else
@@ -134,7 +134,7 @@ steps:
134
134
- script : |
135
135
echo "Run Cilium Connectivity Tests"
136
136
cilium status
137
- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]
137
+ if [ "$CILIUM_VERSION_TAG_V1_5 " = "cilium-nightly-pipeline" ]
138
138
then
139
139
cilium connectivity test --connect-timeout 4s --request-timeout 30s --test '!pod-to-pod-encryption,!node-to-node-encryption,!check-log-errors'
140
140
else
@@ -165,7 +165,7 @@ steps:
165
165
# Deleting echo-external-node deployment until cilium version matches TODO. https://github.com/cilium/cilium-cli/issues/67 is addressing the change.
166
166
# Saves 17 minutes
167
167
kubectl delete deploy -n cilium-test echo-external-node
168
- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]; then
168
+ if [ "$CILIUM_VERSION_TAG_V1_5 " = "cilium-nightly-pipeline" ]; then
169
169
echo "Check cilium identities in cilium-test namepsace during nightly run"
170
170
echo "expect the identities to be deleted when the namespace is deleted"
171
171
kubectl get ciliumidentity | grep cilium-test
@@ -179,7 +179,7 @@ steps:
179
179
displayName: "Validate Pods"
180
180
181
181
- script : |
182
- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]; then
182
+ if [ "$CILIUM_VERSION_TAG_V1_5 " = "cilium-nightly-pipeline" ]; then
183
183
kubectl get pod -owide -n cilium-test
184
184
echo "wait for pod and cilium identity deletion in cilium-test namespace"
185
185
ns="cilium-test"
@@ -226,7 +226,7 @@ steps:
226
226
displayName: "Run Wireserver and Metadata Connectivity Tests"
227
227
228
228
- script : |
229
- if [ "$CILIUM_VERSION_TAG " = "cilium-nightly-pipeline" ]; then
229
+ if [ "$CILIUM_VERSION_TAG_V1_5 " = "cilium-nightly-pipeline" ]; then
230
230
echo "Running nightly, skip async delete test"
231
231
else
232
232
cd hack/scripts
0 commit comments