Build gaia docker images during CI (#3282)

This commit is contained in:
mircea-c 2019-01-14 14:04:28 -05:00 committed by Jack Zampolin
parent 57c9de7c8b
commit baac2bc340
2 changed files with 30 additions and 2 deletions

View File

@ -39,8 +39,6 @@ docs_update: &docs_deploy
environment:
AWS_REGION: us-east-1
############
deps: &dependencies
run:
name: dependencies
@ -266,6 +264,7 @@ jobs:
make build-linux
make localnet-start
./scripts/localnet-blocks-test.sh 40 5 10 localhost
deploy_docs:
<<: *docs_deploy
steps:
@ -306,10 +305,38 @@ jobs:
source $BASH_ENV
make test_sim_gaia_fast
docker_image:
<<: *linux_defaults
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- setup_remote_docker:
docker_layer_caching: true
- run: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
GAIAD_VERSION="stable"
elif [ "${CIRCLE_BRANCH}" == "develop" ]; then
GAIAD_VERSION="develop"
else
GAIAD_VERSION=`/tmp/workspace/bin/gaiad version`
fi
docker build -t tendermint/gaia:$GAIAD_VERSION .
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push tendermint/gaia:$GAIAD_VERSION
workflows:
version: 2
test-suite:
jobs:
- docker_image:
filters:
branches:
only:
- master
- develop
requires:
- setup_dependencies
- macos_ci:
filters:
branches:

View File

@ -87,6 +87,7 @@ IMPROVEMENTS
* CI
* \#2498 Added macos CI job to CircleCI
* [#142](https://github.com/tendermint/devops/issues/142) Increased the number of blocks to be tested during multi-sim
* [#147](https://github.com/tendermint/devops/issues/142) Added docker image build to CI
BUG FIXES