Skip to content

Commit

Permalink
Fix test file (get qcow and tag docker image)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Alvarez committed Dec 14, 2016
1 parent 5b67961 commit f3c957b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:

test:
override:
- curl -O image.img http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
- curl -o image.img http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
- docker run --name kvm -e AUTO_ATTACH=yes -d --privileged -v $PWD/image.img:/image/image bbvainnotech/kvm; sleep 90
- export containerIP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' kvm)
- (TIMEOUT=100; i=0; until nc -w 1 -z 172.17.0.2 22; do let 'i++' ; [[ $i -gt $TIMEOUT ]] && exit 1; echo -n . ; sleep 1; done)
Expand All @@ -19,4 +19,4 @@ deployment:
branch: master
commands:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker push bbvainnotech/kvm
- docker push bbvainnotech/kvm:latest

0 comments on commit f3c957b

Please sign in to comment.