forked from aws/karpenter-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
113 lines (113 loc) · 3.41 KB
/
e2e-matrix.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name: E2EMatrix
on:
workflow_call:
inputs:
region:
type: string
default: "us-east-2"
k8s_version:
type: string
default: "1.31"
cleanup:
type: boolean
required: true
git_ref:
type: string
workflow_trigger:
type: string
required: true
parallelism:
type: number
secrets:
SLACK_WEBHOOK_URL:
required: true
workflow_dispatch:
inputs:
region:
type: choice
options:
- "us-east-1"
- "us-east-2"
- "us-west-2"
- "eu-west-1"
default: "us-east-2"
k8s_version:
type: choice
options:
- "1.25"
- "1.26"
- "1.27"
- "1.28"
- "1.29"
- "1.30"
- "1.31"
default: "1.31"
cleanup:
type: boolean
required: true
default: true
# All jobs will run under the following conditions:
# 1. Upstream Karpenter repo triggered the job by schedule, push, or dispatch
# 2. Upstream Karpenter repo triggered the job by workflow_run, which requires maintainer check to succeed
# 3. Downstream fork triggered the job through dispatch and has set 'ENABLE_E2E' in repo environment variables
jobs:
e2e:
permissions:
id-token: write # aws-actions/[email protected]
statuses: write # ./.github/actions/commit-status/start
strategy:
fail-fast: false
max-parallel: ${{ inputs.parallelism || 100 }}
matrix:
suite:
- name: IPv6
region: ${{ inputs.region }}
- name: AMI
region: ${{ inputs.region }}
- name: Scheduling
region: ${{ inputs.region }}
- name: Storage
region: ${{ inputs.region }}
- name: Integration
region: ${{ inputs.region }}
- name: NodeClaim
region: ${{ inputs.region }}
- name: Consolidation
region: ${{ inputs.region }}
- name: Interruption
region: ${{ inputs.region }}
- name: Drift
region: ${{ inputs.region }}
- name: Expiration
region: ${{ inputs.region }}
- name: Chaos
region: ${{ inputs.region }}
- name: Termination
region: ${{ inputs.region }}
- name: LocalZone
# LAX is the only local zone available in the CI account, therefore only use us-west-2
region: us-west-2
uses: ./.github/workflows/e2e.yaml
with:
suite: ${{ matrix.suite.name }}
git_ref: ${{ inputs.git_ref }}
region: ${{ matrix.suite.region }}
k8s_version: ${{ inputs.k8s_version }}
cleanup: ${{ inputs.cleanup }}
workflow_trigger: ${{ inputs.workflow_trigger }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
e2e-upgrade:
permissions:
id-token: write # aws-actions/[email protected]
statuses: write # ./.github/actions/commit-status/start
uses: ./.github/workflows/e2e-upgrade.yaml
with:
from_git_ref: 2f4cebea345e6a399ea00149ec7a41269739bb3b
to_git_ref: ${{ inputs.git_ref }}
region: ${{ inputs.region }}
k8s_version: ${{ inputs.k8s_version }}
cleanup: ${{ inputs.cleanup }}
workflow_trigger: ${{ inputs.workflow_trigger }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}