File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 11name : Create release
22
3- on : workflow_dispatch
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ TARGET_HOST_POOL :
7+ description : ' AWX host pool'
8+ required : false
9+ type : choice
10+ default : ' testnet'
11+ options :
12+ - ' testnet'
13+ - ' mainnet'
414
515jobs :
616 CI :
6171 export TOWER_USERNAME="${{ vars.AWX_USER }}"
6272 export TOWER_PASSWORD="${{ secrets.AWX_PASS }}"
6373 LOGIN_OUTPUT=$(awx login)
64- awx job_templates launch "${{ vars.AWX_TEMPLATE_NAME }}" --extra_vars '{"vm_name":"${{ vars.ENV_NETWORK }}","docker_image_tag":"kleverapp/klv-bridge:${{ github.sha }}"}' --job_tags update
74+ awx job_templates launch "${{ vars.AWX_TEMPLATE_NAME }}" --extra_vars '{"vm_name":"${{ vars.ENV_NETWORK || inputs.TARGET_HOST_POOL }}","docker_image_tag":"kleverapp/klv-bridge:${{ github.sha }}"}' --job_tags update
You can’t perform that action at this time.
0 commit comments