Skip to content

Commit 677d88f

Browse files
committed
update to only use parameter.upgradeScenario and remove
1 parent 50f0679 commit 677d88f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pipelines/cni/cilium/cilium-overlay-load-test-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ stages:
124124
envsubst '${CILIUM_VERSION_TAG},${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/v${DIR}/cilium-operator/templates/deployment.yaml | kubectl apply -f -
125125
kubectl get po -owide -A
126126
127-
if [ "$UPGRADE_SCENARIO" = "true" ]
127+
if [ ${{parameters.upgradeScenario}} = "true" ]
128128
then
129129
echo "Upgrade scenario is true, using upgrade azure ipam and cns version from pipeline variables"
130130
IPAM=$(UPGRADE_AZURE_IPAM_VERSION)
@@ -186,7 +186,7 @@ stages:
186186
envsubst '${CILIUM_IMAGE_REGISTRY},${CILIUM_VERSION_TAG}' < test/integration/manifests/cilium/v${DIR}/cilium-operator/templates/deployment.yaml | kubectl apply -f -
187187
kubectl get po -owide -A
188188
189-
if [ "$UPGRADE_SCENARIO" = "true" ]
189+
if [ ${{parameters.upgradeScenario}} = "true" ]
190190
then
191191
echo "Upgrade scenario is true, using upgrade azure ipam and cns version from pipeline variables"
192192
IPAM=$(UPGRADE_AZURE_IPAM_VERSION)

.pipelines/cni/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ stages:
415415
upgradeScenario: false
416416

417417

418-
## If upgrade_scenario is set, redeploy new IPAM version to existing clusters and run tests
418+
## If upgradeScenario is set, redeploy new IPAM version to existing clusters and run tests
419419
- ${{if eq(parameters.upgradeScenario, true)}}:
420420
- template: cilium/cilium-overlay-load-test-template.yaml
421421
parameters:

0 commit comments

Comments
 (0)