File tree Expand file tree Collapse file tree 6 files changed +47
-10
lines changed Expand file tree Collapse file tree 6 files changed +47
-10
lines changed Original file line number Diff line number Diff line change 11
11
description : Build Ubuntu 22.04 Jammy
12
12
type : boolean
13
13
default : true
14
+ runner_env :
15
+ description : Which cloud to run on?
16
+ type : choice
17
+ default : SMS Lab
18
+ options :
19
+ - SMS Lab
20
+ - Leafcloud
14
21
secrets :
15
22
KAYOBE_VAULT_PASSWORD :
16
23
required : true
29
36
ipa-image-build :
30
37
name : Build IPA images
31
38
if : github.repository == 'stackhpc/stackhpc-kayobe-config'
32
- environment : sms
33
- runs-on : arc-skc-host-image-builder-runner-sms
39
+ environment : ${{ inputs.runner_env }}
40
+ runs-on : ${{ vars.RUNS_ON_TARGET_IMAGE_BUILDER }}
34
41
permissions : {}
35
42
steps :
36
43
- name : Install Package
Original file line number Diff line number Diff line change 11
11
description : Build Ubuntu 22.04 Jammy
12
12
type : boolean
13
13
default : true
14
+ runner_env :
15
+ description : Which cloud to run on?
16
+ type : choice
17
+ default : SMS Lab
18
+ options :
19
+ - SMS Lab
20
+ - Leafcloud
14
21
secrets :
15
22
KAYOBE_VAULT_PASSWORD :
16
23
required : true
29
36
overcloud-host-image-build :
30
37
name : Build overcloud host images
31
38
if : github.repository == 'stackhpc/stackhpc-kayobe-config'
32
- environment : sms
33
- runs-on : arc-skc-host-image-builder-runner-sms
39
+ environment : ${{ inputs.runner_env }}
40
+ runs-on : ${{ vars.RUNS_ON_TARGET_IMAGE_BUILDER }}
34
41
permissions : {}
35
42
steps :
36
43
- name : Validate inputs
Original file line number Diff line number Diff line change 15
15
description : Kayobe environment to use
16
16
type : string
17
17
default : " ci-builder"
18
+ runner_env :
19
+ description : Which cloud to run on?
20
+ type : choice
21
+ default : SMS Lab
22
+ options :
23
+ - SMS Lab
24
+ - Leafcloud
18
25
secrets :
19
26
KAYOBE_VAULT_PASSWORD :
20
27
required : true
31
38
overcloud-host-image-upload :
32
39
name : Upload overcloud host images
33
40
if : github.repository == 'stackhpc/stackhpc-kayobe-config'
34
- environment : sms
35
- runs-on : arc-skc-host-image-builder-runner
41
+ environment : ${{ inputs.runner_env }}
42
+ runs-on : ${{ vars.RUNS_ON_TARGET_IMAGE_BUILDER }}
36
43
permissions : {}
37
44
steps :
38
45
- name : Validate inputs
Original file line number Diff line number Diff line change 7
7
description : Build Rocky Linux 9
8
8
type : boolean
9
9
default : true
10
+ runner_env :
11
+ description : Which cloud to run on?
12
+ type : choice
13
+ default : SMS Lab
14
+ options :
15
+ - SMS Lab
16
+ - Leafcloud
10
17
secrets :
11
18
KAYOBE_VAULT_PASSWORD :
12
19
required : true
25
32
overcloud-ofed-packages :
26
33
name : Build OFED packages
27
34
if : github.repository == 'stackhpc/stackhpc-kayobe-config'
28
- environment : sms
29
- runs-on : arc-skc-host-image-builder-runner-sms
35
+ environment : ${{ inputs.runner_env }}
36
+ runs-on : ${{ vars.RUNS_ON_TARGET_IMAGE_BUILDER }}
30
37
permissions : {}
31
38
steps :
32
39
- name : Install Package
Original file line number Diff line number Diff line change 24
24
check-tags :
25
25
name : Check container image tags
26
26
if : ${{ inputs.if && ! cancelled() }}
27
- runs-on : arc-skc-aio-runner
27
+ environment : SMS Lab
28
+ runs-on : ${{ vars.RUNS_ON_TARGET_AIO }}
28
29
permissions : {}
29
30
env :
30
31
KAYOBE_ENVIRONMENT : ci-aio
Original file line number Diff line number Diff line change 38
38
type : boolean
39
39
required : false
40
40
default : false
41
+ environment :
42
+ description : Which cloud to run on?
43
+ type : choice
44
+ default : " SMS Lab"
45
+ options :
46
+ - " SMS Lab"
47
+ - " Leafcloud"
41
48
42
49
env :
43
50
ANSIBLE_FORCE_COLOR : True
@@ -104,7 +111,8 @@ jobs:
104
111
container-image-build :
105
112
name : Build Kolla container images
106
113
if : github.repository == 'stackhpc/stackhpc-kayobe-config'
107
- runs-on : arc-skc-container-image-builder-runner-sms
114
+ # environment: ${{ inputs.runner_env }}
115
+ runs-on : ${{ vars.RUNS_ON_TARGET_IMAGE_BUILDER }}
108
116
timeout-minutes : 720
109
117
permissions : {}
110
118
strategy :
You can’t perform that action at this time.
0 commit comments