Skip to content

Commit 3658951

Browse files
authored
ci:[CNI] Windows datapath using k8se2e template (#2041)
* Initial Commit * Expensive Datapath * Tarball Datapath * Templatize * Add networking conformance tests
1 parent 02311fd commit 3658951

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

.pipelines/cni/singletenancy/windows-cni-load-test-template.yaml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ parameters:
1111

1212
stages:
1313
- stage: createAKSclusterWindows
14+
pool:
15+
name: $(BUILD_POOL_NAME_DEFAULT)
1416
dependsOn: ${{ parameters.dependsOn }}
1517
displayName: "Windows AKS Cluster ${{ parameters.cni }}"
1618
jobs:
@@ -24,6 +26,8 @@ stages:
2426
vmSize: ${{ parameters.vmSize }}
2527
windowsVMSize: ${{ parameters.windowsVMSize }}
2628
- stage: build_images
29+
pool:
30+
name: $(BUILD_POOL_NAME_DEFAULT)
2731
dependsOn: ${{ parameters.dependsOn }}
2832
displayName: "Build CNI Images"
2933
jobs:
@@ -45,7 +49,9 @@ stages:
4549
os: $(os)
4650
os_version: $(os_version)
4751
- stage: update_cni
48-
dependsOn:
52+
pool:
53+
name: $(BUILD_POOL_NAME_DEFAULT)
54+
dependsOn:
4955
- createAKSclusterWindows
5056
- build_images
5157
displayName: "Update CNI on Cluster"
@@ -80,8 +86,27 @@ stages:
8086
kubectl get pods -A
8187
name: "WaitForCNI"
8288
displayName: "Wait For CNI"
83-
- stage: pod_deployment_windows
89+
- stage: datapath_tests
90+
pool:
91+
name: $(BUILD_POOL_NAME_DEFAULT)
8492
dependsOn: update_cni
93+
displayName: "Datapath Test - Windows"
94+
jobs:
95+
- template: ../k8s-e2e/k8s-e2e-job-template.yaml
96+
parameters:
97+
sub: $(TEST_SUB_SERVICE_CONNECTION)
98+
clusterName: ${{ parameters.clusterName }}
99+
os: ${{ parameters.os }}
100+
datapath: true
101+
dns: true
102+
portforward: true
103+
hybridWin: true
104+
service: true
105+
hostport: true
106+
- stage: pod_deployment_windows
107+
pool:
108+
name: $(BUILD_POOL_NAME_DEFAULT)
109+
dependsOn: datapath_tests
85110
displayName: "Pod Deployment"
86111
jobs:
87112
- job: deploy_pods
@@ -94,6 +119,8 @@ stages:
94119
cni: ${{ parameters.cni }}
95120
iterations: ${WINDOWS_ITERATIONS}
96121
- stage: validate_state_windows
122+
pool:
123+
name: $(BUILD_POOL_NAME_DEFAULT)
97124
dependsOn: pod_deployment_windows
98125
displayName: "Validate State"
99126
jobs:
@@ -105,6 +132,8 @@ stages:
105132
os: ${{ parameters.os }}
106133
cni: ${{ parameters.cni }}
107134
- stage: delete_resources
135+
pool:
136+
name: $(BUILD_POOL_NAME_DEFAULT)
108137
displayName: "Delete Resources"
109138
dependsOn:
110139
- validate_state_windows

0 commit comments

Comments
 (0)