pr comments

pull/241/head
Garrett Delfosse 1 year ago
parent 85e73c2071
commit c068082e6b

@ -10,7 +10,7 @@ To create a new module, clone this repository and run:
A suite of test-helpers exists to run `terraform apply` on modules with variables, and test script output against containers. A suite of test-helpers exists to run `terraform apply` on modules with variables, and test script output against containers.
The testing suite must be able to run docker containers with the `--network=host` flag, which typically requires running the tests on linux as this flag does not apply to Docker Desktop for MacOS and Windows. MacOS users can work around this by using something like [Orbstack](https://orbstack.dev/) instead of Docker Desktop. The testing suite must be able to run docker containers with the `--network=host` flag, which typically requires running the tests on Linux as this flag does not apply to Docker Desktop for MacOS and Windows. MacOS users can work around this by using something like [colima](https://github.com/abiosoft/colima) or [Orbstack](https://orbstack.dev/) instead of Docker Desktop.
Reference existing `*.test.ts` files for implementation. Reference existing `*.test.ts` files for implementation.

@ -3,22 +3,22 @@
set -e set -e
if [ -z "$CODER_ACCESS_URL" ]; then if [ -z "$CODER_ACCESS_URL" ]; then
echo "No CODER_ACCESS_URL specified!" echo "CODER_ACCESS_URL is empty!"
exit 1 exit 1
fi fi
if [ -z "$CODER_OWNER_SESSION_TOKEN" ]; then if [ -z "$CODER_OWNER_SESSION_TOKEN" ]; then
echo "No CODER_OWNER_SESSION_TOKEN specified!" echo "CODER_OWNER_SESSION_TOKEN is empty!"
exit 1 exit 1
fi fi
if [ -z "$CODER_EXTERNAL_AUTH_ID" ]; then if [ -z "$CODER_EXTERNAL_AUTH_ID" ]; then
echo "No CODER_EXTERNAL_AUTH_ID specified!" echo "CODER_EXTERNAL_AUTH_ID is empty!"
exit 1 exit 1
fi fi
if [ -z "$GITHUB_API_URL" ]; then if [ -z "$GITHUB_API_URL" ]; then
echo "No GITHUB_API_URL specified!" echo "GITHUB_API_URL is empty!"
exit 1 exit 1
fi fi

Loading…
Cancel
Save