From c11af183d86c313e9b4a981da0ca23dc649d7b2c Mon Sep 17 00:00:00 2001 From: Thomas LEVEIL Date: Mon, 14 Dec 2015 09:18:17 +0100 Subject: [PATCH] CircleCI: make tests run on Docker 1.9.1 See CircleCI announcement https://discuss.circleci.com/t/docker-1-9-1-is-available/1009 --- Makefile | 2 +- circle.yml | 4 ++-- test/lib/docker_helpers.bash | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4eaf98a..72e7984 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ update-dependencies: docker pull python:3 docker pull rancher/socat-docker:latest docker pull appropriate/curl:latest - docker pull docker:1.7 + docker pull docker:1.9 test: docker build -t jwilder/nginx-proxy:bats . diff --git a/circle.yml b/circle.yml index 424084c..e0ecf4d 100644 --- a/circle.yml +++ b/circle.yml @@ -1,7 +1,7 @@ machine: pre: - # install docker 1.7.1 - - sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.7.1-circleci'; sudo chmod 0755 /usr/bin/docker; true + - 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 diff --git a/test/lib/docker_helpers.bash b/test/lib/docker_helpers.bash index b5165af..50e1d81 100644 --- a/test/lib/docker_helpers.bash +++ b/test/lib/docker_helpers.bash @@ -56,5 +56,5 @@ function docker_tcp { --expose 2375 \ -v /var/run/docker.sock:/var/run/docker.sock \ rancher/socat-docker - docker run --link "$container_name:docker" docker:1.7 version + docker run --link "$container_name:docker" docker:1.9 version }