88 - ' environments/.stackhpc/tofu/cluster_image.auto.tfvars.json'
99 - ' ansible/roles/doca/**'
1010 - ' ansible/roles/cuda/**'
11+ - ' ansible/roles/slurm_recompile/**' # runs on cuda group
1112 - ' ansible/roles/lustre/**'
1213 - ' .github/workflows/extra.yml'
1314 pull_request :
@@ -32,16 +33,17 @@ jobs:
3233 - image_name : openhpc-extra-RL8
3334 source_image_name_key : RL8 # key into environments/.stackhpc/tofu/cluster_image.auto.tfvars.json
3435 inventory_groups : doca,cuda,lustre
35- volume_size : 30 # needed for cuda
36+ volume_size : 35 # needed for cuda
3637 - image_name : openhpc-extra-RL9
3738 source_image_name_key : RL9
3839 inventory_groups : doca,cuda,lustre
39- volume_size : 30 # needed for cuda
40+ volume_size : 35 # needed for cuda
4041 env :
4142 ANSIBLE_FORCE_COLOR : True
4243 OS_CLOUD : openstack
4344 CI_CLOUD : ${{ vars.CI_CLOUD }} # default from repo settings
4445 ARK_PASSWORD : ${{ secrets.ARK_PASSWORD }}
46+ PACKER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4547
4648 steps :
4749 - uses : actions/checkout@v2
9496 . environments/.stackhpc/activate
9597 cd packer/
9698 packer init .
97-
99+
98100 PACKER_LOG=1 packer build \
99101 -on-error=${{ vars.PACKER_ON_ERROR }} \
100102 -var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \
@@ -103,7 +105,7 @@ jobs:
103105 -var "inventory_groups=${{ matrix.build.inventory_groups }}" \
104106 -var "volume_size=${{ matrix.build.volume_size }}" \
105107 openstack.pkr.hcl
106-
108+
107109 - name : Get created image names from manifest
108110 id : manifest
109111 run : |
@@ -121,7 +123,7 @@ jobs:
121123 - name : Make image usable for further builds
122124 run : |
123125 . venv/bin/activate
124- openstack image unset --property signature_verified "${{ steps.manifest.outputs.image-id }}"
126+ openstack image unset --property signature_verified "${{ steps.manifest.outputs.image-id }}" || true
125127
126128 - name : Delete image for automatically-run workflows
127129 run : |
0 commit comments