File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
- name : Nightly fat image build
1
+ name : Build fat image
2
2
on :
3
3
workflow_dispatch :
4
4
inputs :
10
10
- LEAFCLOUD
11
11
- SMS
12
12
- ARCUS
13
- schedule :
14
- - cron : ' 0 0 * * *' # Run at midnight
15
13
16
14
jobs :
17
15
openstack :
22
20
runs-on : ubuntu-22.04
23
21
strategy :
24
22
fail-fast : false # allow other matrix jobs to continue even if one fails
25
- matrix : # build RL8+OFED, RL9+OFED new base images
23
+ matrix : # build RL8+OFED, RL9+OFED, RL9+OFED+CUDA versions
26
24
os_version :
27
25
- RL8
28
26
- RL9
79
77
-on-error=${{ vars.PACKER_ON_ERROR }} \
80
78
-only=${{ matrix.build }} \
81
79
-var-file=$PKR_VAR_environment_root/${{ vars.CI_CLOUD }}.pkrvars.hcl \
82
- -var 'source_image_name={"RL8": "openhpc-latest-RL8", "RL9": "openhpc-latest-RL9"}' \
80
+ # -var 'source_image_name={"RL8": "openhpc-latest-RL8", "RL9": "openhpc-latest-RL9"}' \
83
81
openstack.pkr.hcl
84
82
env :
85
83
PKR_VAR_os_version : ${{ matrix.os_version }}
Original file line number Diff line number Diff line change @@ -186,7 +186,8 @@ source "openstack" "openhpc" {
186
186
# Output image:
187
187
image_disk_format = " qcow2"
188
188
image_visibility = var. image_visibility
189
- image_name = " ${ source . name } -${ var . os_version } -${ local . timestamp } -${ substr (local. git_commit , 0 , 8 )} "
189
+ image_name = " ${ source . name } -${ var . os_version } "
190
+ # -${local.timestamp}-${substr(local.git_commit, 0, 8)}"
190
191
}
191
192
192
193
build {
You can’t perform that action at this time.
0 commit comments