1- name : Test DOCA extra build
1+ name : Test extra build
22on :
33 workflow_dispatch :
44 push :
77 paths :
88 - ' environments/.stackhpc/terraform/cluster_image.auto.tfvars.json'
99 - ' ansible/roles/doca/**'
10- - ' .github/workflows/doca'
10+ - ' ansible/roles/cuda/**'
11+ - ' .github/workflows/extra.yml'
1112 pull_request :
1213 paths :
1314 - ' environments/.stackhpc/terraform/cluster_image.auto.tfvars.json'
1415 - ' ansible/roles/doca/**'
15- - ' .github/workflows/doca'
16+ - ' ansible/roles/cuda/**'
17+ - ' .github/workflows/extra.yml'
1618
1719jobs :
1820 doca :
19- name : doca -build
21+ name : extra -build
2022 concurrency :
2123 group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.build.image_name }} # to branch/PR + OS
2224 cancel-in-progress : true
@@ -25,12 +27,14 @@ jobs:
2527 fail-fast : false # allow other matrix jobs to continue even if one fails
2628 matrix : # build RL8, RL9
2729 build :
28- - image_name : openhpc-doca -RL8
30+ - image_name : openhpc-extra -RL8
2931 source_image_name_key : RL8 # key into environments/.stackhpc/terraform/cluster_image.auto.tfvars.json
30- inventory_groups : doca
31- - image_name : openhpc-doca-RL9
32+ inventory_groups : doca,cuda
33+ volume_size : 30 # needed for cuda
34+ - image_name : openhpc-extra-RL9
3235 source_image_name_key : RL9
33- inventory_groups : doca
36+ inventory_groups : doca,cuda
37+ volume_size : 30 # needed for cuda
3438 env :
3539 ANSIBLE_FORCE_COLOR : True
3640 OS_CLOUD : openstack
9599 -var "source_image_name=${{ fromJSON(env.FAT_IMAGES)['cluster_image'][matrix.build.source_image_name_key] }}" \
96100 -var "image_name=${{ matrix.build.image_name }}" \
97101 -var "inventory_groups=${{ matrix.build.inventory_groups }}" \
102+ -var "volume_size=${{ matrix.build.volume_size }}" \
98103 openstack.pkr.hcl
99104
100105 - name : Get created image names from manifest
0 commit comments