-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbatect.yml
44 lines (38 loc) · 906 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
40
41
42
43
44
containers:
dev:
build_directory: .
volumes:
- local: .
container: /code
- type: cache
name: python-dev-dependencies
container: /code/.venv
tasks:
start-dev-container:
description: Start containerised development environment
run:
container: dev
command: bash
smoke-test-model-training:
description: Run smoke tests for model training
run:
container: dev
command: scripts/tests/smoke-test-model-training.sh
api-test:
description: Run API tests
run:
container: dev
command: scripts/tests/api-test.sh
train-model:
description: Train ML model
run:
container: dev
command: scripts/train-model.sh
start-api:
description: Start API locally
run:
container: dev
command: scripts/start-api-locally.sh
ports:
- local: 80
container: 80