Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
Co-authored-by: alex-hunt-materialize <[email protected]>
  • Loading branch information
bobbyiliev and alex-hunt-materialize authored Dec 18, 2024
1 parent f56bf5e commit f0dfac5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ docker exec provider terraform plan -detailed-exitcode
docker exec provider terraform destroy -auto-approve -compact-warnings

# Self-hosted tests
docker exec provider sh -c "cd /usr/src/app/integration/self_hosted && terraform init"
docker exec provider sh -c "cd /usr/src/app/integration/self_hosted && terraform apply -auto-approve -compact-warnings"
docker exec provider sh -c "cd /usr/src/app/integration/self_hosted && terraform plan -detailed-exitcode"
docker exec provider sh -c "cd /usr/src/app/integration/self_hosted && terraform destroy -auto-approve -compact-warnings"
docker exec --workdir /usr/src/app/integration/self_hosted provider terraform init
docker exec --workdir /usr/src/app/integration/self_hosted provider terraform apply -auto-approve -compact-warnings
docker exec --workdir /usr/src/app/integration/self_hosted provider terraform plan -detailed-exitcode
docker exec --workdir /usr/src/app/integration/self_hosted provider terraform destroy -auto-approve -compact-warnings
```

> Note: You might have to delete the `integration/.terraform`, `integration/.terraform.lock.hcl` and `integration/terraform.tfstate*` files before running the tests. Or if you are running the self-hosted tests, you will have to delete the `integration/self_hosted/.terraform`, `integration/self_hosted/.terraform.lock.hcl` and `integration/self_hosted/terraform.tfstate*` files.
Expand Down

0 comments on commit f0dfac5

Please sign in to comment.