Skip to content

Commit 963762d

Browse files
authored
test: enable e2e with kind cluster matrix (#173)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
1 parent 45b248c commit 963762d

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.pipelines/templates/e2e-kind-template.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
jobs:
2-
- job: e2e_tests
2+
- job:
33
timeoutInMinutes: 15
44
cancelTimeoutInMinutes: 5
55
workspace:
@@ -23,15 +23,22 @@ jobs:
2323
# - KEY_NAME
2424
# - KEY_VERSION
2525
- group: kubernetes-kms
26-
26+
strategy:
27+
matrix:
28+
kind_v1_22_13:
29+
KUBERNETES_VERSION: v1.22.13
30+
kind_v1_23_10:
31+
KUBERNETES_VERSION: v1.23.10
32+
kind_v1_24_4:
33+
KUBERNETES_VERSION: v1.24.4
34+
kind_v1_25_0:
35+
KUBERNETES_VERSION: v1.25.0
2736
steps:
2837
- task: GoTool@0
2938
inputs:
3039
version: 1.19
31-
3240
- script: make e2e-install-prerequisites
3341
displayName: "Install e2e test prerequisites"
34-
3542
- script: |
3643
make e2e-setup-kind
3744
displayName: "Setup kind cluster with azure kms plugin"
@@ -43,11 +50,8 @@ jobs:
4350
KIND_NETWORK: $(KIND_NETWORK)
4451
AZURE_CLIENT_ID: $(AZURE_CLIENT_ID)
4552
AZURE_CLIENT_SECRET: $(AZURE_CLIENT_SECRET)
46-
4753
- template: cluster-health-template.yml
4854
- template: kind-debug-template.yml
49-
5055
- script: make e2e-test
5156
displayName: "Run e2e tests"
52-
5357
- template: cleanup-template.yml

0 commit comments

Comments
 (0)