E2EMatrix #162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |