forked from Enalean/tuleap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-e2e-full-tests.yml
49 lines (45 loc) · 1.11 KB
/
docker-compose-e2e-full-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
version: "2"
services:
test:
image: tuleap-run-e2e-tests-v2
build:
context: ./tests/e2e/docker
dockerfile: run-tests.dockerfile
args:
DOCKER_REGISTRY: ${DOCKER_REGISTRY:-docker.io}
CYPRESS_VERSION: $CYPRESS_VERSION
command: /tuleap/tests/e2e/full/run.sh
shm_size: 512M
volumes:
- .:/tuleap
- ${TEST_RESULT_OUTPUT}:/output
networks:
- tuleap
- external-connectivity
tuleap:
image: tuleap-e2e-tests
build:
context: ./tests/e2e/docker
dockerfile: tuleap.dockerfile
args:
DOCKER_REGISTRY: ${DOCKER_REGISTRY:-docker.io}
command: /usr/share/tuleap/tests/e2e/full/tuleap/setup.sh
volumes:
- .:/usr/share/tuleap:ro
networks:
- tuleap
depends_on:
- mysql57
mysql57:
image: ${DOCKER_REGISTRY:-docker.io}/mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=welcome0
volumes:
- ./tests/etc/DBConfig/mysql-server.cnf:/etc/mysql/mysql.conf.d/mysql-server.cnf:ro,cached
tmpfs: /tmp
networks:
- tuleap
networks:
tuleap:
internal: true
external-connectivity: