Skip to content

Commit a5010c0

Browse files
authored
Merge pull request #396 from MatrixAI/feature-testnet-deployment
Testnet Deployment via CI/CD
2 parents 048e5d9 + 2df69eb commit a5010c0

10 files changed

Lines changed: 394 additions & 125 deletions

File tree

.env.example

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
1-
DEBUG=
1+
# Unused atm (jest sets this to `test`)
22
NODE_ENV=development
3-
TMPDIR=$TMPDIR
4-
#To allow testing different executables in the bin tests
5-
#PK_TEST_DOCKER_IMAGE=$image #Specify the docker image that the `docker-run.sh` uses
6-
#PK_TEST_COMMAND=scripts/docker-run.sh #Specify the executable we want to test against
7-
#PK_TEST_COMMAND_DOCKER=DOCKER #Specify if the test is for docker for filtering relevant tests
3+
4+
# Debug node modules - https://nodejs.org/api/cli.html#node_debugmodule
5+
# NODE_DEBUG=
6+
7+
# Debug node native modules - https://nodejs.org/api/cli.html#node_debug_nativemodule
8+
# NODE_DEBUG_NATIVE=
9+
10+
# Path to PK executable to override tests/bin target
11+
# PK_TEST_COMMAND=
12+
13+
# If set, indicates that `PK_TEST_COMMAND` is targetting docker
14+
# PK_TEST_COMMAND_DOCKER=
15+
# Accessing AWS for testnet.polykey.io and mainnet.polykey.io deployment
16+
AWS_DEFAULT_REGION='ap-southeast-2'
17+
AWS_ACCESS_KEY_ID=
18+
AWS_SECRET_ACCESS_KEY=
19+
20+
# Path to container registry authentication file used by `skopeo`
21+
# The file has the same contents as `DOCKER_AUTH_CONFIG`
22+
# Use this command to acquire the auth file at `./tmp/auth.json`:
23+
# ```
24+
# printf 'PASSWORD' | skopeo login \
25+
# --username 'USERNAME' \
26+
# --password-stdin \
27+
# $CI_REGISTRY_IMAGE \
28+
# --authfile=./tmp/auth.json
29+
# ```
30+
# REGISTRY_AUTH_FILE=

0 commit comments

Comments
 (0)