Skip to content

Commit 16e833a

Browse files
committed
CCM-10294: add ability to skip dynamic env plan
1 parent 8ef7449 commit 16e833a

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.github/workflows/dispatch_internal_repo_workflow.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ on:
3939
type: string
4040
description: Internal repo reference (branch or tag)
4141
default: "feature/CCM-10294_standardise-cicd-tests"
42-
skipPlan:
43-
type: boolean
44-
description: Should the plan stage be skipped
45-
default: false
4642

4743
permissions:
4844
id-token: write
@@ -69,12 +65,11 @@ jobs:
6965
--arg targetAccountGroup ${{ inputs.targetAccountGroup }} \
7066
--arg targetComponent ${{ inputs.targetComponent }} \
7167
--arg terraformAction "${{ inputs.terraformAction }}" \
72-
--arg skipPlan "${{ inputs.skipPlan }}" \
7368
'{
7469
"ref": "${{ inputs.internalRef }}",
7570
"inputs": (
7671
(if $infraRepoName != "" then { "infraRepoName": $infraRepoName } else {} end) +
77-
(if $terraformAction != "" then { "terraformAction": $terraformAction, "skipPlan": $skipPlan } else {} end) +
72+
(if $terraformAction != "" then { "terraformAction": $terraformAction } else {} end) +
7873
{
7974
"releaseVersion": $releaseVersion,
8075
"targetEnvironment": $targetEnvironment,

.github/workflows/stage-4-acceptance.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
targetAccountGroup: nhs-notify-template-management-dev
3737
targetComponent: sandbox
3838
terraformAction: apply
39-
skipPlan: false
4039

4140
acceptance-tests:
4241
name: Step 2
@@ -76,4 +75,3 @@ jobs:
7675
targetAccountGroup: nhs-notify-template-management-dev
7776
targetComponent: sandbox
7877
terraformAction: destroy
79-
skipPlan: true

0 commit comments

Comments
 (0)