fleet/circle.yml
Victor Vrantchan e296098131 Docker Push of new builds (#192)
* wip

* add build step

* remove filter?

* circle does not rebuild on force push

* circle does not rebuild on force push

* add branch filter

* use build flag on builder

* push

* add circle env variable set

* redeploy
2016-09-19 15:54:57 -07:00

26 lines
667 B
YAML

machine:
pre:
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.1-circleci'
- sudo chmod 0755 /usr/bin/docker
services:
- docker
dependencies:
pre:
- docker info
- docker login -e $DOCKER_HUB_EMAIL -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
override:
- docker pull kolide/kolide-builder:1.7
test:
override:
- docker run -v $(pwd):/go/src/github.com/kolide/kolide-ose -v /home/ubuntu/.go_workspace/pkg:/go/pkg kolide/kolide-builder:1.7 -B
deployment:
development:
branch: /^((?!master).)*$/ # not the master branch
commands:
- make docker-build-circle