mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
a3e26b6b9a
* build all branches, using master as latest Split devs and build step to cache dependencies on CI Add dockerignore to speed up docker build
28 lines
827 B
YAML
28 lines
827 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:dev
|
|
- docker run -v $(pwd):/go/src/github.com/kolide/kolide-ose -v /home/ubuntu/.go_workspace/pkg:/go/pkg kolide/kolide-builder:dev --deps
|
|
cache_directories:
|
|
- "vendor"
|
|
- "node_modules"
|
|
|
|
test:
|
|
override:
|
|
- docker run -v $(pwd):/go/src/github.com/kolide/kolide-ose -v /home/ubuntu/.go_workspace/pkg:/go/pkg kolide/kolide-builder:dev --build
|
|
|
|
deployment:
|
|
development:
|
|
branch: /.*/
|
|
commands:
|
|
- make docker-build-circle
|