Skip to content

Commit f9b708f

Browse files
committed
add post-{execute,orchestrate} inputs to mirror the output of the matching step
1 parent b487ec0 commit f9b708f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/pipelines-root.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ jobs:
160160
PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }}
161161
PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}
162162
PR_COMMENT_WRITE_TOKEN: ${{ steps.pipelines-infra-root-write-token.outputs.PIPELINES_TOKEN }}
163+
jobs: ${{ steps.orchestrate.outputs.jobs }}
163164

164165
outputs:
165166
pipelines_jobs: ${{ steps.orchestrate.outputs.jobs }}
@@ -349,6 +350,9 @@ jobs:
349350
account_name: ${{ matrix.jobs.Name }}
350351
job: ${{ toJson(matrix.jobs) }}
351352
gruntwork_context: ${{ toJson(steps.gruntwork_context.outputs) }}
353+
formatted_plan_output: ${{ steps.terragrunt.outputs.formatted_plan_output }}
354+
execute_stdout_log: ${{ steps.terragrunt.outputs.execute_stdout_log }}
355+
plan_folder: ${{ steps.terragrunt.outputs.plan_folder }}
352356

353357
- name: Get Logs URL
354358
id: get_logs_url

.github/workflows/pipelines.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ jobs:
141141
PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }}
142142
PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}
143143
PR_COMMENT_WRITE_TOKEN: ${{ steps.pipelines-propose-infra-change-token.outputs.PIPELINES_TOKEN }}
144+
jobs: ${{ steps.orchestrate.outputs.jobs }}
144145

145146
outputs:
146147
pipelines_jobs: ${{ steps.orchestrate.outputs.jobs }}
@@ -278,6 +279,9 @@ jobs:
278279
account_name: ${{ matrix.jobs.Name }}
279280
job: ${{ toJson(matrix.jobs) }}
280281
gruntwork_context: ${{ toJson(steps.gruntwork_context.outputs) }}
282+
formatted_plan_output: ${{ steps.terragrunt.outputs.formatted_plan_output }}
283+
execute_stdout_log: ${{ steps.terragrunt.outputs.execute_stdout_log }}
284+
plan_folder: ${{ steps.terragrunt.outputs.plan_folder }}
281285

282286
outputs:
283287
account_id: ${{ matrix.jobs.AccountId }}

0 commit comments

Comments
 (0)