Files
admin/host-stacks/local/sched-pipelines/schedd.Dockerfile
vitya 5d57f49e80 ops: schedd 0.7.0 (cancelUrl-канал), dry-run мок-publish оба зелёные, ТЗ worker-cancel-url
- schedd.Dockerfile: daemon 0.6.0 → 0.7.0 (cancel-канал: cancelUrl в accepted-envelope)
- tasks.json: publish+githubDistro с dryRun:true у обеих тасок (мок-publish dry, ноль мутаций)
- compose: DRY_RUN=1 безопасный дефолт; ozon state персистентен (bind-mount, noop работает)
- тесты: мок-publish dry — yandex 13/13, ozon 10/10, GitHub/Gitea/verdaccio чисто
- баг cancel воспроизведён (воркер продолжает после cancel) → ТЗ worker-cancel-url обеим командам
2026-08-20 23:49:51 +03:00

15 lines
741 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# schedd — опубликованный daemon из приватного реестра (verdaccio), как на проде.
# @sched/daemon@0.7.0 (latest) + deps (core 0.47.0) — cancel-канал воркеру: accepted-envelope
# несёт cancelUrl, POST /runs/:id/cancel сначала POSTит {runId} на cancelUrl, потом финиширует.
# node >= 24 (engines у daemon; node:sqlite).
FROM node:24-alpine
RUN apk add --no-cache git
WORKDIR /app
ENV NODE_ENV=production
ARG VERDACCIO_TOKEN
RUN npm config set //verdaccio.kzntsv.site/:_authToken=${VERDACCIO_TOKEN} \
&& npm install -g @sched/daemon@0.7.0 --registry=https://verdaccio.kzntsv.site --no-audit --no-fund
EXPOSE 8080
VOLUME ["/data"]
ENTRYPOINT ["schedd"]