forked from aws/karpenter-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (64 loc) · 1.8 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
name: E2EMatrix
on:
workflow_call:
inputs:
region:
type: string
default: "us-east-2"
k8s_version:
type: string
default: "1.27"
git_ref:
type: string
event_name:
type: string
required: true
secrets:
SLACK_WEBHOOK_URL:
required: true
workflow_dispatch:
inputs:
region:
type: choice
options:
- "us-east-2"
- "us-west-2"
default: "us-east-2"
k8s_version:
type: choice
options:
- "1.23"
- "1.24"
- "1.25"
- "1.26"
- "1.27"
default: "1.27"
# 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:
strategy:
fail-fast: false
matrix:
suite: [Integration, Machine, Consolidation, Utilization, Interruption, Drift, Chaos, IPv6]
uses: ./.github/workflows/e2e.yaml
with:
suite: ${{ matrix.suite }}
git_ref: ${{ inputs.git_ref }}
event_name: ${{ inputs.event_name }}
region: ${{ inputs.region }}
k8s_version: ${{ inputs.k8s_version }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
e2e-upgrade:
uses: ./.github/workflows/e2e-upgrade.yaml
with:
from_git_ref: v0.29.1
to_git_ref: ${{ inputs.git_ref }}
event_name: ${{ inputs.event_name }}
region: ${{ inputs.region }}
k8s_version: ${{ inputs.k8s_version }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}