Skip to content

Commit 73d9f33

Browse files
committed
use current fatimage for doca test build
1 parent 4831b9c commit 73d9f33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/doca.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
matrix: # build RL8, RL9
3737
build:
3838
- image_name: openhpc-doca-RL8
39-
source_image_name: openhpc-RL8 # TODO: needs to be injected from environments/.stackhpc/terraform/cluster_image.auto.tfvars.json
39+
source_image_name_key: RL8 # key into environments/.stackhpc/terraform/cluster_image.auto.tfvars.json
4040
inventory_groups: doca
4141
- image_name: openhpc-doca-RL9
42-
source_image_name: openhpc-RL9 # TODO: as above
42+
source_image_name_key: RL9
4343
inventory_groups: doca
4444
env:
4545
ANSIBLE_FORCE_COLOR: True
@@ -102,7 +102,7 @@ jobs:
102102
PACKER_LOG=1 packer build \
103103
-on-error=${{ vars.PACKER_ON_ERROR }} \
104104
-var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \
105-
-var "source_image_name=${{ matrix.build.source_image_name }}" \
105+
-var "source_image_name=fromJSON(env.FAT_IMAGES)['cluster_image'][matrix.build.source_image_name_key] }} \
106106
-var "image_name=${{ matrix.build.image_name }}" \
107107
-var "inventory_groups=${{ matrix.build.inventory_groups }}" \
108108
openstack.pkr.hcl

0 commit comments

Comments
 (0)