File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 3939 type : string
4040 description : Internal repo reference (branch or tag)
4141 default : " main"
42+ overrides :
43+ type : string
44+ description : Comma separated list of pipeline overrides in OVR_XXX=YYYY format
45+ default : " "
4246
4347permissions :
4448 id-token : write
6973 --arg terraformAction "${{ inputs.terraformAction }}" \
7074 --arg callerRunId "$callerRunId" \
7175 --arg targetWorkflow "${{ inputs.targetWorkflow }}" \
76+ --arg overrides "${{ inputs.overrides }}" \
7277 '{
7378 "ref": "${{ inputs.internalRef }}",
7479 "inputs": (
8287 } +
8388 (if ($targetWorkflow | test("dispatch-(acceptance|contextual|product|security)-tests-.*\\.yaml"))
8489 then { "callerRunId": $callerRunId } else {} end)
90+ + (if $overrides != "" then { "overrides": $overrides } else {} end)
8591 )
8692 }')
8793
@@ -114,6 +120,7 @@ jobs:
114120 --arg targetAccountGroup "${{ inputs.targetAccountGroup }}" \
115121 --arg targetComponent "${{ inputs.targetComponent }}" \
116122 --arg terraformAction "${{ inputs.terraformAction }}" \
123+ --arg overrides "${{ inputs.overrides }}" \
117124 '.workflow_runs[]
118125 | select(.path == ".github/workflows/" + $targetWorkflow)
119126 | select(.name
Original file line number Diff line number Diff line change 1515 permissions :
1616 id-token : write
1717 contents : read
18- uses : ./.github/workflows/reusable_internal_repo_build .yaml
18+ uses : ./.github/workflows/dispatch_internal_repo_workflow .yaml
1919 secrets : inherit
2020 with :
2121 jobName : Sandbox set up
Original file line number Diff line number Diff line change 2929 type : string
3030 description : The Terraform component to deploy
3131 default : plan
32- overrides :
33- type : string
34- description : Comma separated list of pipeline overrides in OVR_XXX=YYYY format
35- default : " "
3632
3733concurrency :
3834 group : ${{ inputs.targetEnvironment }}-${{ inputs.targetAccountGroup }}-${{ inputs.targetComponent }}-${{ inputs.terraformAction }}
@@ -59,15 +55,13 @@ jobs:
5955 --arg targetAccountGroup ${{ inputs.targetAccountGroup }} \
6056 --arg targetComponent ${{ inputs.targetComponent }} \
6157 --arg terraformAction ${{ inputs.terraformAction }} \
62- --arg overrides ${{ inputs.overrides }} \
6358 '{ "ref": "main",
6459 "inputs": {
6560 "releaseVersion", $releaseVersion,
6661 "targetEnvironment", $targetEnvironment,
6762 "targetAccountGroup", $targetAccountGroup,
6863 "targetComponent", $targetComponent,
69- "terraformAction", $terraformAction,
70- "overrides", $overrides
64+ "terraformAction", $terraformAction
7165 }
7266 }')
7367
You can’t perform that action at this time.
0 commit comments