Skip to content

Commit

Permalink
Publish latest images from CI on successful builds.
Browse files Browse the repository at this point in the history
This time rebuild without insturmentation first.
  • Loading branch information
Tom Wilkie committed Sep 25, 2015
1 parent 0cf3de4 commit 95dae3a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions circle.yml
Expand Up @@ -47,6 +47,8 @@ test:
- cd $SRCDIR/test; eval $(./gce.sh hosts); export COVERAGE=true; ./run_all.sh:
parallel: true
timeout: 300
- docker run -v /var/run/docker.sock:/run/docker.sock -v /home/ubuntu:/home/go weaveworks/weave-build:
parallel: true
post:
- cd $SRCDIR/test; ./gce.sh destroy:
parallel: true
Expand All @@ -59,3 +61,11 @@ teardown:
parallel: true
- test "$CIRCLE_NODE_INDEX" != "0" || (cd $SRCDIR/test; cp coverage.* $CIRCLE_ARTIFACTS):
parallel: true

deployment:
hub:
branch: master
owner: weaveworks
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- make publish

0 comments on commit 95dae3a

Please sign in to comment.