mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
switch circle.yml to go1.8 builder image (#550)
This commit is contained in:
parent
4c742886c9
commit
77e15c8954
@ -10,9 +10,10 @@ dependencies:
|
||||
- docker info
|
||||
- docker login -e $DOCKER_HUB_EMAIL -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
|
||||
override:
|
||||
- docker pull kolide/kolide-builder:1.7
|
||||
- docker pull redis
|
||||
- docker run -v $(pwd):/go/src/github.com/kolide/kolide-ose -v /home/ubuntu/.go_workspace/pkg:/go/pkg kolide/kolide-builder:1.7 --deps
|
||||
- docker pull mysql:5.7
|
||||
- docker pull kolide/kolide-builder:1.8
|
||||
- docker run -v $(pwd):/go/src/github.com/kolide/kolide-ose -v /home/ubuntu/.go_workspace/pkg:/go/pkg kolide/kolide-builder:1.8 --deps
|
||||
cache_directories:
|
||||
- "vendor"
|
||||
- "node_modules"
|
||||
@ -21,7 +22,7 @@ test:
|
||||
override:
|
||||
- docker run -d --name redis redis
|
||||
- docker run -d --name mysql -e MYSQL_ROOT_PASSWORD=toor -e MYSQL_DATABASE=kolide -e MYSQL_USER=kolide -e MYSQL_PASSWORD=kolide mysql:5.7
|
||||
- docker run --link redis:redis --link mysql:mysql -e MYSQL_TEST=true -e REDIS_TEST=true -v $(pwd):/go/src/github.com/kolide/kolide-ose -v /home/ubuntu/.go_workspace/pkg:/go/pkg kolide/kolide-builder:1.7 --build
|
||||
- docker run --link redis:redis --link mysql:mysql -e MYSQL_TEST=true -e REDIS_TEST=true -v $(pwd):/go/src/github.com/kolide/kolide-ose -v /home/ubuntu/.go_workspace/pkg:/go/pkg kolide/kolide-builder:1.8 --build
|
||||
- docker stop $(docker ps -a -q)
|
||||
|
||||
deployment:
|
||||
|
Loading…
Reference in New Issue
Block a user