[TASK] Enable functional tests on microsoft sql server again
[Packages/TYPO3.CMS.git] / Build / testing-docker / bamboo / docker-compose.yml
1 version: '2.3'
2 services:
3 chrome:
4 image: selenium/standalone-chrome:3.12
5 networks:
6 - test
7 mariadb10:
8 image: mariadb:10
9 environment:
10 MYSQL_ROOT_PASSWORD: funcp
11 tmpfs:
12 - /var/lib/mysql/:rw,noexec,nosuid
13 networks:
14 - test
15 postgres10:
16 image: postgres:10
17 environment:
18 POSTGRES_PASSWORD: funcp
19 POSTGRES_USER: ${HOST_USER}
20 volumes:
21 - /etc/passwd:/etc/passwd,ro
22 tmpfs:
23 - /var/lib/postgresql/data:rw,noexec,nosuid
24 networks:
25 - test
26 mssql2017cu9:
27 image: microsoft/mssql-server-linux:2017-CU9
28 environment:
29 ACCEPT_EULA: Y
30 SA_PASSWORD: Test1234!
31 MSSQL_PID: Developer
32 volumes:
33 - /etc/passwd:/etc/passwd,ro
34 networks:
35 - test
36 redis4:
37 image: redis:4-alpine
38 networks:
39 - test
40 memcached1-5:
41 image: memcached:1.5-alpine
42 networks:
43 - test
44 web:
45 image: typo3gmbh/php72:latest
46 user: ${HOST_UID}
47 stop_grace_period: 1s
48 networks:
49 - test
50 volumes:
51 - bamboo-data:/srv/bamboo/xml-data/build-dir
52 command: php -n -c /etc/php/cli-no-xdebug/php.ini -S web:8000 -t /srv/bamboo/xml-data/build-dir/${bamboo_buildKey}
53
54 start_dependencies_acceptance_install_mariadb10:
55 image: alpine:3.8
56 links:
57 - mariadb10
58 - chrome
59 - web
60 networks:
61 - test
62 command: >
63 /bin/sh -c "
64 echo Waiting for db start...;
65 while ! nc -z mariadb10 3306;
66 do
67 sleep 1;
68 done;
69 echo Connected!;
70 "
71
72 start_dependencies_acceptance_install_postgres10:
73 image: alpine:3.8
74 links:
75 - postgres10
76 - chrome
77 - web
78 networks:
79 - test
80 command: >
81 /bin/sh -c "
82 echo Waiting for db start...;
83 while ! nc -z postgres10 5432;
84 do
85 sleep 1;
86 done;
87 echo Connected!;
88 "
89
90 start_dependencies_acceptance_install_sqlite:
91 image: alpine:3.8
92 links:
93 - chrome
94 - web
95 command: >
96 /bin/sh -c "
97 sleep 1;
98 "
99
100 start_dependencies_acceptance_backend_mariadb10:
101 image: alpine:3.8
102 links:
103 - mariadb10
104 - chrome
105 - web
106 networks:
107 - test
108 command: >
109 /bin/sh -c "
110 echo Waiting for db start...;
111 while ! nc -z mariadb10 3306;
112 do
113 sleep 1;
114 done;
115 echo Connected!;
116 "
117
118 start_dependencies_functional_mariadb10:
119 image: alpine:3.8
120 links:
121 - mariadb10
122 - redis4
123 - memcached1-5
124 networks:
125 - test
126 command: >
127 /bin/sh -c "
128 echo Waiting for db start...;
129 while ! nc -z mariadb10 3306;
130 do
131 sleep 1;
132 done;
133 echo Connected!;
134 "
135
136 start_dependencies_functional_mssql:
137 image: alpine:3.8
138 links:
139 - mssql2017cu9
140 - redis4
141 - memcached1-5
142 networks:
143 - test
144 command: >
145 /bin/sh -c "
146 echo Waiting for db start...;
147 while ! nc -z mssql2017cu9 1433;
148 do
149 sleep 1;
150 done;
151 echo Connected!;
152 "
153
154 start_dependencies_functional_postgres10:
155 image: alpine:3.8
156 links:
157 - postgres10
158 - redis4
159 - memcached1-5
160 networks:
161 - test
162 command: >
163 /bin/sh -c "
164 echo Waiting for db start...;
165 while ! nc -z postgres10 5432;
166 do
167 sleep 1;
168 done;
169 echo Connected!;
170 "
171 start_dependencies_functional_sqlite:
172 image: alpine:3.8
173 links:
174 - redis4
175 - memcached1-5
176 networks:
177 - test
178 command: >
179 /bin/sh -c "
180 sleep 1;
181 "
182
183 networks:
184 test:
185 external:
186 name: ${BAMBOO_COMPOSE_PROJECT_NAME}_test
187
188 volumes:
189 bamboo-data:
190 external:
191 name: ${BAMBOO_COMPOSE_PROJECT_NAME}_bamboo-data