Merge pull request #185 from XinFinOrg/update-devnet-cicd-readme

Update CICD devnet readme to include temporary instruction on spin up…
This commit is contained in:
Jerome 2022-10-02 12:39:42 +11:00 committed by GitHub
commit 1b1659b111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,8 +4,9 @@ This directory contains CI/CD scripts used for each of the XDC environments.
### Devnet
Each PR merged into `dev-upgrade` will trigger below actions:
- Tests
- Terraform to apply infrascture changes(if any)
- Docker build of XDC with devnet configurations with tag of `:latest`
- Docker push to AWS ECR
- Docker push to docker hub. https://hub.docker.com/repository/docker/xinfinorg/devnet
- Deployment of the latest XDC image(from above) to devnet run by AWS ECS
In order to allow pipeline able to push and deploy via ECR and ECS, we require below environment variables to be injected into the CI pipeline:
@ -14,6 +15,10 @@ In order to allow pipeline able to push and deploy via ECR and ECS, we require b
3. AWS_ACCESS_KEY_ID
4. AWS_SECRET_ACCESS_KEY
#### How to spin up more nodes in devnet
NOTE: The terraform managed auto deployment is still under deployment. The current best way to spin up new nodes is done by below:
1. `docker pull xinfinorg/devnet:latest`
2. `docker run -it -e PRIVATE_KEYS={{Wallet-Private-key-Here}} xinfinorg/devnet:latest`
### Testnet