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
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
export TARGET_IP_ADDRESS=$(tofu output -raw act_worker_ip_address)
|
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
|
cd ${{ gitea.workspace}}/podman-host/extensions
|
||||||
molecule test -s linode
|
molecule test -s linode
|
||||||
working-directory: "${{ gitea.workspace }}/podman-host/.gitea/tofu"
|
working-directory: "${{ gitea.workspace }}/podman-host/.gitea/tofu"
|
||||||
|
|||||||
@ -13,7 +13,10 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Confirm we can reach
|
- name: Confirm we can reach
|
||||||
command:
|
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
|
retries: 12
|
||||||
delay: 10
|
delay: 10
|
||||||
register: isping
|
register: isping
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user