From 6decc34cf7aa97fc9255cc8b1f80307213f1a184 Mon Sep 17 00:00:00 2001 From: Jonathan Innis Date: Wed, 25 Oct 2023 17:59:20 -0700 Subject: [PATCH] ci: Fix conformance testing failure with inputs (#4932) --- .github/workflows/e2e-conformance-trigger.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-conformance-trigger.yaml b/.github/workflows/e2e-conformance-trigger.yaml index f7b6cb9c08d1..0a773da07095 100644 --- a/.github/workflows/e2e-conformance-trigger.yaml +++ b/.github/workflows/e2e-conformance-trigger.yaml @@ -7,6 +7,17 @@ on: workflows: [ApprovalComment] types: [completed] workflow_dispatch: + region: + required: true + default: 'eu-west-1' + type: choice + options: + - "us-east-1" + - "eu-west-1" + cleanup: + required: true + default: true + type: boolean jobs: resolve: if: (github.repository == 'aws/karpenter' && (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success')) || github.event_name == 'workflow_dispatch' @@ -22,8 +33,9 @@ jobs: k8s_version: [ "1.23", "1.24", "1.25", "1.26", "1.27", "1.28" ] uses: ./.github/workflows/e2e-matrix.yaml with: - region: "eu-west-1" + region: ${{ inputs.region || 'eu-west-1' }} k8s_version: ${{ matrix.k8s_version }} workflow_trigger: "conformance" + cleanup: ${{ inputs.cleanup || true }} secrets: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}