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 43
43
OS_CLOUD : openstack
44
44
CI_CLOUD : ${{ vars.CI_CLOUD }} # default from repo settings
45
45
ARK_PASSWORD : ${{ secrets.ARK_PASSWORD }}
46
+ PACKER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
47
47
48
steps :
48
49
- uses : actions/checkout@v2
95
96
. environments/.stackhpc/activate
96
97
cd packer/
97
98
packer init .
98
-
99
+
99
100
PACKER_LOG=1 packer build \
100
101
-on-error=${{ vars.PACKER_ON_ERROR }} \
101
102
-var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \
@@ -104,7 +105,7 @@ jobs:
104
105
-var "inventory_groups=${{ matrix.build.inventory_groups }}" \
105
106
-var "volume_size=${{ matrix.build.volume_size }}" \
106
107
openstack.pkr.hcl
107
-
108
+
108
109
- name : Get created image names from manifest
109
110
id : manifest
110
111
run : |
Original file line number Diff line number Diff line change 39
39
CI_CLOUD : ${{ github.event.inputs.ci_cloud }}
40
40
ARK_PASSWORD : ${{ secrets.ARK_PASSWORD }}
41
41
LEAFCLOUD_PULP_PASSWORD : ${{ secrets.LEAFCLOUD_PULP_PASSWORD }}
42
+ PACKER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
43
43
44
steps :
44
45
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change 36
36
CI_CLOUD : ${{ github.event.inputs.ci_cloud || vars.CI_CLOUD }}
37
37
ARK_PASSWORD : ${{ secrets.ARK_PASSWORD }}
38
38
LEAFCLOUD_PULP_PASSWORD : ${{ secrets.LEAFCLOUD_PULP_PASSWORD }}
39
+ PACKER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
40
40
41
steps :
41
42
- uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments