4040 description : Default network interface name
4141 type : string
4242 default : ens3
43- vm_flavor :
44- description : Flavor for the all-in-one VM
45- type : string
46- default : en1.medium
47- vm_network :
48- description : Network for the all-in-one VM
49- type : string
50- default : stackhpc-ci
51- vm_subnet :
52- description : Subnet for the all-in-one VM
53- type : string
54- default : stackhpc-ci
55- OS_CLOUD :
56- description : Name of cloud in clouds.yaml
57- type : string
58- required : true
5943 if :
6044 description : Whether to run the workflow (workaround for required status checks issue)
6145 type : boolean
@@ -181,9 +165,9 @@ jobs:
181165 SSH_USERNAME : " ${{ inputs.ssh_username }}"
182166 VM_NAME : " skc-ci-aio-${{ inputs.neutron_plugin }}-${{ github.run_id }}"
183167 VM_IMAGE : ${{ steps.image_name.outputs.image_name }}
184- VM_FLAVOR : ${{ inputs.vm_flavor }}
185- VM_NETWORK : ${{ inputs.vm_network }}
186- VM_SUBNET : ${{ inputs.vm_subnet }}
168+ VM_FLAVOR : ${{ vars.AIO_FLAVOR }}
169+ VM_NETWORK : ${{ vars.AIO_NETWORK }}
170+ VM_SUBNET : ${{ vars.AIO_SUBNET }}
187171 VM_INTERFACE : ${{ inputs.vm_interface }}
188172 VM_VOLUME_SIZE : ${{ inputs.upgrade && '65' || '50' }}
189173 VM_TAGS : ' ["skc-ci-aio", "PR=${{ github.event.number }}"]'
@@ -192,7 +176,7 @@ jobs:
192176 run : terraform plan
193177 working-directory : ${{ github.workspace }}/terraform/aio
194178 env :
195- OS_CLOUD : ${{ inputs .OS_CLOUD }}
179+ OS_CLOUD : ${{ vars .OS_CLOUD }}
196180 OS_APPLICATION_CREDENTIAL_ID : ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
197181 OS_APPLICATION_CREDENTIAL_SECRET : ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
198182
@@ -213,7 +197,7 @@ jobs:
213197 exit 1
214198 working-directory : ${{ github.workspace }}/terraform/aio
215199 env :
216- OS_CLOUD : ${{ inputs .OS_CLOUD }}
200+ OS_CLOUD : ${{ vars .OS_CLOUD }}
217201 OS_APPLICATION_CREDENTIAL_ID : ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
218202 OS_APPLICATION_CREDENTIAL_SECRET : ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
219203
@@ -511,7 +495,7 @@ jobs:
511495 run : terraform destroy -auto-approve
512496 working-directory : ${{ github.workspace }}/terraform/aio
513497 env :
514- OS_CLOUD : ${{ inputs .OS_CLOUD }}
498+ OS_CLOUD : ${{ vars .OS_CLOUD }}
515499 OS_APPLICATION_CREDENTIAL_ID : ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
516500 OS_APPLICATION_CREDENTIAL_SECRET : ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
517501 if : always()
0 commit comments