Skip to content

Commit

Permalink
ci: container image deployment integrated to all relevant stages of t…
Browse files Browse the repository at this point in the history
…he pipeline

* `integration:deployment` - deploys to testenet
* `integration:prerelease` - deploys to GitLab container registry as `testnet`
* `release:deployment:branch` - deploys to mainnet
* `release:deployment:tag` - deploys to mainnet
* `release:distribution` - deploys to GitLab container registry as `mainnet`
  • Loading branch information
CMCDragonkai committed Jul 11, 2022
1 parent 991ce7d commit a38ac91
Show file tree
Hide file tree
Showing 5 changed files with 571 additions and 511 deletions.
17 changes: 0 additions & 17 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,13 @@ NODE_ENV=development
# 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=
# Login credentials for GitLab's container registry
# Automatically injected from CI/CD
CI_REGISTRY_IMAGE=registry.gitlab.com/matrixai/open-source/js-polykey
CI_REGISTRY_USER=
CI_REGISTRY_PASSWORD=

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

# Container registry domain
PK_AWS_ECS_REGISTRY='015248367786.dkr.ecr.ap-southeast-2.amazonaws.com'
# Container repository
PK_AWS_ECS_IMAGE="$PK_AWS_ECS_REGISTRY/polykey"
# ECS cluster name
PK_AWS_ECS_CLUSTER='polykey-testnet'
# ECS service name
PK_AWS_ECS_SERVICE='polykey-testnet'

# 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`:
Expand Down
Loading

0 comments on commit a38ac91

Please sign in to comment.