Skip to content

Commit

Permalink
adding conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenvaines-bjss committed Mar 5, 2024
1 parent 1f7e418 commit 4b65094
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/logic-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- PROD
required: true
default: REF
run_tests:
type: boolean
description: Run smoke and e2e tests that require a dedicated queue and APIM proxy.
default: true
release:
types: ["published"]

Expand Down Expand Up @@ -40,6 +44,6 @@ jobs:
with:
environment: ${{ inputs.environment }}
component: ${{ matrix.component }}
deploy_layers: ${{ matrix.component == 'mgmt' && true || false }}
deploy_layers: ${{ matrix.component == 'mgmt' && true || false }} # Only deploy layers on the 1st cycle
deploy_infra: true
run_tests: ${{ matrix.component == 'events' && true || false }}
run_tests: ${{ (matrix.component == 'events' && inputs.run_tests) && true || false }} # Only run the tests at the end

0 comments on commit 4b65094

Please sign in to comment.