File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4343 OS_CLOUD : openstack
4444 CI_CLOUD : ${{ vars.CI_CLOUD }} # default from repo settings
4545 ARK_PASSWORD : ${{ secrets.ARK_PASSWORD }}
46+ PACKER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4647
4748 steps :
4849 - uses : actions/checkout@v2
9596 . environments/.stackhpc/activate
9697 cd packer/
9798 packer init .
98-
99+
99100 PACKER_LOG=1 packer build \
100101 -on-error=${{ vars.PACKER_ON_ERROR }} \
101102 -var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \
@@ -104,7 +105,7 @@ jobs:
104105 -var "inventory_groups=${{ matrix.build.inventory_groups }}" \
105106 -var "volume_size=${{ matrix.build.volume_size }}" \
106107 openstack.pkr.hcl
107-
108+
108109 - name : Get created image names from manifest
109110 id : manifest
110111 run : |
Original file line number Diff line number Diff line change 3939 CI_CLOUD : ${{ github.event.inputs.ci_cloud }}
4040 ARK_PASSWORD : ${{ secrets.ARK_PASSWORD }}
4141 LEAFCLOUD_PULP_PASSWORD : ${{ secrets.LEAFCLOUD_PULP_PASSWORD }}
42+ PACKER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4243
4344 steps :
4445 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 3636 CI_CLOUD : ${{ github.event.inputs.ci_cloud || vars.CI_CLOUD }}
3737 ARK_PASSWORD : ${{ secrets.ARK_PASSWORD }}
3838 LEAFCLOUD_PULP_PASSWORD : ${{ secrets.LEAFCLOUD_PULP_PASSWORD }}
39+ PACKER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3940
4041 steps :
4142 - uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments