Commit Graph
448 Commits
Author SHA1 Message Date
Defame1297andClaude Opus 5.5 ee741d9bab docs(glossary): keep the outsider entry a definition
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 45s
Molecule / molecule (pull_request) Successful in 1s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 22:47:33 +00:00
Defame1297andClaude Opus 5.5 ffc1b90493 docs(glossary): drop the friend position
ADR 0001 names two positions, trusted contributor and outsider. The
glossary still defined a friend whose fork pushes run after approval,
which that decision removed. The outsider entry now says what happens
to their fork or AGit pull request.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 22:46:52 +00:00
Defame1297 6925f49280 Merge pull request 'feat(gitea): add the gitea role' (#284) from feat/gitea-role into main
Build / build (push) Successful in 13s
Lint / lint (push) Successful in 43s
Molecule / molecule (push) Successful in 16m35s
Reviewed-on: #284
Reviewed-by: Defame1297 <[email protected]>
2026-11-21 22:44:07 +00:00
Defame1297 fef9e16765 Merge branch 'main' into feat/gitea-role
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 44s
Molecule / molecule (pull_request) Successful in 1m20s
2026-11-21 22:41:11 +00:00
Defame1297 c641c78525 Merge pull request 'docs(adr): record the threat model as ADR 0001' (#285) from docs/143-threat-model-adr into main
Build / build (push) Successful in 13s
Lint / lint (push) Successful in 40s
Reviewed-on: #285
2026-11-21 22:40:56 +00:00
Defame1297andClaude Opus 5.5 8a785b95ae docs(adr): word the secrets rule as at most one workflow
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 40s
Molecule / molecule (pull_request) Successful in 1s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 22:10:59 +00:00
Defame1297andClaude Opus 5.5 3ddbc751b5 docs(adr): state held-by on every layer and tighten the register
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 22:10:14 +00:00
Defame1297andClaude Opus 5.5 e36872c255 docs(adr): record the threat model as ADR 0001
ADR 0001 records the stance: actors and how far each is defended, assets,
the trust boundary, least-privilege targets, the layers against a pull
request that removes its own gate, and what is not done. The accepted
risks go to a new register in SECURITY.md, one entry per risk with why it
is accepted, its trigger and its planned reduction.

Closes #143

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 22:08:28 +00:00
Defame1297andClaude Opus 5.5 a197536ba6 test(scripts): run SelectTest on a fixture tree
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 44s
Molecule / molecule (pull_request) Successful in 1m21s
SelectTest called select() against the repository itself, so its expectations
depended on which real roles use which: with gitea using fail2ban, a change to
fail2ban also selects gitea, and test_two_roles failed with "role without a
molecule scenario". The selection tests now run on a temporary tree that holds
the roles of ALL and no use of one role by another, like UsersTest, which
covers the users.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-21 21:59:33 +00:00
Defame1297 500951cd35 Merge pull request 'docs(agents): write roles/AGENTS.md with the role rules' (#282) from docs/181-roles-agents-md into main
Build / build (push) Successful in 13s
Lint / lint (push) Successful in 40s
Molecule / molecule (push) Successful in 16m10s
Reviewed-on: #282
2026-11-21 21:57:43 +00:00
Defame1297andClaude Opus 5.5 f060461152 feat(gitea): add the gitea role
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Failing after 43s
Molecule / molecule (pull_request) Successful in 1m20s
Moves the gitea role from the environment repository, the second wave 2 role and the
second caller of the internal _binary_update role.

Against the source:
- The update path stages the downloaded, signature-verified binary in a directory next to
  the live one and hands the stop, backup, swap, restart, version check and rollback to
  mortis.kamino._binary_update (include_role with apply tags, so --tags update reaches
  it). A download or signature failure still leaves the running service untouched and
  says so; a failure in the swap keeps the rollback message of _binary_update. Its default
  version regex is the one the source used.
- The same two small behaviour changes as for traefik come with _binary_update: the backup
  is taken whenever a live binary exists, and a failure before the stop no longer
  restarts the running service.
- The update no longer removes a PID file between the stop and the start, and
  gitea_pid_file is gone: the unit runs `gitea web` without --pid and has no PIDFile=,
  so Gitea writes no PID file and systemd reads none.
- The database-migration warning of the source's rollback message (the previous binary
  may refuse a migrated schema) moves to the gitea_update docs in the README and the
  argument_specs, since _binary_update owns the failure message.
- The legacy name guard (pre-rename variables of the environment) is dropped, as in the
  wave 1 roles, and the argument_specs and README no longer mention it. The jwt secret,
  mailer and e-mail confirmation asserts stay.
- Environment references are gone from comments, app.ini.j2, the README and the
  argument_specs: issue numbers, decision records, host names, inventory paths,
  playbooks, the network and proxy layout and other roles' copies of the paths. The
  Renovate comment on gitea_version is dropped; the README and argument_specs recommend
  pinning the version in inventory. The mint messages no longer name a playbook.
- On a fresh host the token assert and the SSH-key upload ran before the unit was
  written and Gitea started, so a first install could never complete. Both now run after
  the service check, and the upload first waits (up to 60 s, not under --check) for the
  local listener; the listener address is resolved once for both.
- REVERSE_PROXY_LIMIT, hard-coded to 2, is now gitea_reverse_proxy_limit with default 1:
  a limit above the real number of proxies lets a client forge the address Gitea logs and
  Fail2Ban bans. A setup with two proxies sets it to 2.
- The gitea commands with user-supplied values (migrate, admin user list and create, and
  the token mint) take argv instead of a command string; still run through sudo -u.
- gitea_version is asserted at role start to be a plain X.Y.Z, with no leading v.
- meta namespace mortis; the scenario follows the Kamino conventions (header,
  test_sequence, no provisioner env) and calls the role by FQCN, also in the child
  ansible-playbook of the mint CI-guard cases. Coverage is unchanged.

No other default changed; DISABLE_REGISTRATION stays hard-coded to true.

Changelog fragment, README Roadmap and the CLAUDE.md role list updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-21 21:53:20 +00:00
Defame1297andClaude Opus 5.5 8f08badfd4 docs(agents): rewrap the layout rule
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 43s
Molecule / molecule (pull_request) Successful in 15m53s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 21:37:33 +00:00
Defame1297andClaude Opus 5.5 f01f6b9374 docs(agents): keep the no-alias rule to inputs and reconcile platform aims
Review round 2: the no-alias ban was decided for inputs only; the
fragment check requires a fragment and checks the section only for a
dropped platform; schema[role-arg-spec] holds entry-level misuse; say
why internal roles are listed in .ansible-lint-ignore; scope the
all-three-releases aim to roles that target both kinds of host.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 21:35:19 +00:00
Defame1297andClaude Opus 5.5 11c1483af3 docs(agents): word pending controls as pending in roles/AGENTS.md
Review: name the check each pending control will be, not only its issue;
state complexity and the role-name exemption as future controls; name
schema[role-arg-spec] for the validation misuse; merge the duplicated
input rule into the role interface; add entry-point validation and the
negative-test ordering; drop the claim that contributor docs point here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 21:32:25 +00:00
Defame1297andClaude Opus 5.5 e524eef4e8 docs(agents): write roles/AGENTS.md with the role rules
State every role rule in force with its reason and how it is held. Rules
whose control has not landed say "review until #N lands".

Keep the file out of the Collection tarball (build_ignore) until the
tarball check refuses AGENTS.md at any depth, and put it on the Molecule
selector's IGNORED list: no scenario reads it.

Closes #181

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 21:20:10 +00:00
kamino-renovate Bot 0385dbae02 Merge pull request 'chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.32' (#280) from renovate/git.rkdr.net-mortis-ci-0.x into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 40s
2026-11-21 20:20:32 +00:00
renovate-bot 892b3f99e3 chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.32
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 27s
Lint / lint (pull_request) Successful in 41s
Molecule / molecule (pull_request) Successful in 2s
2026-11-21 19:35:34 +00:00
Defame1297 d30e32e49f Merge pull request 'ci: lint workflows with zizmor' (#279) from ci/zizmor into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 9s
Lint / lint (push) Successful in 52s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 10s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.32) (push) Successful in 4m38s
Reviewed-on: #279
Reviewed-by: Defame1297 <[email protected]>
2026-11-21 18:58:07 +00:00
Defame1297andClaude Opus 5.5 308589e7f9 ci: name the single credential check in the image step and its log
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 59s
Molecule / molecule (pull_request) Successful in 1s
The step no longer chooses between credentials, so its name says it
checks the push token, and the log records that the probe passed. The
Dockerfile says why the smoke workflow sets `permissions: {}`.

Refs #145

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 18:53:41 +00:00
Defame1297andClaude Opus 5.5 e45b92551a ci: lint workflows with zizmor
Add zizmor (v1.32.0, pinned by SHA) as a pre-commit hook over
.gitea/workflows, offline at its default level; it fails on
pull_request_target and on ${{ }} expanded into run:. The ci image
bakes and smoke-tests the new hook environment, so its version moves
to 0.2.32.

image.yml drops `packages: write` and the job-token probe: Gitea 28
refuses the job token for organisation packages, and the latest build
used the org push token. One probe of that token now fails fast.

Refs #145

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 18:52:22 +00:00
Defame1297 96a090cead Merge pull request 'ci: require maintainer review for gate files through CODEOWNERS' (#278) from ci/codeowners into main
Build / build (push) Successful in 13s
Lint / lint (push) Successful in 40s
Molecule / molecule (push) Successful in 17m0s
Reviewed-on: #278
2026-11-21 18:34:21 +00:00
Defame1297andClaude Opus 5.5 844c152d6a ci: say in CODEOWNERS when its approval is enforced
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 41s
Molecule / molecule (pull_request) Successful in 16m18s
The file only requests the maintainer's review; branch protection makes
the approval required. Also say why some patterns match nothing yet, and
that everything else is unowned.

Refs #144

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 17:32:01 +00:00
Defame1297andClaude Opus 5.5 3c6fd325fb ci: require maintainer review for gate files through CODEOWNERS
Add the root CODEOWNERS with one owner, the maintainer, over the gate files:
workflows, scripts, images, lint and REUSE configs, sanity ignores, the
changelog config, galaxy.yml, the contributor and agent docs and the apm
setup. It owns itself, and Gitea reads the root path first.

Gitea drops one backslash before compiling a pattern, so literal dots are
written \\. and reach the engine as \.

The pin files and README.md stay unowned. CODEOWNERS joins galaxy.yml
build_ignore, so the tarball check does not refuse it, and the molecule
selector's IGNORED, since no scenario reads it.

Refs #144

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 17:29:29 +00:00
Defame1297 00e4e9d945 Merge pull request 'docs: remove the ADR 0004 citations' (#276) from docs/remove-adr-0004-citations into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 9s
Lint / lint (push) Successful in 39s
Molecule / molecule (push) Successful in 14m58s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 9s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.31) (push) Successful in 9s
Reviewed-on: #276
2026-11-21 06:40:43 +00:00
Defame1297andClaude Fable 5.2 dfeb423db1 docs: remove the ADR 0004 citations
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 49s
Molecule / molecule (pull_request) Successful in 15m15s
The comments and docstrings that cited a document outside this
repository now state their reason inline or nothing. No pointer to a
future ADR is added, and no behaviour changes.

Closes #128

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-21 06:22:57 +00:00
kamino-renovate Bot c1f03708d8 Merge pull request 'chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.30' (#275) from renovate/git.rkdr.net-mortis-ci-0.x into main
Build / build (push) Successful in 14s
Lint / lint (push) Successful in 42s
2026-11-21 06:15:46 +00:00
Defame1297 e42713c74e Merge branch 'main' into renovate/git.rkdr.net-mortis-ci-0.x
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 41s
Molecule / molecule (pull_request) Successful in 1s
2026-11-21 06:14:50 +00:00
kamino-renovate Bot 97392728de Merge pull request 'chore(deps): update dependency uv to v0.13.9' (#274) from renovate/uv-0.x into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 9s
Lint / lint (push) Successful in 59s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 9s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.31) (push) Successful in 3m51s
2026-11-21 03:19:45 +00:00
renovate-bot d4c68933d4 chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.30
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 26s
Lint / lint (pull_request) Successful in 40s
Molecule / molecule (pull_request) Successful in 1s
2026-11-21 03:18:17 +00:00
renovate-bot 54cf2df6ff chore(deps): update dependency uv to v0.13.9
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 14s
Lint / lint (pull_request) Successful in 1m11s
Molecule / molecule (pull_request) Successful in 1s
2026-11-21 03:18:16 +00:00
Defame1297 68ceb6e2b5 Merge pull request 'docs: remove references to anything outside this repository' (#273) from docs/stand-alone-references into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 9s
Lint / lint (push) Successful in 1m5s
Molecule / molecule (push) Successful in 14m47s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 9s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.30) (push) Successful in 4m4s
Reviewed-on: #273
2026-11-20 23:14:54 +00:00
Defame1297andClaude Fable 5.2 3384ff2836 docs: remove references to anything outside this repository
Build / build (pull_request) Successful in 17s
Lint / lint (pull_request) Successful in 1m3s
Molecule / molecule (pull_request) Successful in 15m33s
This repository is public and stands alone. Comments and prose no longer
describe another repository, its documents, hosts, network or runner
sizing; each one states its own reason or is gone.

- Workflow headers keep the conclusions (disposable runner with no
  outside secret, the if: guard is not a boundary, no fork pull
  requests, the image build's memory cap) and drop the description.
- Isolation lines are worded as a property of this repository.
- The denied image namespace stays in check_image_versions.py, described
  only as a namespace this repository's CI must not use.
- CLAUDE.md and CONTRIBUTING.md gain the standing rule and the search to
  run when bringing content in from another repository.
- ci image 0.2.29 -> 0.2.30: .pre-commit-config.yaml and
  requirements-dev.txt are image inputs.

The ADR 0004 pointers, the README Roadmap, the skills-source mentions
and released changelog entries stay as they are.

Closes #108

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-20 22:57:17 +00:00
Defame1297 ef0a1010f3 Merge pull request 'chore(release): 1.8.0' (#269) from chore/release-1.8.0 into main
Lint / lint (push) Successful in 57s
Molecule / molecule (push) Successful in 14m50s
Build / build (push) Successful in 13s
Reviewed-on: #269
v1.8.0
2026-11-20 20:07:52 +00:00
Defame1297andClaude Opus 5.5 3ad72d78b3 chore(release): 1.8.0
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 56s
Molecule / molecule (pull_request) Successful in 14m55s
Adds the traefik role, the first role of wave 2, and the internal _binary_update role
it uses to swap in a new release with rollback (not part of the public API). The
trivial README and comment fixes of the wave 1 scrub ship here too. Existing roles are
unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-20 19:40:12 +00:00
Defame1297 7982b266ef Merge pull request 'feat(traefik): add the traefik role' (#268) from feat/traefik-role into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 54s
Molecule / molecule (push) Successful in 14m58s
Reviewed-on: #268
2026-11-20 19:35:39 +00:00
Defame1297andClaude Opus 5.5 589b71a312 feat(traefik): add the traefik role
Build / build (pull_request) Successful in 15s
Lint / lint (pull_request) Successful in 1m32s
Molecule / molecule (pull_request) Successful in 3m38s
Moves the traefik role from the environment repository, the first wave 2 role and the
first caller of the internal _binary_update role.

Against the source:
- The update path stages the downloaded, checksum-verified binary in a directory next to
  the live one and hands the stop, backup, swap, restart, version check and rollback to
  mortis.kamino._binary_update (include_role with apply tags, so --tags update reaches
  it). A download or checksum failure still leaves the running service untouched and
  says so; a failure in the swap keeps the rollback message of _binary_update.
- Two small behaviour changes come with _binary_update: the backup is taken whenever a
  live binary exists (the source skipped it when the binary reported no version), and a
  failure before the stop no longer restarts the running service.
- The legacy name guards (pre-rename variables of the environment) are dropped, as in
  the wave 1 roles, and the argument_specs and README no longer mention them.
- Environment references are gone from comments, the README and the argument_specs:
  issue numbers, host names, inventory paths, playbooks and the role's own history. The
  Renovate comment on traefik_version is dropped, since this repository has no manager
  for it; the README and argument_specs recommend pinning the version in inventory.
- meta namespace mortis; the scenario follows the Kamino conventions (header,
  test_sequence, no provisioner env) and calls the role by FQCN.
- The scenario's verify gains a real version bump: down to another release (v3.7.18)
  and back to the role default with traefik_update, asserting the version, an active
  unit and no staging directory, backup or download left behind.

Changelog fragment, README Roadmap and the CLAUDE.md role list updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-20 19:20:37 +00:00
Defame1297 82de44dade Merge pull request 'feat(_binary_update): add the internal binary update role' (#266) from feat/binary-update-role into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 1m14s
Molecule / molecule (push) Successful in 11m46s
Reviewed-on: #266
2026-11-20 19:17:00 +00:00
Defame1297andClaude Opus 5.5 f4965db6f3 feat(_binary_update): add the internal binary update role
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 1m17s
Molecule / molecule (pull_request) Successful in 11m34s
Swaps a staged, verified binary into place for a systemd service: refuse when nothing
executable is staged, then reload, stop and wait, back up the live binary, rename the
staged file over it, start and wait for active, and compare the reported version. A
failure after the stop restores this run's backup, starts the service again and fails
with a message that says whether the restore and the restart worked. Under --check the
waits and the version check are skipped, so a preview against a stopped service does
not fall into the rollback. The staged file is removed in every case.

The role is internal (ADR 0004 in the environment repository): called only by roles of
this Collection by FQCN, outside the public API, marked by the underscore, [INTERNAL]
in its meta and argument_specs, and a first task that refuses a call without a parent
role. traefik is its first caller and arrives in the same release.

Two molecule scenarios use stub binaries under a stub unit, without network: default
(successful bump and idempotence, a binary that cannot start, a binary that reports the
wrong version, nothing staged, a direct call, a first install) and check_mode (the bump
under molecule check against a stopped service changes nothing).

Lint: role-name is skipped (its regex rejects the leading underscore, as for
prometheus.prometheus roles/_common), meta has no role_name (schema[meta] uses the same
regex and cannot be skipped), and .ansible-lint-ignore lists the role's own files for
var-naming[no-role-prefix], which strips the underscore from the variable but not from
the role name and so cannot pass. The ignore file is kept out of the Collection build
and is on the scenario picker's IGNORED list. The README Roadmap no longer lists the role.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-20 19:00:19 +00:00
Defame1297 d3cbcefd54 Merge pull request 'feat(ci): run the molecule scenarios of the roles that use a changed role' (#264) from feat/molecule-role-dependencies into main
Build / build (push) Successful in 14s
Lint / lint (push) Successful in 1m15s
Reviewed-on: #264
2026-11-20 18:45:13 +00:00
Defame1297andClaude Opus 5.5 fcb51da065 feat(ci): run the molecule scenarios of the roles that use a changed role
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 1m1s
Molecule / molecule (pull_request) Successful in 9m45s
The scenario picker assumed the roles were independent and a test enforced it. Wave 2
roles call other Collection roles (traefik includes ufw and the internal _binary_update),
so a change to the called role must also run the callers' scenarios.

A role uses another when a file under its directory names it as mortis.kamino.<role>;
the relation is followed transitively and read from the tree under test. A role the
pull request deletes or renames still counts as used by the roles that name it, so
their scenarios run and show the break.

The independence test becomes a test that fails a bare or templated role name in an
include, import (also in the k=v form), play roles: entry or meta dependency, and task
includes that reach outside the role through '..'. It walks .yml and .yaml files and has
its own cases for each form. This lands before the first such role because the workflow
runs the picker from the base branch's copy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-20 18:33:02 +00:00
Defame1297 30ce518f00 Merge pull request 'chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.17.6' (#260) from renovate/astral-sh-ruff-pre-commit-0.x into main
Build / build (push) Successful in 13s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 15s
Lint / lint (push) Successful in 49s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 12s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.29) (push) Successful in 4m57s
Reviewed-on: #260
2026-11-20 17:50:49 +00:00
Defame1297 19b6a8e429 Merge branch 'main' into renovate/astral-sh-ruff-pre-commit-0.x
Build / build (pull_request) Successful in 14s
Lint / lint (pull_request) Successful in 58s
Molecule / molecule (pull_request) Successful in 1s
2026-11-20 17:48:59 +00:00
Defame1297 0435e1e593 Merge pull request 'docs(glossary): hold the three positions per repository' (#261) from docs/glossary-positions-per-repository into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 33s
Reviewed-on: #261
2026-11-20 17:48:46 +00:00
Defame1297 fef2c48e94 docs(glossary): hold the three positions per repository
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 33s
Molecule / molecule (pull_request) Successful in 1s
A trusted contributor of another repository in the organisation, such as
the agent skills source, can be a friend or an outsider here: write access
there grants nothing in this repository.

Refs: #249
Assisted-by: Claude Code:claude-opus-5-5
2026-11-20 17:44:15 +00:00
renovate-bot c427e6afd1 chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.17.6
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 27s
Lint / lint (pull_request) Successful in 50s
Molecule / molecule (pull_request) Successful in 1s
2026-11-20 03:18:16 +00:00
Defame1297 20781b5465 Merge pull request 'docs(readme): list the shared binary update as internal _binary_update' (#247) from docs/roadmap-internal-binary-update into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 32s
Reviewed-on: #247
2026-11-17 17:19:23 +00:00
Defame1297andClaude Opus 5.5 76886fa5d5 docs(readme): list the shared binary update as internal role _binary_update
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 1s
The Roadmap now names the wave 2 helper `_binary_update`: an internal
role called only by Collection roles, outside the semver promise, that
ships with the traefik extraction (ADR 0004 amendment, review in the
environment repository's #365).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-17 17:06:38 +00:00
kamino-renovate Bot 51bed6c9a8 Merge pull request 'chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2604 docker tag to v0.1.5' (#241) from renovate/git.rkdr.net-mortis-molecule-ubuntu2604-0.x into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 32s
Molecule / molecule (push) Successful in 9m44s
2026-11-16 22:27:21 +00:00
Defame1297 6bda5f252f Merge branch 'main' into renovate/git.rkdr.net-mortis-molecule-ubuntu2604-0.x
Build / build (pull_request) Successful in 12s
Molecule / molecule (pull_request) Successful in 9m49s
Lint / lint (pull_request) Successful in 32s
2026-11-16 22:06:05 +00:00
kamino-renovate Bot 49c78cd036 Merge pull request 'chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2404 docker tag to v0.1.8' (#240) from renovate/git.rkdr.net-mortis-molecule-ubuntu2404-0.x into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 32s
Molecule / molecule (push) Successful in 9m51s
2026-11-16 22:05:48 +00:00