diff options
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -9,12 +9,14 @@ dependencies: | |||
9 | 9 | ||
10 | - docker build -t ansible_xenial ubuntu16.04 | 10 | - docker build -t ansible_xenial ubuntu16.04 |
11 | - docker build -t ansible_trusty ubuntu14.04 | 11 | - docker build -t ansible_trusty ubuntu14.04 |
12 | - docker build -t ansible_stretch debian9 | ||
12 | - docker build -t ansible_jessie debian8 | 13 | - docker build -t ansible_jessie debian8 |
13 | - docker build -t ansible_centos7 centos7 | 14 | - docker build -t ansible_centos7 centos7 |
14 | - docker build -t ansible_alpine3 alpine3 | 15 | - docker build -t ansible_alpine3 alpine3 |
15 | 16 | ||
16 | - docker build -t ansible_xenial_onbuild ubuntu16.04-onbuild | 17 | - docker build -t ansible_xenial_onbuild ubuntu16.04-onbuild |
17 | - docker build -t ansible_trusty_onbuild ubuntu14.04-onbuild | 18 | - docker build -t ansible_trusty_onbuild ubuntu14.04-onbuild |
19 | - docker build -t ansible_stretch_onbuild debian9-onbuild | ||
18 | - docker build -t ansible_jessie_onbuild debian8-onbuild | 20 | - docker build -t ansible_jessie_onbuild debian8-onbuild |
19 | - docker build -t ansible_centos7_onbuild centos7-onbuild | 21 | - docker build -t ansible_centos7_onbuild centos7-onbuild |
20 | - docker build -t ansible_alpine3_onbuild alpine3-onbuild | 22 | - docker build -t ansible_alpine3_onbuild alpine3-onbuild |
@@ -31,18 +33,22 @@ dependencies: | |||
31 | 33 | ||
32 | - docker build -t ansible_master_xenial master-ubuntu16.04 | 34 | - docker build -t ansible_master_xenial master-ubuntu16.04 |
33 | - docker build -t ansible_master_trusty master-ubuntu14.04 | 35 | - docker build -t ansible_master_trusty master-ubuntu14.04 |
36 | - docker build -t ansible_master_stretch master-debian9 | ||
34 | - docker build -t ansible_master_jessie master-debian8 | 37 | - docker build -t ansible_master_jessie master-debian8 |
35 | - docker build -t ansible_master_centos7 master-centos7 | 38 | - docker build -t ansible_master_centos7 master-centos7 |
36 | 39 | ||
37 | - docker build -t ansible_master_xenial_onbuild master-ubuntu16.04-onbuild | 40 | - docker build -t ansible_master_xenial_onbuild master-ubuntu16.04-onbuild |
38 | - docker build -t ansible_master_trusty_onbuild master-ubuntu14.04-onbuild | 41 | - docker build -t ansible_master_trusty_onbuild master-ubuntu14.04-onbuild |
42 | - docker build -t ansible_master_stretch_onbuild master-debian9-onbuild | ||
39 | - docker build -t ansible_master_jessie_onbuild master-debian8-onbuild | 43 | - docker build -t ansible_master_jessie_onbuild master-debian8-onbuild |
40 | - docker build -t ansible_master_centos7_onbuild master-centos7-onbuild | 44 | - docker build -t ansible_master_centos7_onbuild master-centos7-onbuild |
41 | 45 | ||
42 | 46 | ||
43 | - docker build -t ansible_mini_alpine3 mini-alpine3 | 47 | - docker build -t ansible_mini_alpine3 mini-alpine3 |
48 | - docker build -t ansible_mini_debian9 mini-debian9 | ||
44 | - docker build -t ansible_mini_debian8 mini-debian8 | 49 | - docker build -t ansible_mini_debian8 mini-debian8 |
45 | - docker build -t nginx_alpine3 -f mini-test/Dockerfile.alpine3 mini-test | 50 | - docker build -t nginx_alpine3 -f mini-test/Dockerfile.alpine3 mini-test |
51 | - docker build -t nginx_debian9 -f mini-test/Dockerfile.debian9 mini-test | ||
46 | - docker build -t nginx_debian8 -f mini-test/Dockerfile.debian8 mini-test | 52 | - docker build -t nginx_debian8 -f mini-test/Dockerfile.debian8 mini-test |
47 | 53 | ||
48 | 54 | ||
@@ -50,11 +56,13 @@ test: | |||
50 | override: | 56 | override: |
51 | - docker run -i ansible_xenial > result-ubuntu16.04 | 57 | - docker run -i ansible_xenial > result-ubuntu16.04 |
52 | - docker run -i ansible_trusty > result-ubuntu14.04 | 58 | - docker run -i ansible_trusty > result-ubuntu14.04 |
59 | - docker run -i ansible_stretch > result-debian9 | ||
53 | - docker run -i ansible_jessie > result-debian8 | 60 | - docker run -i ansible_jessie > result-debian8 |
54 | - docker run -i ansible_centos7 > result-centos7 | 61 | - docker run -i ansible_centos7 > result-centos7 |
55 | - docker run -i ansible_alpine3 > result-alpine3 | 62 | - docker run -i ansible_alpine3 > result-alpine3 |
56 | - docker run -i ansible_xenial_onbuild > result-ubuntu16.04-onbuild | 63 | - docker run -i ansible_xenial_onbuild > result-ubuntu16.04-onbuild |
57 | - docker run -i ansible_trusty_onbuild > result-ubuntu14.04-onbuild | 64 | - docker run -i ansible_trusty_onbuild > result-ubuntu14.04-onbuild |
65 | - docker run -i ansible_stretch_onbuild > result-debian9-onbuild | ||
58 | - docker run -i ansible_jessie_onbuild > result-debian8-onbuild | 66 | - docker run -i ansible_jessie_onbuild > result-debian8-onbuild |
59 | - docker run -i ansible_centos7_onbuild > result-centos7-onbuild | 67 | - docker run -i ansible_centos7_onbuild > result-centos7-onbuild |
60 | - docker run -i ansible_alpine3_onbuild > result-alpine3-onbuild | 68 | - docker run -i ansible_alpine3_onbuild > result-alpine3-onbuild |
@@ -70,26 +78,31 @@ test: | |||
70 | 78 | ||
71 | - docker run -i ansible_master_xenial > result-master-ubuntu16.04 | 79 | - docker run -i ansible_master_xenial > result-master-ubuntu16.04 |
72 | - docker run -i ansible_master_trusty > result-master-ubuntu14.04 | 80 | - docker run -i ansible_master_trusty > result-master-ubuntu14.04 |
81 | - docker run -i ansible_master_stretch > result-master-debian9 | ||
73 | - docker run -i ansible_master_jessie > result-master-debian8 | 82 | - docker run -i ansible_master_jessie > result-master-debian8 |
74 | - docker run -i ansible_master_centos7 > result-master-centos7 | 83 | - docker run -i ansible_master_centos7 > result-master-centos7 |
75 | - docker run -i ansible_master_xenial_onbuild > result-master-ubuntu16.04-onbuild | 84 | - docker run -i ansible_master_xenial_onbuild > result-master-ubuntu16.04-onbuild |
76 | - docker run -i ansible_master_trusty_onbuild > result-master-ubuntu14.04-onbuild | 85 | - docker run -i ansible_master_trusty_onbuild > result-master-ubuntu14.04-onbuild |
86 | - docker run -i ansible_master_stretch_onbuild > result-master-debian9-onbuild | ||
77 | - docker run -i ansible_master_jessie_onbuild > result-master-debian8-onbuild | 87 | - docker run -i ansible_master_jessie_onbuild > result-master-debian8-onbuild |
78 | - docker run -i ansible_master_centos7_onbuild > result-master-centos7-onbuild | 88 | - docker run -i ansible_master_centos7_onbuild > result-master-centos7-onbuild |
79 | 89 | ||
80 | 90 | ||
81 | - docker run -i nginx_alpine3 2> result-nginx-alpine3 | 91 | - docker run -i nginx_alpine3 2> result-nginx-alpine3 |
92 | - docker run -i nginx_debian9 2> result-nginx-debian9 | ||
82 | - docker run -i nginx_debian8 2> result-nginx-debian8 | 93 | - docker run -i nginx_debian8 2> result-nginx-debian8 |
83 | 94 | ||
84 | 95 | ||
85 | - echo "==> Validating the test results..." | 96 | - echo "==> Validating the test results..." |
86 | - sh -c "[ -s result-ubuntu16.04 ]" | 97 | - sh -c "[ -s result-ubuntu16.04 ]" |
87 | - sh -c "[ -s result-ubuntu14.04 ]" | 98 | - sh -c "[ -s result-ubuntu14.04 ]" |
99 | - sh -c "[ -s result-debian9 ]" | ||
88 | - sh -c "[ -s result-debian8 ]" | 100 | - sh -c "[ -s result-debian8 ]" |
89 | - sh -c "[ -s result-centos7 ]" | 101 | - sh -c "[ -s result-centos7 ]" |
90 | - sh -c "[ -s result-alpine3 ]" | 102 | - sh -c "[ -s result-alpine3 ]" |
91 | - sh -c "[ -s result-ubuntu16.04-onbuild ]" | 103 | - sh -c "[ -s result-ubuntu16.04-onbuild ]" |
92 | - sh -c "[ -s result-ubuntu14.04-onbuild ]" | 104 | - sh -c "[ -s result-ubuntu14.04-onbuild ]" |
105 | - sh -c "[ -s result-debian9-onbuild ]" | ||
93 | - sh -c "[ -s result-debian8-onbuild ]" | 106 | - sh -c "[ -s result-debian8-onbuild ]" |
94 | - sh -c "[ -s result-centos7-onbuild ]" | 107 | - sh -c "[ -s result-centos7-onbuild ]" |
95 | - sh -c "[ -s result-alpine3-onbuild ]" | 108 | - sh -c "[ -s result-alpine3-onbuild ]" |
@@ -103,12 +116,15 @@ test: | |||
103 | 116 | ||
104 | - sh -c "[ -s result-master-ubuntu16.04 ]" | 117 | - sh -c "[ -s result-master-ubuntu16.04 ]" |
105 | - sh -c "[ -s result-master-ubuntu14.04 ]" | 118 | - sh -c "[ -s result-master-ubuntu14.04 ]" |
119 | - sh -c "[ -s result-master-debian9 ]" | ||
106 | - sh -c "[ -s result-master-debian8 ]" | 120 | - sh -c "[ -s result-master-debian8 ]" |
107 | - sh -c "[ -s result-master-centos7 ]" | 121 | - sh -c "[ -s result-master-centos7 ]" |
108 | - sh -c "[ -s result-master-ubuntu16.04-onbuild ]" | 122 | - sh -c "[ -s result-master-ubuntu16.04-onbuild ]" |
109 | - sh -c "[ -s result-master-ubuntu14.04-onbuild ]" | 123 | - sh -c "[ -s result-master-ubuntu14.04-onbuild ]" |
124 | - sh -c "[ -s result-master-debian9-onbuild ]" | ||
110 | - sh -c "[ -s result-master-debian8-onbuild ]" | 125 | - sh -c "[ -s result-master-debian8-onbuild ]" |
111 | - sh -c "[ -s result-master-centos7-onbuild ]" | 126 | - sh -c "[ -s result-master-centos7-onbuild ]" |
112 | 127 | ||
113 | - sh -c "[ -s result-nginx-alpine3 ]" | 128 | - sh -c "[ -s result-nginx-alpine3 ]" |
129 | - sh -c "[ -s result-nginx-debian9 ]" | ||
114 | - sh -c "[ -s result-nginx-debian8 ]" | 130 | - sh -c "[ -s result-nginx-debian8 ]" |