Skip to content

Commit

Permalink
Merge pull request #396 from MatrixAI/feature-testnet-deployment
Browse files Browse the repository at this point in the history
Testnet Deployment via CI/CD
  • Loading branch information
CMCDragonkai authored Jul 11, 2022
2 parents 048e5d9 + 2df69eb commit a5010c0
Show file tree
Hide file tree
Showing 10 changed files with 394 additions and 125 deletions.
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=

# 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=
Loading

0 comments on commit a5010c0

Please sign in to comment.