forked from Enalean/tuleap
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-distlp-tests.yml
111 lines (101 loc) · 2.58 KB
/
docker-compose-distlp-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "2"
services:
chrome:
container_name: ${BUILD_TAG}tuleap_runtests_firefox
image: selenium/standalone-chrome:3.8.1-chlorine
shm_size: 2g
networks:
- tuleap
test:
container_name: ${BUILD_TAG}tuleap_runtests_test
image: tuleap-run-tests-v2
build:
context: tests/selenium/DockerImage
command: /tuleap/tests/selenium/run.sh
volumes:
- .:/tuleap
- ${TEST_RESULT_OUTPUT}:/output
depends_on:
- reverse-proxy
networks:
- tuleap
- external-connectivity
reverse-proxy:
container_name: ${BUILD_TAG}tuleap_runtests_reverse-proxy
image: enalean/tuleap-reverseproxy:distlp-1.1
command: /tuleap/tools/distlp/reverse-proxy/run.sh
volumes:
- .:/tuleap
- tests-tuleap-data:/data # Needed for configuration (platform name)
depends_on:
- backend-web
- backend-svn
networks:
- tuleap
backend-web:
container_name: ${BUILD_TAG}tuleap_runtests_backend-web
image: enalean/tuleap-aio-dev:c6-php56-nginx18-v1.7
environment:
RUN_COMMAND: "php /usr/share/tuleap/tools/distlp/backend-web/run.php test"
MYSQL_ROOT_PASSWORD: DumpPass4Tests
LDAP_MANAGER_PASSWORD: DumpPass4Tests
VIRTUAL_HOST: reverse-proxy
volumes:
- .:/usr/share/tuleap
- tests-tuleap-data:/data
depends_on:
- ldap
- db
- rabbitmq
networks:
- tuleap
backend-svn:
container_name: ${BUILD_TAG}tuleap_runtests_backend-svn
image: enalean/tuleap-dev:1.5
command: /usr/share/tuleap/tools/distlp/backend-svn/backend-svn.sh
volumes:
- .:/usr/share/tuleap
- tests-tuleap-data:/data
environment:
MYSQL_ROOT_PASSWORD: DumpPass4Tests
depends_on:
- ldap
- db
- rabbitmq
networks:
- tuleap
ldap:
container_name: ${BUILD_TAG}tuleap_runtests_ldap
image: enalean/ldap
environment:
LDAP_ROOT_PASSWORD: DumpPass4Tests
LDAP_MANAGER_PASSWORD: DumpPass4Tests
volumes:
- tests-ldap-data:/data
networks:
- tuleap
db:
container_name: ${BUILD_TAG}tuleap_runtests_db
image: mysql:5.5
environment:
MYSQL_ROOT_PASSWORD: DumpPass4Tests
volumes:
- tests-db-data:/var/lib/mysql
networks:
- tuleap
rabbitmq:
container_name: ${BUILD_TAG}tuleap_runtests_rabbitmq
image: rabbitmq:3.6
volumes:
- tests-rabbitmq-data:/var/lib/rabbitmq
networks:
- tuleap
volumes:
tests-rabbitmq-data:
tests-db-data:
tests-ldap-data:
tests-tuleap-data:
networks:
tuleap:
internal: true
external-connectivity: