Deploy Key gitea actions secret
All checks were successful
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 4m51s
All checks were successful
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 4m51s
This commit is contained in:
parent
19dc7cb495
commit
9dad63a0e0
@ -26,6 +26,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
run: |
|
||||
export TARGET_IP_ADDRESS=$(tofu output -raw act_worker_ip_address)
|
||||
export ACT_RUNNER_DEPLOY_KEY=${{ secrets.ACT_RUNNER_DEPLOY_KEY }}
|
||||
cd ${{ gitea.workspace}}/podman-host/extensions
|
||||
molecule test -s linode
|
||||
working-directory: "${{ gitea.workspace }}/podman-host/.gitea/tofu"
|
||||
|
||||
@ -13,7 +13,10 @@
|
||||
tasks:
|
||||
- name: Confirm we can reach
|
||||
command:
|
||||
cmd: "ssh -o StrictHostKeyChecking=no -T root@{{ lookup('env', 'TARGET_IP_ADDRESS') }}"
|
||||
cmd: |
|
||||
echo {{ lookup('env', 'ACT_RUNNER_DEPLOY_KEY') }} > ~/.ssh/id_ed25519
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
ssh -o StrictHostKeyChecking=no -T root@{{ lookup('env', 'TARGET_IP_ADDRESS') }}
|
||||
retries: 12
|
||||
delay: 10
|
||||
register: isping
|
||||
|
||||
Loading…
Reference in New Issue
Block a user