mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Allow the devnet environment to auto deploy new and old code
This commit is contained in:
parent
546aac62ea
commit
938de617d3
1 changed files with 4 additions and 0 deletions
|
|
@ -111,9 +111,13 @@ jobs:
|
|||
before_script:
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
- docker --version # document the version travis is using
|
||||
- docker pull xinfinorg/devnet:latest # build the "previous" tag so that our devnet environment can run with both old and new code at the same time.
|
||||
- docker tag xinfinorg/devnet:latest xinfinorg/devnet:previous
|
||||
- docker rmi xinfinorg/devnet:latest
|
||||
- docker build -t xinfinorg/devnet:latest -f cicd/Dockerfile .
|
||||
script:
|
||||
- docker push xinfinorg/devnet:latest
|
||||
- docker push xinfinorg/devnet:previous
|
||||
|
||||
- stage: (Devnet)Terraform plan
|
||||
if: branch = dev-upgrade AND type = push AND tag IS blank
|
||||
|
|
|
|||
Loading…
Reference in a new issue