File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,7 @@ image_build_attach_floating_ip: true
3333image_build_floating_ip_network : " CUDN-Internet"
3434image_build_source_image_id : " 2a77064b-be40-4065-b0f4-4d5417a4460a"
3535image_build_security_group_id : " 486dfc85-099b-4bbb-9375-60f320a7de18"
36+ # Debug
37+ image_build_ssh_private_key_file : " {{ lookup('ansible.builtin.env', 'DEBUG_SSH_KEY_PATH') }}"
38+ image_build_ssh_keypair_name : matta-stack
39+ image_build_packer_extra_args : " -debug -on-error=abort"
Original file line number Diff line number Diff line change 2626 OS_CLOUD : openstack
2727 OS_CLIENT_CONFIG_FILE : ${{ github.workspace }}/clouds.yaml
2828 EXTRA_VARS_FILE : .github/extra_vars/arcus.yml
29+ DEBUG_SSH_KEY_PATH : " ~/.ssh/id_rsa_debug"
2930 steps :
3031 - name : Checkout repository
3132 uses : actions/checkout@v3
3435
3536 - name : Install ansible etc
3637 run : dev/setup-env.sh
38+
39+ - name : Write debug SSH key
40+ run : |
41+ mkdir -p $(dirname $DEBUG_SSH_KEY_PATH)
42+ echo "${DEBUG_SSH_KEY}" > ${DEBUG_SSH_KEY_PATH}
43+ chmod 0600 ${DEBUG_SSH_KEY_PATH}
44+ env :
45+ DEBUG_SSH_KEY : ${{ secrets.DEBUG_SSH_KEY }}
3746
3847 - name : Write clouds.yaml
3948 run : |
You can’t perform that action at this time.
0 commit comments