Compare commits
No commits in common. "d362b9fdcf050a0b3069158298a61447c5cdf77a" and "dc497178297456eb9689ae3a54bf5e10af81f1c6" have entirely different histories.
d362b9fdcf
...
dc49717829
3 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
lint:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
||||||
|
|
|
@ -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 tofu plan && \
|
TF_CLI_CONFIG_FILE=.terraformrc terraform plan && \
|
||||||
TF_CLI_CONFIG_FILE=.terraformrc tofu apply -auto-approve && \
|
TF_CLI_CONFIG_FILE=.terraformrc terraform apply -auto-approve && \
|
||||||
echo "✓ E2E test passed! Cleaning up..." && \
|
echo "✓ E2E test passed! Cleaning up..." && \
|
||||||
TF_CLI_CONFIG_FILE=.terraformrc tofu destroy -auto-approve && \
|
TF_CLI_CONFIG_FILE=.terraformrc terraform destroy -auto-approve && \
|
||||||
echo "✓ E2E test completed successfully"
|
echo "✓ E2E test completed successfully"
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
|
|
|
@ -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 tofu plan"
|
echo " TF_CLI_CONFIG_FILE=.terraformrc terraform 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."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue