Files
tea/deploy/Dockerfile.verify
T
AlbertoPMDM 0e942e04c1 verification/ out of the package; ISSSTELEÓN check; a Dask-level task failure is an error row
- verification/ (hk1k, issste, common) moved out of src/: not in the wheel;
  the image imports it with PYTHONPATH=/opt/tea-modulo.
- python -m verification issste: every biomarker, legacy and modern, on
  processed/eeg-edf-2025|2026; age from the EDF header inside the task; group
  numbers only (file names, paths, dates and rows stay in the job).
- Pipeline.map (Dask): a task that dies (KilledWorker) becomes an error row
  instead of stopping the batch.
- deploy/verify.sh [hk1k|issste]; issste uses 3 workers x 6 GiB per pod.
2026-11-19 01:28:54 -06:00

20 lines
903 B
Docker

# tea-verify: the team's dask image plus what the tea_modulo verification needs.
# Built from the local checkout (submodules included) by deploy/verify.sh.
FROM 192.168.20.18:5000/dask:1.1
# missing from dask:1.1; versions as checked locally
RUN pip install --no-cache-dir "antropy==0.2.3" "fhir.resources==8.3.0" "meegkit==0.2.0" pytest
# tea-modulo from the local checkout (biomarcadores-tea @ 7dfc641, codigo @ c7a4736:
# the legacy = submodule tests need them). .dockerignore keeps .venv, eeg/ and any
# signal or patient file out of the build context.
COPY . /opt/tea-modulo
ARG TEA_COMMIT=unknown
ENV TEA_COMMIT=$TEA_COMMIT
LABEL tea_modulo.commit=$TEA_COMMIT
RUN pip install --no-cache-dir --no-deps -e /opt/tea-modulo
WORKDIR /opt/tea-modulo
# verification/ (cluster checks) is not in the package: import it from the checkout,
# on the runner and on the workers
ENV PYTHONPATH=/opt/tea-modulo