File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,10 @@ name: All in one
7
7
on :
8
8
workflow_call :
9
9
inputs :
10
- runner :
11
- required : false
10
+ runner_env :
11
+ description : Which cloud to run on?
12
12
type : string
13
- description : ' Runner name'
14
- default : ' arc-skc-aio-runner'
13
+ default : SMS Lab
15
14
kayobe_image :
16
15
description : Kayobe container image
17
16
type : string
87
86
required : true
88
87
89
88
jobs :
89
+ runner-selection :
90
+ uses : ./.github/workflows/runner-selector.yml
91
+ with :
92
+ runner_env : ${{ inputs.runner_env }}
90
93
# NOTE: Runner needs unzip and nodejs packages.
91
94
all-in-one :
92
95
name : All in one
93
96
if : ${{ inputs.if && !cancelled() }}
94
- runs-on : ${{ inputs.runner }}
97
+ environment : ${{ inputs.runner_env }}
98
+ runs-on : ${{ needs.runner-selection.outputs.runner_name_aio }}
99
+ needs :
100
+ - runner-selection
95
101
permissions : {}
96
102
env :
97
103
KAYOBE_ENVIRONMENT : ci-aio
You can’t perform that action at this time.
0 commit comments