Compare commits

...

2 commits

Author SHA1 Message Date
d362b9fdcf e2e-test: use opentofu
All checks were successful
CI / ci (push) Successful in 1m21s
2025-06-03 14:43:58 +02:00
1fc36c9cea ci: rename ci job 2025-06-03 14:42:35 +02:00
3 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@ on:
branches: branches:
- main - main
jobs: jobs:
lint: ci:
runs-on: docker runs-on: docker
container: container:
image: ghcr.io/catthehacker/ubuntu:runner-latest image: ghcr.io/catthehacker/ubuntu:runner-latest

View file

@ -38,10 +38,10 @@ e2e:
cd e2e-test && \ cd e2e-test && \
rm -rf .terraform/ .terraform.lock.hcl terraform.tfstate* && \ rm -rf .terraform/ .terraform.lock.hcl terraform.tfstate* && \
./setup-dev.sh && \ ./setup-dev.sh && \
TF_CLI_CONFIG_FILE=.terraformrc terraform plan && \ TF_CLI_CONFIG_FILE=.terraformrc tofu plan && \
TF_CLI_CONFIG_FILE=.terraformrc terraform apply -auto-approve && \ TF_CLI_CONFIG_FILE=.terraformrc tofu apply -auto-approve && \
echo "✓ E2E test passed! Cleaning up..." && \ echo "✓ E2E test passed! Cleaning up..." && \
TF_CLI_CONFIG_FILE=.terraformrc terraform destroy -auto-approve && \ TF_CLI_CONFIG_FILE=.terraformrc tofu destroy -auto-approve && \
echo "✓ E2E test completed successfully" echo "✓ E2E test completed successfully"
ci: ci:

View file

@ -43,6 +43,6 @@ echo " ./tf plan"
echo " ./tf apply" echo " ./tf apply"
echo "" echo ""
echo "Or use the full command:" echo "Or use the full command:"
echo " TF_CLI_CONFIG_FILE=.terraformrc terraform plan" echo " TF_CLI_CONFIG_FILE=.terraformrc tofu plan"
echo "" echo ""
echo "Note: Using local .terraformrc to avoid modifying your global configuration." echo "Note: Using local .terraformrc to avoid modifying your global configuration."