diff --git a/.github/workflows/fatimage.yml b/.github/workflows/fatimage.yml index aed674862..2760360f4 100644 --- a/.github/workflows/fatimage.yml +++ b/.github/workflows/fatimage.yml @@ -22,10 +22,12 @@ jobs: fail-fast: false # allow other matrix jobs to continue even if one fails matrix: # build RL8, RL9 build: - - label: RL8 + - image_name: openhpc-RL8 source_image_name: rocky-latest-RL8 - - label: RL9 + inventory_groups: control,compute,login + - image_name: openhpc-RL9 source_image_name: rocky-latest-RL9 + inventory_groups: control,compute,login env: ANSIBLE_FORCE_COLOR: True OS_CLOUD: openstack @@ -78,8 +80,8 @@ jobs: -on-error=${{ vars.PACKER_ON_ERROR }} \ -var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \ -var "source_image_name=${{ matrix.build.source_image_name }}" \ - -var "image_name=openhpc-${{ matrix.build.label }}" \ - -var "inventory_groups=control,compute,login" \ + -var "image_name=${{ matrix.build.image_name }}" \ + -var "inventory_groups=${{ matrix.build.inventory_groups }}" \ openstack.pkr.hcl - name: Get created image names from manifest @@ -97,7 +99,7 @@ jobs: - name: Upload manifest artifact uses: actions/upload-artifact@v4 with: - name: image-details-${{ matrix.build.label }} + name: image-details-${{ matrix.build.image_name }} path: | ./image-id.txt ./image-name.txt diff --git a/.github/workflows/nightlybuild.yml b/.github/workflows/nightlybuild.yml index 3a58fa46c..7b79a6839 100644 --- a/.github/workflows/nightlybuild.yml +++ b/.github/workflows/nightlybuild.yml @@ -24,10 +24,12 @@ jobs: fail-fast: false # allow other matrix jobs to continue even if one fails matrix: # build RL8, RL9 build: - - label: RL8 + - image_name: rocky-latest-RL8 source_image_name: Rocky-8-GenericCloud-Base-8.9-20231119.0.x86_64.qcow2 - - label: RL9 + inventory_groups: update + - image_name: rocky-latest-RL9 source_image_name: Rocky-9-GenericCloud-Base-9.4-20240523.0.x86_64.qcow2 + inventory_groups: update env: ANSIBLE_FORCE_COLOR: True OS_CLOUD: openstack @@ -80,8 +82,8 @@ jobs: -on-error=${{ vars.PACKER_ON_ERROR }} \ -var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \ -var "source_image_name=${{ matrix.build.source_image_name }}" \ - -var "image_name=rocky-latest-${{ matrix.build.label }}" \ - -var "inventory_groups=update" \ + -var "image_name=${{ matrix.build.image_name }}" \ + -var "inventory_groups=${{ matrix.build.inventory_groups }}" \ openstack.pkr.hcl - name: Get created image names from manifest