-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use dotenv cli instead of sourcing .env.test
- Loading branch information
Showing
3 changed files
with
84 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,91 @@ | ||
export CLIENT_ID="i am a client" | ||
export CLIENT_SECRET="i am a secret" | ||
export REDIRECT_URI="http://localhost:8081/v1/auth" | ||
export NODE_ENV="test" | ||
export COOKIE_DOMAIN="localhost" | ||
export AUTH_TOKEN_EXPIRY_DURATION_IN_MILLISECONDS=800000000 | ||
export JWT_SECRET="blah" | ||
export ENCRYPTION_SECRET="blah" | ||
export FRONTEND_URL="http://localhost:3000" | ||
export GITHUB_ORG_NAME="isomerpages" | ||
export GITHUB_BUILD_ORG_NAME="opengovsg" | ||
export GITHUB_BUILD_REPO_NAME="isomer-build" | ||
export MUTEX_TABLE_NAME="mutex-table" | ||
export MAX_NUM_OTP_ATTEMPTS=5 | ||
export OTP_EXPIRY=900000 | ||
export SESSION_SECRET=blahblah | ||
CLIENT_ID="i am a client" | ||
CLIENT_SECRET="i am a secret" | ||
REDIRECT_URI="http://localhost:8081/v1/auth" | ||
NODE_ENV="test" | ||
COOKIE_DOMAIN="localhost" | ||
AUTH_TOKEN_EXPIRY_DURATION_IN_MILLISECONDS=800000000 | ||
JWT_SECRET="blah" | ||
ENCRYPTION_SECRET="blah" | ||
FRONTEND_URL="http://localhost:3000" | ||
GITHUB_ORG_NAME="isomerpages" | ||
GITHUB_BUILD_ORG_NAME="opengovsg" | ||
GITHUB_BUILD_REPO_NAME="isomer-build" | ||
MUTEX_TABLE_NAME="mutex-table" | ||
MAX_NUM_OTP_ATTEMPTS=5 | ||
OTP_EXPIRY=900000 | ||
SESSION_SECRET=blahblah | ||
|
||
# GitHub access token to create repo | ||
export SYSTEM_GITHUB_TOKEN="github_token" | ||
SYSTEM_GITHUB_TOKEN="github_token" | ||
|
||
# FormSG keys | ||
export SITE_CREATE_FORM_KEY="site_form_key" | ||
export SITE_LAUNCH_FORM_KEY="site_launch_form_key" | ||
export GGS_REPAIR_FORM_KEY="ggs_repair_form_key" | ||
export SITE_CHECKER_FORM_KEY="site_checker_form_key" | ||
export SITE_AUDIT_LOGS_FORM_KEY="site_audit_logs_form_key" | ||
export NOTIFY_SITE_COLLABORATORS_FORM_KEY="notify_site_collaborators_form_key" | ||
SITE_CREATE_FORM_KEY="site_form_key" | ||
SITE_LAUNCH_FORM_KEY="site_launch_form_key" | ||
GGS_REPAIR_FORM_KEY="ggs_repair_form_key" | ||
SITE_CHECKER_FORM_KEY="site_checker_form_key" | ||
SITE_AUDIT_LOGS_FORM_KEY="site_audit_logs_form_key" | ||
NOTIFY_SITE_COLLABORATORS_FORM_KEY="notify_site_collaborators_form_key" | ||
|
||
# Required to connect to DynamoDB | ||
export AWS_ACCESS_KEY_ID="abc123" | ||
export AWS_SECRET_ACCESS_KEY="xyz123" | ||
AWS_ACCESS_KEY_ID="abc123" | ||
AWS_SECRET_ACCESS_KEY="xyz123" | ||
|
||
# Required to run end-to-end tests | ||
export E2E_TEST_REPO="e2e-test-repo" | ||
export E2E_TEST_SECRET="test" | ||
export E2E_TEST_GH_TOKEN="test" | ||
E2E_TEST_REPO="e2e-test-repo" | ||
E2E_TEST_SECRET="test" | ||
E2E_TEST_GH_TOKEN="test" | ||
|
||
# Database | ||
export DB_URI="postgres://isomer:[email protected]:54321/isomercms_test" | ||
export DB_MIN_POOL="1" | ||
export DB_MAX_POOL="10" | ||
export DB_ENABLE_LOGGING="true" | ||
DB_URI="postgres://isomer:[email protected]:54321/isomercms_test" | ||
DB_MIN_POOL="1" | ||
DB_MAX_POOL="10" | ||
DB_ENABLE_LOGGING="true" | ||
|
||
export LOCAL_SITE_ACCESS_TOKEN="dummy" | ||
export OTP_SECRET="dummysecret" | ||
LOCAL_SITE_ACCESS_TOKEN="dummy" | ||
OTP_SECRET="dummysecret" | ||
|
||
export POSTMAN_API_KEY="some api key" | ||
POSTMAN_API_KEY="some api key" | ||
|
||
# SMS | ||
export POSTMAN_SMS_CRED_NAME="isomer" | ||
POSTMAN_SMS_CRED_NAME="isomer" | ||
|
||
# Amplify | ||
export AWS_REGION="ap-southeast-1" | ||
export AWS_ACCOUNT_NUMBER="random" | ||
AWS_REGION="ap-southeast-1" | ||
AWS_ACCOUNT_NUMBER="random" | ||
|
||
# DataDog | ||
export DD_ENV="ci" | ||
export DD_SERVICE="isomer" | ||
export DD_TAGS="service:isomer" | ||
DD_ENV="ci" | ||
DD_SERVICE="isomer" | ||
DD_TAGS="service:isomer" | ||
|
||
# Cloudmersive | ||
export CLOUDMERSIVE_API_KEY="cloudmersive" | ||
CLOUDMERSIVE_API_KEY="cloudmersive" | ||
|
||
# GitGuardian | ||
export GITGUARDIAN_API_KEY="gitguardian" | ||
GITGUARDIAN_API_KEY="gitguardian" | ||
|
||
# SQS Queue | ||
export INCOMING_QUEUE_URL="incoming" | ||
export OUTGOING_QUEUE_URL="outgoing" | ||
export SITE_LAUNCH_QUEUE_URL="site_launch" | ||
INCOMING_QUEUE_URL="incoming" | ||
OUTGOING_QUEUE_URL="outgoing" | ||
SITE_LAUNCH_QUEUE_URL="site_launch" | ||
|
||
# DynamoDB | ||
export SITE_LAUNCH_DYNAMO_DB_TABLE_NAME="ddb-name" | ||
export STEP_FUNCTIONS_ARN="arn:aws:some-arn" | ||
export SITE_PASSWORD_SECRET_KEY="1234567812345678123456781234567812345678123456781234567812345678" | ||
SITE_LAUNCH_DYNAMO_DB_TABLE_NAME="ddb-name" | ||
STEP_FUNCTIONS_ARN="arn:aws:some-arn" | ||
SITE_PASSWORD_SECRET_KEY="1234567812345678123456781234567812345678123456781234567812345678" | ||
|
||
export NETLIFY_ACCESS_TOKEN="blahblah" | ||
NETLIFY_ACCESS_TOKEN="blahblah" | ||
|
||
# sgID | ||
export SGID_CLIENT_ID="client" | ||
export SGID_CLIENT_SECRET="secret" | ||
export SGID_PRIVATE_KEY="private" | ||
export SGID_REDIRECT_URI="http://localhost:8081/v2/auth/sgid/auth-redirect" | ||
SGID_CLIENT_ID="client" | ||
SGID_CLIENT_SECRET="secret" | ||
SGID_PRIVATE_KEY="private" | ||
SGID_REDIRECT_URI="http://localhost:8081/v2/auth/sgid/auth-redirect" | ||
|
||
# GrowthBook | ||
export GROWTHBOOK_CLIENT_KEY="some random key" | ||
GROWTHBOOK_CLIENT_KEY="some random key" | ||
|
||
export KEYCDN_API_KEY="secret" | ||
KEYCDN_API_KEY="secret" | ||
|
||
export REDIS_HOST="redis" | ||
REDIS_HOST="redis" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters