Skip to content

Commit 1a38ce0

Browse files
authored
ci: Updating k8s test suite for NPM to latest (#2707)
* test: latest k8s test suite * ci: Update test suite
1 parent f08fcc9 commit 1a38ce0

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.pipelines/cni/pipeline.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ stages:
117117
displayName: "Build k8s NPM Linux Test Suite Binary"
118118
steps:
119119
- bash: |
120-
git clone https://github.com/huntergregory/kubernetes.git --depth=1 --branch=linux-long-sleep
120+
git clone https://github.com/kubernetes/kubernetes.git --depth=1
121121
cd kubernetes
122122
export PATH=$PATH:/usr/local/go/bin/
123123
make WHAT=test/e2e/e2e.test
@@ -128,7 +128,7 @@ stages:
128128
displayName: "Build k8s NPM Windows Test Suite Binary"
129129
steps:
130130
- bash: |
131-
git clone https://github.com/huntergregory/kubernetes.git --depth=1 --branch=sleep-before-probing
131+
git clone https://github.com/kubernetes/kubernetes.git --depth=1
132132
cd kubernetes
133133
export PATH=$PATH:/usr/local/go/bin/
134134
make WHAT=test/e2e/e2e.test
@@ -349,7 +349,7 @@ stages:
349349
vmSize: Standard_HC44-16rs
350350
arch: amd64
351351
cni: "cilium"
352-
352+
353353
- template: cilium/cilium-overlay-load-test-template.yaml
354354
parameters:
355355
name: cilium_overlay_ds

.pipelines/npm/npm-cni-integration-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ jobs:
120120
--provider=local \
121121
--ginkgo.focus="$focus" \
122122
--ginkgo.skip="NetworkPolicyLegacy|SCTP" \
123-
--kubeconfig=$HOME/.kube/config
123+
--kubeconfig=$HOME/.kube/config \
124+
--ginkgo.timeout="2h"
124125
displayName: "Run Kubernetes e2e.test"
125126
continueOnError: ${{ parameters.continueOnError }}
126127

.pipelines/npm/npm-conformance-tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- checkout: self
7777

7878
- bash: |
79-
git clone https://github.com/huntergregory/kubernetes.git --depth=1 --branch=linux-sleep-before-probing
79+
git clone https://github.com/kubernetes/kubernetes.git --depth=1
8080
cd kubernetes
8181
export PATH=$PATH:/usr/local/go/bin/
8282
make WHAT=test/e2e/e2e.test
@@ -140,7 +140,7 @@ jobs:
140140
scriptLocation: "inlineScript"
141141
failOnStderr: true
142142
inlineScript: |
143-
# get kubectl
143+
# get kubectl
144144
curl -LO https://dl.k8s.io/release/v1.23.0/bin/linux/amd64/kubectl
145145
chmod +x kubectl
146146
echo Cluster $(AZURE_CLUSTER)
@@ -204,7 +204,7 @@ jobs:
204204
./kubectl --kubeconfig=./kubeconfig set image daemonset/azure-npm-win -n kube-system azure-npm=$IMAGE_REGISTRY/azure-npm:windows-amd64-ltsc2022-$(TAG)
205205
206206
else
207-
echo "Creating Linux Cluster";
207+
echo "Creating Linux Cluster";
208208
az aks create --no-ssh-key \
209209
--resource-group $(RESOURCE_GROUP) \
210210
--name $(AZURE_CLUSTER) \
@@ -261,7 +261,7 @@ jobs:
261261
}
262262
263263
runConformanceWindows () {
264-
git clone https://github.com/huntergregory/kubernetes.git
264+
git clone https://github.com/kubernetes/kubernetes.git --depth=1
265265
cd kubernetes
266266
git checkout sleep-before-probing
267267
export PATH=$PATH:/usr/local/go/bin/
@@ -286,7 +286,7 @@ jobs:
286286
declare -a conformancePIDs
287287
for round in $(seq 1 $NUM_PARALLEL_JOBS_FOR_STRESS_TEST); do
288288
# for each iteration, run the conformance test and echos in the background, and write the output of the conformance test to a file
289-
289+
290290
# run the conformance test in the foreground and write the output to stdout and a file
291291
if [[ $(AZURE_CLUSTER) == *ws22 ]] # * is used for pattern matching
292292
then

0 commit comments

Comments
 (0)