Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 1m15s
30 lines
933 B
YAML
30 lines
933 B
YAML
name: Gitea Actions - molecule test work
|
|
run-name: ${{ gitea.actor }} is running molecule test work
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'linode-test'
|
|
|
|
jobs:
|
|
Explore-terraform-molecule-Gitea-Action:
|
|
env:
|
|
TF_VAR_token: "${{ secrets.LINODE_API_TOKEN }}"
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: opentofu/setup-opentofu@v1
|
|
- name: tofu apply
|
|
run: "tofu init && tofu apply -auto-approve"
|
|
working-directory: "${{ gitea.workspace }}/.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"
|
|
- name: tofu destroy
|
|
run: "sleep 180 && tofu destroy -auto-approve"
|
|
working-directory: "${{ gitea.workspace }}/.gitea/tofu"
|
|
|