File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ jobs:
36
36
matrix : # build RL8, RL9
37
37
build :
38
38
- 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
40
40
inventory_groups : doca
41
41
- image_name : openhpc-doca-RL9
42
- source_image_name : openhpc- RL9 # TODO: as above
42
+ source_image_name_key : RL9
43
43
inventory_groups : doca
44
44
env :
45
45
ANSIBLE_FORCE_COLOR : True
@@ -102,7 +102,7 @@ jobs:
102
102
PACKER_LOG=1 packer build \
103
103
-on-error=${{ vars.PACKER_ON_ERROR }} \
104
104
-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] }} \
106
106
-var "image_name=${{ matrix.build.image_name }}" \
107
107
-var "inventory_groups=${{ matrix.build.inventory_groups }}" \
108
108
openstack.pkr.hcl
You can’t perform that action at this time.
0 commit comments