-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (30 loc) · 1.13 KB
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (30 loc) · 1.13 KB
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
version: '3.8'
# Two services, both of which do something a reader of this repository wants:
# run the test suite, or run everything CI runs.
#
# Removed: a jupyter service mounting ./notebooks and ./data, a dashboard
# service running dashboard.py and mounting ./dashboard, and an nginx service
# serving ./docs. None of those five directories exists, and dashboard.py served
# the fabrication-era synthetic datasets; it is quarantined under
# RETRACTED/legacy/scripts/. Docker would have created empty bind mounts and
# served nothing, which is the failure mode this repository keeps finding:
# infrastructure that looks maintained and is not.
services:
# The test suite, the same way CI runs it.
test:
build: .
container_name: bias-test
command: ["python", "-m", "pytest", "tests/", "-q"]
networks:
- bias-net
# Everything CI checks: suite, mutation pass, credential scan, prose gate,
# archive build, and the regenerate-and-diff of every analysis.
verify:
build: .
container_name: bias-verify
command: ["python", "verify_like_ci.py"]
networks:
- bias-net
networks:
bias-net:
driver: bridge