2016-08-13 21:49:19 +00:00
|
|
|
machine:
|
2016-08-20 00:05:24 +00:00
|
|
|
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
|
|
|
|
|
2016-08-10 05:15:44 +00:00
|
|
|
dependencies:
|
2016-08-20 00:05:24 +00:00
|
|
|
pre:
|
|
|
|
- docker info
|
|
|
|
- docker login -e $DOCKER_HUB_EMAIL -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
|
2016-08-13 21:49:19 +00:00
|
|
|
override:
|
2016-09-04 15:55:26 +00:00
|
|
|
- docker pull kolide/kolide-builder:1.7
|
2016-08-20 00:05:24 +00:00
|
|
|
|
2016-08-10 05:15:44 +00:00
|
|
|
test:
|
2016-08-09 03:42:24 +00:00
|
|
|
override:
|
2016-09-19 22:54:57 +00:00
|
|
|
- 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
|
|
|
|
|
|
|
|
|