Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testnet Deployment via CI/CD #396

Merged
merged 8 commits into from
Jul 11, 2022
35 changes: 29 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
DEBUG=
# Unused atm (jest sets this to `test`)
NODE_ENV=development
TMPDIR=$TMPDIR
#To allow testing different executables in the bin tests
#PK_TEST_DOCKER_IMAGE=$image #Specify the docker image that the `docker-run.sh` uses
#PK_TEST_COMMAND=scripts/docker-run.sh #Specify the executable we want to test against
#PK_TEST_COMMAND_DOCKER=DOCKER #Specify if the test is for docker for filtering relevant tests

# Debug node modules - https://nodejs.org/api/cli.html#node_debugmodule
# NODE_DEBUG=

# Debug node native modules - https://nodejs.org/api/cli.html#node_debug_nativemodule
# NODE_DEBUG_NATIVE=

# Path to PK executable to override tests/bin target
# PK_TEST_COMMAND=

# If set, indicates that `PK_TEST_COMMAND` is targetting docker
# PK_TEST_COMMAND_DOCKER=
# Accessing AWS for testnet.polykey.io and mainnet.polykey.io deployment
AWS_DEFAULT_REGION='ap-southeast-2'
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
CMCDragonkai marked this conversation as resolved.
Show resolved Hide resolved

# Path to container registry authentication file used by `skopeo`
# The file has the same contents as `DOCKER_AUTH_CONFIG`
# Use this command to acquire the auth file at `./tmp/auth.json`:
# ```
# printf 'PASSWORD' | skopeo login \
# --username 'USERNAME' \
# --password-stdin \
# $CI_REGISTRY_IMAGE \
# --authfile=./tmp/auth.json
# ```
# REGISTRY_AUTH_FILE=
CMCDragonkai marked this conversation as resolved.
Show resolved Hide resolved
Loading