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
Some checks failed
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 1m17s
This commit is contained in:
parent
de2125deab
commit
c1373fdeb4
@ -18,14 +18,14 @@ jobs:
|
|||||||
- uses: opentofu/setup-opentofu@v1
|
- uses: opentofu/setup-opentofu@v1
|
||||||
- name: tofu apply
|
- name: tofu apply
|
||||||
run: "tofu init && tofu apply -auto-approve"
|
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
|
- name: tofu output capture
|
||||||
run: |
|
run: |
|
||||||
export TARGET_IP_ADDRESS=$(tofu output -raw act_worker_ip_address)
|
export TARGET_IP_ADDRESS=$(tofu output -raw act_worker_ip_address)
|
||||||
cd ${{ gitea.workspace}}/podman-host/extensions
|
cd ${{ gitea.workspace}}/podman-host/extensions
|
||||||
molecule test
|
molecule test
|
||||||
working-directory: "${{ gitea.workspace }}/.gitea/tofu"
|
working-directory: "${{ gitea.workspace }}/podman-host/.gitea/tofu"
|
||||||
- name: tofu destroy
|
- name: tofu destroy
|
||||||
run: "sleep 180 && tofu destroy -auto-approve"
|
run: "sleep 180 && tofu destroy -auto-approve"
|
||||||
working-directory: "${{ gitea.workspace }}/.gitea/tofu"
|
working-directory: "${{ gitea.workspace }}/podman-host/.gitea/tofu"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user