-
Notifications
You must be signed in to change notification settings - Fork 0
/
batect.yml
41 lines (37 loc) · 833 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
containers:
pyspark:
build_directory: .
volumes:
- local: .
container: /app
options: cached
- type: cache
name: poetry-dependencies
container: /root/.cache/pypoetry/virtualenvs
tasks:
unit-test:
description: Unit tests
group: Test
run:
container: pyspark
entrypoint: scripts/unit-test.sh
integration-test:
description: Integration tests
group: Test
run:
container: pyspark
entrypoint: scripts/integration-test.sh
style-checks:
description: Lint and type check
group: Test
run:
container: pyspark
entrypoint: scripts/style-checks.sh
run-job:
description: Run spark job
group: Run
run:
container: pyspark
entrypoint: scripts/run-job.sh
environment:
JOB: $JOB