forked from georgia-tech-db/evadb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (47 loc) · 1.29 KB
/
docker-compose.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
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'true'
MYSQL_DATABASE: eva
MYSQL_HOST: db
eva-test-gpu:
depends_on:
- db
links:
- "db:db"
user: root
build:
context: .
dockerfile: docker/eva_gpu.Dockerfile
command:
- /bin/sh
- -c
- |
cd /app
sed -i "s/\broot@localhost\b/root@db/g" eva.yml
~/miniconda/bin/conda run -n eva flake8 --select E,F src/ test/ --exclude src/filters,src/parser/evaql
~/miniconda/bin/conda run -n eva PYTHONPATH=./ pytest test/ --cov-report= --cov-config=.coveragerc --cov=src/ -s -v --log-level=WARNING
eva-test-cpu:
depends_on:
- db
links:
- "db:db"
user: root
build:
context: .
dockerfile: docker/eva_cpu.Dockerfile
command:
- /bin/sh
- -c
- |
cd /app
sed -i "s/\broot@localhost\b/root@db/g" eva.yml
~/miniconda/bin/conda run -n eva flake8 --select E,F src/ test/ --exclude src/filters,src/parser/evaql
~/miniconda/bin/conda run -n eva PYTHONPATH=./ pytest test/ --cov-report= --cov-config=.coveragerc --cov=src/ -s -v --log-level=WARNING
volumes:
db_data: {}