tofu and molecule combined test, correct scenario flag, correct ANSIBLE_ROLES_PATH env var
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 1m26s
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 1m26s
This commit is contained in:
1 parent
a895093720
commit
5c75f85d9d
1 file changed
+2
-1
@@ -8,6 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Explore-terraform-molecule-Gitea-Action:
|
Explore-terraform-molecule-Gitea-Action:
|
||||||
env:
|
env:
|
||||||
|
ANSIBLE_ROLES_PATH: '/workspace/seasharp/ansible-role_podman-host'
|
||||||
TF_VAR_token: "${{ secrets.LINODE_API_TOKEN }}"
|
TF_VAR_token: "${{ secrets.LINODE_API_TOKEN }}"
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -25,7 +26,7 @@ jobs:
|
|||||||
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 -s linode
|
||||||
working-directory: "${{ gitea.workspace }}/podman-host/.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"
|
||||||
|
|||||||
Reference in new issue
Block a user