forked from linode/manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintegration-test.yml
54 lines (54 loc) · 1.81 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
51
52
53
54
version: '3.1'
services:
selenium:
image: selenium/hub:3.141.59-titanium
chrome:
image: selenium/node-chrome:3.141.59-titanium
volumes:
- /dev/shm:/dev/shm #Mitigates the Chromium issue described at https://code.google.com/p/chromium/issues/detail?id=519952
environment:
- HUB_PORT_4444_TCP_ADDR=selenium
- HUB_PORT_4444_TCP_PORT=4444
- SCREEN_HEIGHT=1080
- SCREEN_WIDTH=1600
depends_on:
- selenium
manager-local:
environment:
- HTTPS=true
- REACT_APP_APP_ROOT=${REACT_APP_APP_ROOT}
- 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_ALGOLIA_APPLICATION_ID='KGUN8FAIPF'
- REACT_APP_ALGOLIA_SEARCH_KEY='d4847002cd30392fe0fbd00a1da933ed'
- REACT_APP_TEST_ENVIRONMENT=true
build:
context: .
dockerfile: Dockerfile
entrypoint: ["/home/node/app/scripts/start_manager.sh"]
depends_on:
- chrome
manager-e2e:
environment:
- CRED_STORE_MODE=${CRED_STORE_MODE}
- DOCKER=true
- REACT_APP_APP_ROOT=${REACT_APP_APP_ROOT}
- REACT_APP_API_ROOT=${REACT_APP_API_ROOT}
- MANAGER_USER=${MANAGER_USER}
- MANAGER_PASS=${MANAGER_PASS}
- MANAGER_USER_2=${MANAGER_USER_2}
- MANAGER_PASS_2=${MANAGER_PASS_2}
- MANAGER_OAUTH=${MANAGER_OAUTH}
- MANAGER_OAUTH_2=${MANAGER_OAUTH_2}
build:
context: .
dockerfile: Dockerfile
volumes:
- ./packages/manager/e2e/test-results:/home/node/app/packages/manager/e2e/test-results
entrypoint: ["/home/node/app/scripts/wait-for-it.sh", "-t", "500", "-s", "manager-local:3000", "--", "yarn", "e2e", "--smoke", "--log"]
depends_on:
- manager-local
- mongodb
mongodb:
image: mongo:latest