@@ -133,6 +133,7 @@ variable "volume_size" {
133
133
default = {
134
134
# fat image builds, GB:
135
135
rocky-latest = 15
136
+ rocky-latest-cuda = 30
136
137
openhpc = 15
137
138
openhpc-cuda = 30
138
139
}
@@ -154,8 +155,9 @@ variable "groups" {
154
155
default = {
155
156
# fat image builds:
156
157
rocky-latest = [" update" , " ofed" ]
158
+ rocky-latest-cuda = [" update" , " ofed" , " cuda" ]
157
159
openhpc = [" control" , " compute" , " login" ]
158
- openhpc-cuda = [" control" , " compute" , " login" , " cuda " ]
160
+ openhpc-cuda = [" control" , " compute" , " login" ]
159
161
}
160
162
}
161
163
@@ -191,12 +193,18 @@ source "openstack" "openhpc" {
191
193
192
194
build {
193
195
194
- # latest fat image:
196
+ # latest nightly image:
195
197
source "source.openstack.openhpc" {
196
198
name = " rocky-latest"
197
199
image_name = " ${ source . name } -${ var . os_version } "
198
200
}
199
201
202
+ # latest nightly cuda image:
203
+ source "source.openstack.openhpc" {
204
+ name = " rocky-latest-cuda"
205
+ image_name = " ${ source . name } -${ var . os_version } "
206
+ }
207
+
200
208
# OFED fat image:
201
209
source "source.openstack.openhpc" {
202
210
name = " openhpc"
@@ -212,6 +220,7 @@ build {
212
220
# Extended site-specific image, built on fat image:
213
221
source "source.openstack.openhpc" {
214
222
name = " openhpc-extra"
223
+ image_name = " ${ source . name } -${ var . os_version } -${ local . timestamp } -${ substr (local. git_commit , 0 , 8 )} "
215
224
}
216
225
217
226
provisioner "ansible" {
0 commit comments