Deploy Key gitea actions secret
All checks were successful
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 4m51s

This commit is contained in:
Mike Holloway 2025-01-07 18:12:38 -05:00
parent 19dc7cb495
commit 9dad63a0e0
2 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -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