E2EMatrix #173
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.28" | |
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.23" | |
- "1.24" | |
- "1.25" | |
- "1.26" | |
- "1.27" | |
- "1.28" | |
default: "1.28" | |
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: | |
- Integration | |
- NodeClaim | |
- Consolidation | |
- Interruption | |
- Drift | |
- Expiration | |
- Chaos | |
- IPv6 | |
uses: ./.github/workflows/e2e.yaml | |
with: | |
suite: ${{ matrix.suite }} | |
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 }} | |
e2e-upgrade: | |
permissions: | |
id-token: write # aws-actions/[email protected] | |
statuses: write # ./.github/actions/commit-status/start | |
uses: ./.github/workflows/e2e-upgrade.yaml | |
with: | |
# This version matches the version switch between IRSA -> Pod Identity | |
# https://github.com/aws/karpenter-provider-aws/pull/5262 | |
from_git_ref: 8f500c23be18aa5cb8089a83c43e763303faa9ac | |
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 }} |