Skip to content

Commit 00b0237

Browse files
committed
skip extra create cluster
1 parent 3fd6117 commit 00b0237

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.pipelines/cni/pipeline.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ stages:
610610
scaleup: ${SCALEUP_WIN}
611611
iterations: ${ITERATIONS_WIN}
612612
upgradeScenario: true
613+
dependsOn: windows_podsubnet_HNS
613614

614615
- template: singletenancy/cniv2-template.yaml
615616
parameters:
@@ -627,6 +628,7 @@ stages:
627628
scaleup: ${SCALEUP_WIN}
628629
iterations: ${ITERATIONS_WIN}
629630
upgradeScenario: true
631+
dependsOn: windows_overlay_HNS
630632

631633
- stage: delete_resources
632634
displayName: "Delete Resources"
@@ -670,6 +672,8 @@ stages:
670672
- rdma_linux_overlay_upgrade
671673
- windows_podsubnet_upgrade
672674
- windows_overlay_upgrade
675+
- windows_podsubnet_upgrade_HNS
676+
- windows_overlay_upgrade_HNS
673677
variables:
674678
commitID: $[ stagedependencies.setup.env.outputs['SetEnvVars.commitID'] ]
675679
jobs:

.pipelines/cni/singletenancy/cniv2-template.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ stages:
6262
# Condition confirms that:
6363
# Previous job has reported Succeeded. Previous job is currently setup which controls variable assignment and we are dependent on its success.
6464
# CONTROL_OS either contains 'windows' or 'all' and CONTROL_CNI either contains 'cniv2' or 'all'. Both must be true and are not case sensitive
65-
- ${{ if eq(parameters.os, 'windows') }}:
65+
- ${{ if and(eq(parameters.os, 'windows'), eq(parameters.upgradeScenario, false)) }}:
6666
- stage: create_${{ parameters.name }}
6767
condition: and( succeeded(), and( or( contains(variables.CONTROL_CNI, 'cniv2'), contains(variables.CONTROL_CNI, 'all') ), or( contains(variables.CONTROL_OS, 'windows'), contains(variables.CONTROL_OS, 'all') ) ) )
6868
variables:
@@ -367,7 +367,10 @@ stages:
367367
dependsOn:
368368
- ${{ parameters.name }}
369369
- setup
370-
displayName: "HNS Test - ${{ parameters.clusterName }}"
370+
${{ if eq(parameters.upgradeScenario, true) }}:
371+
displayName: "HNS Test w/ Upgrade - ${{ parameters.name }}"
372+
${{ else }}:
373+
displayName: "HNS Test - ${{ parameters.name }}"
371374
jobs:
372375
- job: restart_hns
373376
displayName: "Restart and Validate HNS"

test/integration/manifests/cilium/v1.17/cilium-config/cilium-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ data:
7070
tofqdns-max-deferred-connection-deletes: "10000"
7171
tofqdns-min-ttl: "0"
7272
tofqdns-proxy-response-max-delay: 100ms
73-
routing-mode: tunnel
73+
routing-mode: native
7474
unmanaged-pod-watcher-interval: "15"
7575
vtep-cidr: ""
7676
vtep-endpoint: ""

0 commit comments

Comments
 (0)