Skip to content

Commit 26cd493

Browse files
committed
change back fatimage workflow
1 parent cf8a685 commit 26cd493

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/fatimage.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nightly fat image build
1+
name: Build fat image
22
on:
33
workflow_dispatch:
44
inputs:
@@ -10,8 +10,6 @@ on:
1010
- LEAFCLOUD
1111
- SMS
1212
- ARCUS
13-
schedule:
14-
- cron: '0 0 * * *' # Run at midnight
1513

1614
jobs:
1715
openstack:
@@ -22,7 +20,7 @@ jobs:
2220
runs-on: ubuntu-22.04
2321
strategy:
2422
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
2624
os_version:
2725
- RL8
2826
- RL9
@@ -79,7 +77,6 @@ jobs:
7977
-on-error=${{ vars.PACKER_ON_ERROR }} \
8078
-only=${{ matrix.build }} \
8179
-var-file=$PKR_VAR_environment_root/${{ vars.CI_CLOUD }}.pkrvars.hcl \
82-
-var 'source_image_name={"RL8": "openhpc-latest-RL8", "RL9": "openhpc-latest-RL9"}' \
8380
openstack.pkr.hcl
8481
env:
8582
PKR_VAR_os_version: ${{ matrix.os_version }}

packer/openstack.pkr.hcl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ source "openstack" "openhpc" {
186186
# Output image:
187187
image_disk_format = "qcow2"
188188
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)}"
190191
}
191192

192193
build {

0 commit comments

Comments
 (0)