Skip to content

Commit f474ac8

Browse files
sjpbbertiethorpe
authored andcommitted
add RL9 cuda build variant
1 parent 5e79a9c commit f474ac8

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/fatimage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ jobs:
1010
name: openstack-imagebuild
1111
runs-on: ubuntu-22.04
1212
strategy:
13-
matrix:
13+
matrix: # build RL8, RL9+OFED, RL9+CUDA versions
1414
os_version:
1515
- RL8
1616
- RL9
1717
build:
1818
- openstack.openhpc
1919
- openstack.openhpc-ofed
20+
- openstack.opemhpc-cuda
2021
exclude:
2122
- os_version: RL8
2223
build: openstack.openhpc-ofed
24+
- os_version: RL8
25+
build: openstack.openhpc-cuda
2326
- os_version: RL9
2427
build: openstack.openhpc
2528
env:

packer/openstack.pkr.hcl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ variable "groups" {
150150
# fat image builds:
151151
openhpc = ["control", "compute", "login"]
152152
openhpc-ofed = ["control", "compute", "login", "ofed"]
153+
openhpc-cuda = ["control", "compute", "login", "ofed", "cuda"]
153154
}
154155
}
155156

@@ -195,6 +196,11 @@ build {
195196
name = "openhpc-ofed"
196197
}
197198

199+
# CUDA fat image:
200+
source "source.openstack.openhpc" {
201+
name = "openhpc-cuda"
202+
}
203+
198204
# Extended site-specific image, built on fat image:
199205
source "source.openstack.openhpc" {
200206
name = "openhpc-extra"

0 commit comments

Comments
 (0)