tofu and molecule combined test, with correct path for checkout and adjusted working-directory
Some checks failed
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 1m17s

This commit is contained in:
Mike Holloway 2025-01-07 06:23:28 -05:00
parent de2125deab
commit c1373fdeb4

View File

@ -18,14 +18,14 @@ jobs:
- uses: opentofu/setup-opentofu@v1
- name: tofu apply
run: "tofu init && tofu apply -auto-approve"
working-directory: "${{ gitea.workspace }}/.gitea/tofu"
working-directory: "${{ gitea.workspace }}/podman-host/.gitea/tofu"
- name: tofu output capture
run: |
export TARGET_IP_ADDRESS=$(tofu output -raw act_worker_ip_address)
cd ${{ gitea.workspace}}/podman-host/extensions
molecule test
working-directory: "${{ gitea.workspace }}/.gitea/tofu"
working-directory: "${{ gitea.workspace }}/podman-host/.gitea/tofu"
- name: tofu destroy
run: "sleep 180 && tofu destroy -auto-approve"
working-directory: "${{ gitea.workspace }}/.gitea/tofu"
working-directory: "${{ gitea.workspace }}/podman-host/.gitea/tofu"