|
29 | 29 |
|
30 | 30 | - name: Verify outputs |
31 | 31 | env: |
32 | | - CHANGES: $CHANGES |
| 32 | + CHANGES: ${{ steps.plan.outputs.changes }} |
33 | 33 | JSON_PLAN_PATH: ${{ steps.plan.outputs.json_plan_path }} |
34 | 34 | TEXT_PLAN_PATH: ${{ steps.plan.outputs.text_plan_path }} |
35 | 35 | PLAN_PATH: ${{ steps.plan.outputs.plan_path }} |
@@ -137,10 +137,10 @@ jobs: |
137 | 137 | CHANGES: ${{ steps.plan.outputs.changes }} |
138 | 138 | JSON_PLAN_PATH: ${{ steps.plan.outputs.json_plan_path }} |
139 | 139 | TEXT_PLAN_PATH: ${{ steps.plan.outputs.text_plan_path }} |
140 | | - TO_ADD: ${{ steps.apply.outputs.to_add }} |
141 | | - TO_CHANGE: ${{ steps.apply.outputs.to_change }} |
142 | | - TO_DESTROY: ${{ steps.apply.outputs.to_destroy }} |
143 | | - RUN_ID: ${{ steps.apply.outputs.run_id }} |
| 140 | + TO_ADD: ${{ steps.plan.outputs.to_add }} |
| 141 | + TO_CHANGE: ${{ steps.plan.outputs.to_change }} |
| 142 | + TO_DESTROY: ${{ steps.plan.outputs.to_destroy }} |
| 143 | + RUN_ID: ${{ steps.plan.outputs.run_id }} |
144 | 144 | run: | |
145 | 145 | echo "changes=$CHANGES" |
146 | 146 |
|
@@ -210,10 +210,10 @@ jobs: |
210 | 210 | CHANGES: ${{ steps.plan.outputs.changes }} |
211 | 211 | JSON_PLAN_PATH: ${{ steps.plan.outputs.json_plan_path }} |
212 | 212 | TEXT_PLAN_PATH: ${{ steps.plan.outputs.text_plan_path }} |
213 | | - TO_ADD: ${{ steps.apply.outputs.to_add }} |
214 | | - TO_CHANGE: ${{ steps.apply.outputs.to_change }} |
215 | | - TO_DESTROY: ${{ steps.apply.outputs.to_destroy }} |
216 | | - RUN_ID: ${{ steps.apply.outputs.run_id }} |
| 213 | + TO_ADD: ${{ steps.plan.outputs.to_add }} |
| 214 | + TO_CHANGE: ${{ steps.plan.outputs.to_change }} |
| 215 | + TO_DESTROY: ${{ steps.plan.outputs.to_destroy }} |
| 216 | + RUN_ID: ${{ steps.plan.outputs.run_id }} |
217 | 217 | run: | |
218 | 218 | echo "changes=$CHANGES" |
219 | 219 |
|
@@ -284,10 +284,10 @@ jobs: |
284 | 284 | CHANGES: ${{ steps.plan.outputs.changes }} |
285 | 285 | JSON_PLAN_PATH: ${{ steps.plan.outputs.json_plan_path }} |
286 | 286 | TEXT_PLAN_PATH: ${{ steps.plan.outputs.text_plan_path }} |
287 | | - TO_ADD: ${{ steps.apply.outputs.to_add }} |
288 | | - TO_CHANGE: ${{ steps.apply.outputs.to_change }} |
289 | | - TO_DESTROY: ${{ steps.apply.outputs.to_destroy }} |
290 | | - RUN_ID: ${{ steps.apply.outputs.run_id }} |
| 287 | + TO_ADD: ${{ steps.plan.outputs.to_add }} |
| 288 | + TO_CHANGE: ${{ steps.plan.outputs.to_change }} |
| 289 | + TO_DESTROY: ${{ steps.plan.outputs.to_destroy }} |
| 290 | + RUN_ID: ${{ steps.plan.outputs.run_id }} |
291 | 291 | run: | |
292 | 292 | echo "changes=$CHANGES" |
293 | 293 |
|
@@ -359,10 +359,10 @@ jobs: |
359 | 359 | CHANGES: ${{ steps.plan.outputs.changes }} |
360 | 360 | JSON_PLAN_PATH: ${{ steps.plan.outputs.json_plan_path }} |
361 | 361 | TEXT_PLAN_PATH: ${{ steps.plan.outputs.text_plan_path }} |
362 | | - TO_ADD: ${{ steps.apply.outputs.to_add }} |
363 | | - TO_CHANGE: ${{ steps.apply.outputs.to_change }} |
364 | | - TO_DESTROY: ${{ steps.apply.outputs.to_destroy }} |
365 | | - RUN_ID: ${{ steps.apply.outputs.run_id }} |
| 362 | + TO_ADD: ${{ steps.plan.outputs.to_add }} |
| 363 | + TO_CHANGE: ${{ steps.plan.outputs.to_change }} |
| 364 | + TO_DESTROY: ${{ steps.plan.outputs.to_destroy }} |
| 365 | + RUN_ID: ${{ steps.plan.outputs.run_id }} |
366 | 366 | run: | |
367 | 367 | echo "changes=$CHANGES" |
368 | 368 |
|
@@ -434,10 +434,10 @@ jobs: |
434 | 434 | CHANGES: ${{ steps.plan.outputs.changes }} |
435 | 435 | JSON_PLAN_PATH: ${{ steps.plan.outputs.json_plan_path }} |
436 | 436 | TEXT_PLAN_PATH: ${{ steps.plan.outputs.text_plan_path }} |
437 | | - TO_ADD: ${{ steps.apply.outputs.to_add }} |
438 | | - TO_CHANGE: ${{ steps.apply.outputs.to_change }} |
439 | | - TO_DESTROY: ${{ steps.apply.outputs.to_destroy }} |
440 | | - RUN_ID: ${{ steps.apply.outputs.run_id }} |
| 437 | + TO_ADD: ${{ steps.plan.outputs.to_add }} |
| 438 | + TO_CHANGE: ${{ steps.plan.outputs.to_change }} |
| 439 | + TO_DESTROY: ${{ steps.plan.outputs.to_destroy }} |
| 440 | + RUN_ID: ${{ steps.plan.outputs.run_id }} |
441 | 441 | run: | |
442 | 442 | echo "changes=$CHANGES" |
443 | 443 |
|
@@ -508,10 +508,10 @@ jobs: |
508 | 508 | CHANGES: ${{ steps.plan.outputs.changes }} |
509 | 509 | JSON_PLAN_PATH: ${{ steps.plan.outputs.json_plan_path }} |
510 | 510 | TEXT_PLAN_PATH: ${{ steps.plan.outputs.text_plan_path }} |
511 | | - TO_ADD: ${{ steps.apply.outputs.to_add }} |
512 | | - TO_CHANGE: ${{ steps.apply.outputs.to_change }} |
513 | | - TO_DESTROY: ${{ steps.apply.outputs.to_destroy }} |
514 | | - RUN_ID: ${{ steps.apply.outputs.run_id }} |
| 511 | + TO_ADD: ${{ steps.plan.outputs.to_add }} |
| 512 | + TO_CHANGE: ${{ steps.plan.outputs.to_change }} |
| 513 | + TO_DESTROY: ${{ steps.plan.outputs.to_destroy }} |
| 514 | + RUN_ID: ${{ steps.plan.outputs.run_id }} |
515 | 515 | run: | |
516 | 516 | echo "changes=$CHANGES" |
517 | 517 |
|
@@ -582,10 +582,10 @@ jobs: |
582 | 582 | CHANGES: ${{ steps.plan.outputs.changes }} |
583 | 583 | JSON_PLAN_PATH: ${{ steps.plan.outputs.json_plan_path }} |
584 | 584 | TEXT_PLAN_PATH: ${{ steps.plan.outputs.text_plan_path }} |
585 | | - TO_ADD: ${{ steps.apply.outputs.to_add }} |
586 | | - TO_CHANGE: ${{ steps.apply.outputs.to_change }} |
587 | | - TO_DESTROY: ${{ steps.apply.outputs.to_destroy }} |
588 | | - RUN_ID: ${{ steps.apply.outputs.run_id }} |
| 585 | + TO_ADD: ${{ steps.plan.outputs.to_add }} |
| 586 | + TO_CHANGE: ${{ steps.plan.outputs.to_change }} |
| 587 | + TO_DESTROY: ${{ steps.plan.outputs.to_destroy }} |
| 588 | + RUN_ID: ${{ steps.plan.outputs.run_id }} |
589 | 589 | run: | |
590 | 590 | echo "changes=$CHANGES" |
591 | 591 |
|
@@ -1141,28 +1141,28 @@ jobs: |
1141 | 1141 | variables: |
1142 | 1142 | diff=true |
1143 | 1143 |
|
1144 | | - self-hosted: |
1145 | | - runs-on: self-hosted |
1146 | | - name: Self-hosted runner |
1147 | | - permissions: |
1148 | | - contents: read |
1149 | | - pull-requests: write |
1150 | | - env: |
1151 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
1152 | | - steps: |
1153 | | - - name: Checkout |
1154 | | - uses: actions/checkout@v4 |
1155 | | - with: |
1156 | | - persist-credentials: false |
1157 | | - |
1158 | | - - name: Plan |
1159 | | - uses: ./terraform-plan |
1160 | | - with: |
1161 | | - label: test-plan self-hosted |
1162 | | - path: tests/workflows/test-plan/self-hosted |
1163 | | - |
1164 | | - - name: Plan Again |
1165 | | - uses: ./terraform-plan |
1166 | | - with: |
1167 | | - label: test-plan self-hosted |
1168 | | - path: tests/workflows/test-plan/self-hosted |
| 1144 | +# self-hosted: |
| 1145 | +# runs-on: self-hosted |
| 1146 | +# name: Self-hosted runner |
| 1147 | +# permissions: |
| 1148 | +# contents: read |
| 1149 | +# pull-requests: write |
| 1150 | +# env: |
| 1151 | +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 1152 | +# steps: |
| 1153 | +# - name: Checkout |
| 1154 | +# uses: actions/checkout@v4 |
| 1155 | +# with: |
| 1156 | +# persist-credentials: false |
| 1157 | +# |
| 1158 | +# - name: Plan |
| 1159 | +# uses: ./terraform-plan |
| 1160 | +# with: |
| 1161 | +# label: test-plan self-hosted |
| 1162 | +# path: tests/workflows/test-plan/self-hosted |
| 1163 | +# |
| 1164 | +# - name: Plan Again |
| 1165 | +# uses: ./terraform-plan |
| 1166 | +# with: |
| 1167 | +# label: test-plan self-hosted |
| 1168 | +# path: tests/workflows/test-plan/self-hosted |
0 commit comments