forked from linode/manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintegration-test.yml
50 lines (50 loc) · 1.39 KB
/
integration-test.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
version: '3.1'
services:
selenium-standalone:
image: selenium/standalone-chrome:3.13.0-argon
volumes:
- /dev/shm:/dev/shm #Mitigates the Chromium issue described at https://code.google.com/p/chromium/issues/detail?id=519952
networks:
- backend
environment:
- SCREEN_HEIGHT=1080
- SCREEN_WIDTH=1600
manager-local:
container_name: manager_local
environment:
- HTTPS=true
- REACT_APP_APP_ROOT=https://manager-local:3000
- REACT_APP_LOGIN_ROOT=${REACT_APP_LOGIN_ROOT}
- REACT_APP_CLIENT_ID=${REACT_APP_CLIENT_ID}
- REACT_APP_API_ROOT=${REACT_APP_API_ROOT}
- REACT_APP_TEST_ENVIRONMENT=true
build:
context: .
dockerfile: Dockerfile
volumes:
- ./src:/src/src
entrypoint: ["/src/scripts/start_manager.sh"]
depends_on:
- selenium-standalone
networks:
- backend
manager-e2e:
container_name: manager_e2e
environment:
- DOCKER=true
- REACT_APP_API_ROOT=${REACT_APP_API_ROOT}
- MANAGER_USER=${MANAGER_USER}
- MANAGER_PASS=${MANAGER_PASS}
build:
context: .
dockerfile: Dockerfile
volumes:
- ./src:/src/src
- ./e2e:/src/e2e
entrypoint: ["./scripts/wait-for-it.sh", "-t", "250", "-s", "manager-local:3000", "--", "yarn","e2e", "--log"]
depends_on:
- manager-local
networks:
- backend
networks:
backend: