-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci-tests.yml
56 lines (55 loc) · 1.8 KB
/
ci-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
version: "3.4"
services:
confproxy:
env_file: .testdockerenv
image: jupyterhub/configurable-http-proxy:3.1.1
# expose the proxy to the world
ports:
- "8004:8000"
- "8005:8001"
command: ['configurable-http-proxy',
'--auto-rewrite',
'--no-include-prefix',
'--no-prepend-path',
'--log-level', 'debug',
'--api-ip', '0.0.0.0']
testflask:
env_file: .testdockerenv
hostname: docker_lightserv
image: flaskcelery:latest
command: "pytest -p no:cacheprovider -vs lightserv/tests"
volumes:
- .:/app # so changes made to the app are propagated to the container without having to rebuild
- /jukebox/LightSheetData:/jukebox/LightSheetData
- /jukebox/LightSheetTransfer:/jukebox/LightSheetTransfer
- ./lib:/opt/libraries # for progproxy api
ports:
- '5010:5000'
# depends_on:
# - testredis
coverage:
env_file: .testdockerenv
hostname: docker_lightserv
image: flaskcelery:test
command: "pytest -p no:cacheprovider --cov=lightserv/main --cov-report=html -vs lightserv/tests/test_main.py::test_FAQ"
volumes:
- .:/app # so changes made to the app are propagated to the container without having to rebuild
- /jukebox/LightSheetData:/jukebox/LightSheetData
- /jukebox/LightSheetTransfer:/jukebox/LightSheetTransfer
- ./lib:/opt/libraries # for progproxy api
ports:
- '5010:5000'
viewer-launcher:
env_file: .testdockerenv
image: viewer-launcher:test
command: ["python", "run.py"]
volumes:
- ./viewer-launcher:/app
- /jukebox/LightSheetData:/jukebox/LightSheetData
- /var/run/docker.sock:/var/run/docker.sock
ports:
- '5006:5005'
networks:
default:
external:
name: lightserv-test