mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
e296098131
* 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
26 lines
667 B
YAML
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
|
|
|
|
|