Skip to content

Commit 3ed208c

Browse files
committed
Improve job dependencies
1 parent ce878dc commit 3ed208c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/overcloud-host-image-build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
runs-on: ${{ needs.runner-selection.outputs.runner_name_image_build }}
6161
needs:
6262
- runner-selection
63+
- validate-inputs
6364
permissions: {}
6465
outputs:
6566
host_image_tag: ${{ steps.host_image_tag.outputs.host_image_tag }}
@@ -92,8 +93,9 @@ jobs:
9293
environment: ${{ inputs.runner_env }}
9394
runs-on: ${{ needs.runner-selection.outputs.runner_name_image_build }}
9495
needs:
95-
- runner-selection
9696
- create-tag
97+
- runner-selection
98+
- validate-inputs
9799
permissions: {}
98100
steps:
99101
- name: Display overcloud host image tag
@@ -355,8 +357,9 @@ jobs:
355357
environment: ${{ inputs.runner_env }}
356358
runs-on: ${{ needs.runner-selection.outputs.runner_name_image_build }}
357359
needs:
358-
- runner-selection
359360
- create-tag
361+
- runner-selection
362+
- validate-inputs
360363
permissions: {}
361364
steps:
362365
- name: Display overcloud host image tag
@@ -618,8 +621,9 @@ jobs:
618621
environment: ${{ inputs.runner_env }}
619622
runs-on: ${{ needs.runner-selection.outputs.runner_name_image_build }}
620623
needs:
621-
- runner-selection
622624
- create-tag
625+
- runner-selection
626+
- validate-inputs
623627
permissions: {}
624628
steps:
625629
- name: Display overcloud host image tag
@@ -881,8 +885,9 @@ jobs:
881885
environment: ${{ inputs.runner_env }}
882886
runs-on: ${{ needs.runner-selection.outputs.runner_name_image_build }}
883887
needs:
884-
- runner-selection
885888
- create-tag
889+
- runner-selection
890+
- validate-inputs
886891
permissions: {}
887892
steps:
888893
- name: Display overcloud host image tag

0 commit comments

Comments
 (0)