forked from davified/batect-ml-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
batect.yml
39 lines (35 loc) · 855 Bytes
/
batect.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
containers:
dev:
build_directory: .
volumes:
- local: .
container: /code
- type: cache
name: python-dev-dependencies
container: /opt/.venv # this path has to be same as VENV_PATH below
build_args:
VENV_PATH: /opt/.venv
build_target: dev
tasks:
setup:
description: Install Python dependencies
run:
container: dev
command: ./scripts/setup.sh
start-dev-container:
description: Start containerised development environment
run:
container: dev
command: bash
start-jupyter:
description: Start Jupyter Notebook server
run:
container: dev
command: scripts/start-jupyter.sh
ports:
- 8888:8888
run-unit-tests:
description: Run unit tests
run:
container: dev
command: scripts/tests/run-unit-tests.sh