aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWilliam Yeh <william.pjyeh@gmail.com>2015-07-09 12:48:04 +0800
committerWilliam Yeh <william.pjyeh@gmail.com>2015-07-09 12:48:04 +0800
commit1c8ce0e976c1b77f6f528e448fe410561cd7446b (patch)
tree36991c30ccf1fd8b8a4a17ac6b86e20961b5c192
parent8287be9012178ea619ebfd35aafa1a1f9d219055 (diff)
downloaddocker-ansible-1c8ce0e976c1b77f6f528e448fe410561cd7446b.tar.gz
docker-ansible-1c8ce0e976c1b77f6f528e448fe410561cd7446b.tar.zst
docker-ansible-1c8ce0e976c1b77f6f528e448fe410561cd7446b.zip
Update: simplify circle.yml to leverage CircleCI's upgrading to Docker 1.6.2
-rw-r--r--.travis.yml24
-rw-r--r--Vagrantfile12
-rw-r--r--circle.yml34
3 files changed, 24 insertions, 46 deletions
diff --git a/.travis.yml b/.travis.yml
index 23b84ab..9cc3e37 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,18 +12,18 @@ install:
12 12
13script: 13script:
14 - echo "==> Building the main Docker images..." 14 - echo "==> Building the main Docker images..."
15 - ./run 'docker build -f centos6/Dockerfile -t ansible centos6 && docker run -i ansible > result-centos6' 15 - ./run 'docker build -t ansible centos6 && docker run -i ansible > result-centos6'
16 - ./run 'docker build -f centos7/Dockerfile -t ansible centos7 && docker run -i ansible > result-centos7' 16 - ./run 'docker build -t ansible centos7 && docker run -i ansible > result-centos7'
17 - ./run 'docker build -f debian7/Dockerfile -t ansible debian7 && docker run -i ansible > result-debian7' 17 - ./run 'docker build -t ansible debian7 && docker run -i ansible > result-debian7'
18 - ./run 'docker build -f debian8/Dockerfile -t ansible debian8 && docker run -i ansible > result-debian8' 18 - ./run 'docker build -t ansible debian8 && docker run -i ansible > result-debian8'
19 - ./run 'docker build -f ubuntu12.04/Dockerfile -t ansible ubuntu12.04 && docker run -i ansible > result-ubuntu12.04' 19 - ./run 'docker build -t ansible ubuntu12.04 && docker run -i ansible > result-ubuntu12.04'
20 - ./run 'docker build -f ubuntu14.04/Dockerfile -t ansible ubuntu14.04 && docker run -i ansible > result-ubuntu14.04' 20 - ./run 'docker build -t ansible ubuntu14.04 && docker run -i ansible > result-ubuntu14.04'
21 - ./run 'docker build -f centos6-onbuild/Dockerfile -t ansible centos6-onbuild && docker run -i ansible > result-centos6-onbuild' 21 - ./run 'docker build -t ansible centos6-onbuild && docker run -i ansible > result-centos6-onbuild'
22 - ./run 'docker build -f centos7-onbuild/Dockerfile -t ansible centos7-onbuild && docker run -i ansible > result-centos7-onbuild' 22 - ./run 'docker build -t ansible centos7-onbuild && docker run -i ansible > result-centos7-onbuild'
23 - ./run 'docker build -f debian7-onbuild/Dockerfile -t ansible debian7-onbuild && docker run -i ansible > result-debian7-onbuild' 23 - ./run 'docker build -t ansible debian7-onbuild && docker run -i ansible > result-debian7-onbuild'
24 - ./run 'docker build -f debian8-onbuild/Dockerfile -t ansible debian8-onbuild && docker run -i ansible > result-debian8-onbuild' 24 - ./run 'docker build -t ansible debian8-onbuild && docker run -i ansible > result-debian8-onbuild'
25 - ./run 'docker build -f ubuntu12.04-onbuild/Dockerfile -t ansible ubuntu12.04-onbuild && docker run -i ansible > result-ubuntu12.04-onbuild' 25 - ./run 'docker build -t ansible ubuntu12.04-onbuild && docker run -i ansible > result-ubuntu12.04-onbuild'
26 - ./run 'docker build -f ubuntu14.04-onbuild/Dockerfile -t ansible ubuntu14.04-onbuild && docker run -i ansible > result-ubuntu14.04-onbuild' 26 - ./run 'docker build -t ansible ubuntu14.04-onbuild && docker run -i ansible > result-ubuntu14.04-onbuild'
27 27
28 28
29 - echo "==> Validating the test results..." 29 - echo "==> Validating the test results..."
diff --git a/Vagrantfile b/Vagrantfile
index 9e3514b..beac0fc 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -4,12 +4,12 @@ Vagrant.configure(2) do |config|
4 config.vm.provision "shell", inline: <<-SHELL 4 config.vm.provision "shell", inline: <<-SHELL
5 cd /vagrant 5 cd /vagrant
6 6
7 docker build -t ansible:ubuntu14.04 ubuntu14.04 7 docker build -t ansible:ubuntu14.04 ubuntu14.04
8 docker build -t ansible:ubuntu12.04 ubuntu12.04 8 docker build -t ansible:ubuntu12.04 ubuntu12.04
9 docker build -t ansible:debian8 debian8 9 docker build -t ansible:debian8 debian8
10 docker build -t ansible:debian7 debian7 10 docker build -t ansible:debian7 debian7
11 docker build -t ansible:centos7 centos7 11 docker build -t ansible:centos7 centos7
12 docker build -t ansible:centos6 centos6 12 docker build -t ansible:centos6 centos6
13 13
14 docker build -t ansible:ubuntu14.04-onbuild ubuntu14.04-onbuild 14 docker build -t ansible:ubuntu14.04-onbuild ubuntu14.04-onbuild
15 docker build -t ansible:ubuntu12.04-onbuild ubuntu12.04-onbuild 15 docker build -t ansible:ubuntu12.04-onbuild ubuntu12.04-onbuild
diff --git a/circle.yml b/circle.yml
index 9ebe69d..6d69d2f 100644
--- a/circle.yml
+++ b/circle.yml
@@ -7,40 +7,18 @@ dependencies:
7 - docker info 7 - docker info
8 - docker version 8 - docker version
9 9
10 - cp ubuntu14.04/Dockerfile Dockerfile 10 - docker build -t ansible_trusty ubuntu14.04
11 - docker build -t ansible_trusty ubuntu14.04 11 - docker build -t ansible_precise ubuntu12.04
12 - docker build -t ansible_jessie debian8
13 - docker build -t ansible_wheezy debian7
14 - docker build -t ansible_centos7 centos7
15 - docker build -t ansible_centos6 centos6
12 16
13 - cp ubuntu12.04/Dockerfile Dockerfile
14 - docker build -t ansible_precise ubuntu12.04
15
16 - cp debian8/Dockerfile Dockerfile
17 - docker build -t ansible_jessie debian8
18
19 - cp debian7/Dockerfile Dockerfile
20 - docker build -t ansible_wheezy debian7
21
22 - cp centos7/Dockerfile Dockerfile
23 - docker build -t ansible_centos7 centos7
24
25 - cp centos6/Dockerfile Dockerfile
26 - docker build -t ansible_centos6 centos6
27
28 - cp ubuntu14.04-onbuild/Dockerfile Dockerfile
29 - docker build -t ansible_trusty_onbuild ubuntu14.04-onbuild 17 - docker build -t ansible_trusty_onbuild ubuntu14.04-onbuild
30
31 - cp ubuntu12.04-onbuild/Dockerfile Dockerfile
32 - docker build -t ansible_precise_onbuild ubuntu12.04-onbuild 18 - docker build -t ansible_precise_onbuild ubuntu12.04-onbuild
33
34 - cp debian8-onbuild/Dockerfile Dockerfile
35 - docker build -t ansible_jessie_onbuild debian8-onbuild 19 - docker build -t ansible_jessie_onbuild debian8-onbuild
36
37 - cp debian7-onbuild/Dockerfile Dockerfile
38 - docker build -t ansible_wheezy_onbuild debian7-onbuild 20 - docker build -t ansible_wheezy_onbuild debian7-onbuild
39
40 - cp centos7-onbuild/Dockerfile Dockerfile
41 - docker build -t ansible_centos7_onbuild centos7-onbuild 21 - docker build -t ansible_centos7_onbuild centos7-onbuild
42
43 - cp centos6-onbuild/Dockerfile Dockerfile
44 - docker build -t ansible_centos6_onbuild centos6-onbuild 22 - docker build -t ansible_centos6_onbuild centos6-onbuild
45 23
46test: 24test: