From cfbc7e46558a00e1076ed099aa813eb78e4d21cb Mon Sep 17 00:00:00 2001 From: Gordon Byers Date: Thu, 10 Nov 2022 14:06:40 +0000 Subject: [PATCH] Update OSSCI.yml --- .github/workflows/OSSCI.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/OSSCI.yml b/.github/workflows/OSSCI.yml index 2d3bf7f0..54df3bd0 100644 --- a/.github/workflows/OSSCI.yml +++ b/.github/workflows/OSSCI.yml @@ -9,6 +9,16 @@ on: required: true default: "csu" type: environment + ingressController: + description: "Which ingress controller to deploy" + type: choice + options: + - All + - Nginx + - Contour + - Traefik + required: true + default: Traefik #Run when PR's are made to main, where the changes are in the bicep directory or this workflow file itself pull_request: @@ -53,6 +63,7 @@ jobs: ContourDeploy: uses: ./.github/workflows/AKSC_Deploy.yml needs: [ReusableWF] + if: github.event_name == 'workflow_dispatch' && (github.event.inputs.ingressController == 'Contour' || github.event.inputs.ingressController == 'All') || github.event_name != 'workflow_dispatch' with: environment: ${{ needs.ReusableWF.outputs.ENVIRONMENT }} templateVersion: "0.9.3-preview3"