Files
admin/host-stacks/local/sched-pipelines/schedd.Dockerfile
vitya 7ec721e237 ops: schedd 0.6.0 — timeoutMs применяется к существующим таскам, absent=-1 дефолт (проверено живьём)
- schedd.Dockerfile: daemon 0.5.0 → 0.6.0 (core 0.46.0), фикс applyTask timeoutMs + absent=-1
- tasks.json: timeoutMs убран (дефолт -1, требование vitya 'можно не указывать')
- верификация: явный -1 применился к существующим; после удаления из файла live-sync дал -1
2026-08-20 22:54:25 +03:00

15 lines
723 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.6.0 (latest) + deps (core 0.46.0) — фикс 2026-08-20: applyTask
# переносит timeoutMs при upsert; дефолт absent = -1 (никогда не авто-терминировать).
# 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.6.0 --registry=https://verdaccio.kzntsv.site --no-audit --no-fund
EXPOSE 8080
VOLUME ["/data"]
ENTRYPOINT ["schedd"]