Files
monky-deployd/pyproject.toml
T
mdella 6336012b74 feat(install): read-only deploy token for the private package registry (v0.1.2)
The GitLab project is private (its parent groups are private, so it cannot be
made public): the v0.1.1 one-liner answered 401 anonymously. install.sh gains
--token / MONKY_DEPLOYD_TOKEN and sends `DEPLOY-TOKEN: <token>` (a GitLab deploy
token, scope read_package_registry only, revocable) on every registry download,
the script itself included; the token goes through a 0600 curl -K file (never the
command line, the log or an xtrace). The grant is taken via --bootstrap-file when
the script is piped (stdin IS the script). Ansible: monky_deployd_download_token
(vaulted) -> DEPLOY-TOKEN header, no_log. Docs explain why, the token's scope and
the --source gitea alternative (split-horizon Gitea, cbs/iac#102).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLB7jieMNRkTsJ2epr4Ds1
2026-09-05 19:03:25 +00:00

40 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "monky-deployd"
version = "0.1.2"
description = "Monky backend pull agent: checkin -> bundle -> lease -> OpenBao -> docker compose -> report, over the ziti mesh (MONKY-ADR-0028)"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Proprietary" }
authors = [{ name = "Tikali", email = "mdella@tikali.ai" }]
dependencies = [] # stdlib only; `openziti` is optional (transport: sdk) and vendored by CI
[project.optional-dependencies]
sdk = ["openziti>=1.0"]
dev = ["pytest>=8", "ruff>=0.16,<0.17"]
[project.scripts]
monky-deployd = "monky_deployd.cli:main"
[tool.setuptools.packages.find]
include = ["monky_deployd*"]
[tool.ruff]
line-length = 120
target-version = "py312"
extend-exclude = ["ansible", "packaging"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "W"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["B011"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"