Commit Graph
833 Commits
Author SHA1 Message Date
Defame1297 cdc5937e45 Merge pull request 'chore(apm): install the plan package' (#464) from feat/install-plan into main
Reviewed-on: #464
2026-11-28 18:46:25 +00:00
Defame1297 cd46e9dfb4 chore(apm): install holocron plan package
Build / build (pull_request) Successful in 1m6s
Lint / lint (pull_request) Successful in 4m29s
Molecule / molecule (pull_request) Successful in 12s
Adds the plan package, which turns a ticket or idea into a validated
spec and agent-ready tickets and ships the /next command. Its deployed
command is ignored like the deployed skills and agents.

The lock moves to lockfile_version 4 because apm-cli 0.38.1, the
version pinned in requirements-dev.txt, upgrades it on install.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-28 18:37:12 +00:00
Defame1297 8c3f9c4594 Merge pull request 'ci(molecule): connect over the Docker API with a fixed Python interpreter' (#463) from ci/455-docker-api-connection into main
Reviewed-on: #463
2026-11-28 17:55:54 +00:00
Defame1297 c109d24229 ci(molecule): name the issue that removes the docker CLI mount
Build / build (pull_request) Successful in 38s
Lint / lint (pull_request) Successful in 3m24s
Molecule / molecule (pull_request) Successful in 17s
Part of #455

Assisted-by: Claude Code
2026-11-28 16:27:24 +00:00
Defame1297 faf1c7e36f ci(molecule): connect over the Docker API with a fixed Python interpreter
The docker driver's community.docker.docker connection starts the docker CLI for every task
on every host, and each playbook run discovers the interpreter on every container although
both molecule images ship /usr/bin/python3. The shared base config now sets
provisioner.connection_options, which molecule merges over the driver's own connection vars
for the container hosts only, so localhost keeps the controller's Python.

community.docker 5.4.1's docker_api connection supports pipelining and become and needs only
requests, which requirements-dev.lock already pins. The docker CLI bind mount in molecule.yml
stays until a green run shows nothing needs it; its comment and two others that named the
CLI's calls now describe the API connection.

Closes #455

Assisted-by: Claude Code
2026-11-28 15:51:17 +00:00
Defame1297 b5a5a4efa1 Merge pull request 'ci(molecule): start the longest scenarios first and pass the lane count in' (#461) from ci/432-molecule-order-lanes into main
Reviewed-on: #461
Reviewed-by: Defame1297 <[email protected]>
2026-11-28 15:01:59 +00:00
Defame1297 c0c1485470 Merge branch 'main' into ci/432-molecule-order-lanes
Build / build (pull_request) Successful in 29s
Lint / lint (pull_request) Successful in 4m8s
Molecule / molecule (pull_request) Successful in 38m42s
2026-11-28 14:22:43 +00:00
Defame1297 92cf7257d4 test(molecule): wrap the runner stub under the sanity line limit
Build / build (pull_request) Successful in 30s
Lint / lint (pull_request) Successful in 3m51s
Molecule / molecule (pull_request) Successful in 34m54s
Part of #432

Assisted-by: Claude Code
2026-11-28 08:48:29 +00:00
Defame1297 e34a0eb2e0 test(molecule): derive the order test from the duration list
Part of #432. The start-order test now reads its scenarios and their seconds
from the run script's list, so a refreshed list does not break it; the
empty-lanes test only asserts the value is accepted, and the script's header
and duration-list comments are rewrapped and say the list is keyed by
scenario directory.

Assisted-by: Claude Code
2026-11-28 08:45:05 +00:00
Defame1297 ef840c8952 ci(molecule): start the longest scenarios first and pass the lane count in
Part of #432. A long scenario started late sets the end of a full run, so
run_molecule_scenarios.sh now starts scenarios by the durations of the last
full run, longest first, with an unlisted scenario first; the log groups keep
the selection order. A workflow_dispatch input `lanes` reaches the script as
MOLECULE_LANES, so full runs with different lane counts can be compared; an
empty value keeps the default of 4.

The shared molecule config enables ansible.posix.profile_tasks (summary only)
and ansible.posix.timer, so each scenario's log shows where its time goes.

Assisted-by: Claude Code
2026-11-28 08:36:20 +00:00
Defame1297 29db4985fe Merge pull request 'feat(nfs_client): add a role that manages NFS client entries in fstab' (#451) from feat/402-nfs-client into main
Reviewed-on: #451
2026-11-28 08:25:06 +00:00
Defame1297 1fedced1d3 Merge branch 'main' into feat/402-nfs-client
Build / build (pull_request) Successful in 30s
Molecule / molecule (pull_request) Successful in 1m42s
Lint / lint (pull_request) Successful in 2m29s
2026-11-28 08:22:32 +00:00
Defame1297 a2ab13a6e1 Merge pull request 'feat(docker): pin the Docker apt key by checksum' (#454) from feat/448-docker-keyring-checksum into main
Reviewed-on: #454
2026-11-28 08:22:23 +00:00
Defame1297 a185a301db docs(docker): say the keyring checksum follows an overridden key URL
Build / build (pull_request) Successful in 28s
Lint / lint (pull_request) Successful in 3m37s
Molecule / molecule (pull_request) Successful in 7m29s
Set docker_keyring_checksum together with docker_gpg_url, and state that
the checksum is the hex digest without the sha256: prefix.

Assisted-by: Claude Code
2026-11-27 22:25:00 +00:00
Defame1297 c7c38c6bc0 feat(docker): pin the Docker apt key by checksum
The key that signs the Docker repository was trusted as whatever the URL served. It is now checked
against a pinned sha256, so a changed key stops the install until a person has verified it.

Assisted-by: Claude Code
2026-11-27 22:09:56 +00:00
Dragonish fcd2290e14 test(nfs_client): refresh the apt cache in the scenario's prepare
Build / build (pull_request) Successful in 31s
Molecule / molecule (pull_request) Successful in 2m5s
Lint / lint (pull_request) Successful in 2m47s
The molecule image ships without apt lists, and --check does not refresh
them, so the fresh-host check found no nfs-common to install and failed
with "No package matching 'nfs-common' is available". The docker, pihole,
system_baseline and traefik scenarios refresh the cache in prepare for the
same reason.

Refs #402

Assisted-by: Claude Code
2026-11-27 21:55:02 +00:00
Dragonish 5ce5e3c932 feat(nfs_client): add a role that manages NFS client entries in fstab
Build / build (pull_request) Successful in 31s
Molecule / molecule (pull_request) Failing after 43s
Lint / lint (pull_request) Successful in 1m53s
Installs nfs-common and manages NFS mount entries from nfs_client_mounts
(src, path, optional opts, state present or absent). Each mount point is
created without owner, group or mode, because once a share is mounted a
chown or chmod there changes the permissions on the NFS server. The role
writes only the fstab line and reloads systemd; it never mounts or
unmounts. An absent entry maps to ansible.posix.mount's absent_from_fstab,
which removes the line and leaves the share and the directory alone.

The default options are _netdev,nofail. x-systemd.automount is left out.

Verified locally: yamllint, ansible-lint (production profile), syntax check
of the scenario playbooks, the controller-side refusals of verify.yml (14
cases, each matched on its own message), and the module's fstab behaviour
against a scratch fstab (replacement, absent_from_fstab, idempotence).
Not verified: Molecule, which runs only in CI; the apt install and the
daemon-reload handler; that systemd generates the mount units in the
scenario's containers.

Refs #402

Assisted-by: Claude Code
2026-11-27 21:47:09 +00:00
Defame1297 b3b62121a3 Merge pull request 'chore(release): 3.2.0' (#450) from chore/release-3.2.0 into main
Build / build (push) Successful in 17s
Reviewed-on: #450
v3.2.0
2026-11-27 21:45:36 +00:00
Defame1297 b7bac07757 chore(release): 3.2.0
Build / build (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 6s
Lint / lint (pull_request) Successful in 1m35s
Minor release: new inputs for system_baseline (extra packages, skipping
the upgrade during a vzdump backup, leaving journald alone), cloudflared
and traefik, a staleness window for distribution-only APT refreshes, and
facts read through ansible_facts in docker, gitea_runner and
system_baseline.

Assisted-by: Claude Code
2026-11-27 21:36:05 +00:00
Defame1297 30a8e71f97 Merge pull request 'fix(system_baseline): accept every size journald reads for the journal cap' (#449) from fix/journal-max-use-syntax into main
Reviewed-on: #449
2026-11-27 21:33:50 +00:00
Defame1297 985995656a fix(system_baseline): accept every size journald reads for the journal cap
Build / build (pull_request) Successful in 48s
Lint / lint (pull_request) Successful in 2m47s
Molecule / molecule (pull_request) Successful in 6m7s
The new check on system_baseline_journal_max_use refused sizes journald
accepts (a bare byte count, 1.5G, 10 M, P and E units), which 3.1.0
wrote as given, and accepted infinity, which SystemMaxUse does not take.
The check now follows journald's parse_size(): a number with an
optional upper-case B, K, M, G, T, P or E, still with no line break.

Assisted-by: Claude Code
2026-11-27 21:24:32 +00:00
Defame1297 5ac8eadac1 Merge pull request 'chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2404 docker tag to v0.1.11' (#447) from renovate/own-ci-images into main
Reviewed-on: #447
Reviewed-by: Defame1297 <[email protected]>
2026-11-27 20:01:04 +00:00
renovate-bot 1ab99405ea chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2404 docker tag to v0.1.11
renovate/stability-days Updates have met minimum release age requirement
Lint / lint (pull_request) Successful in 3m27s
Build / build (pull_request) Successful in 1m14s
Molecule / molecule (pull_request) Successful in 34m35s
2026-11-27 19:25:48 +00:00
Defame1297 5fa17e036c Merge pull request 'feat(system_baseline): optionally skip the upgrade while a vzdump backup is running' (#410) from feat/400-skip-upgrade-during-vzdump into main
Reviewed-on: #410
Reviewed-by: Defame1297 <[email protected]>
2026-11-27 19:24:38 +00:00
Defame1297 dab3bd2d44 Merge branch 'main' into feat/400-skip-upgrade-during-vzdump
Build / build (pull_request) Successful in 31s
Lint / lint (pull_request) Successful in 2m30s
Molecule / molecule (pull_request) Successful in 6m20s
2026-11-27 19:17:40 +00:00
Defame1297 1be02c574b Merge pull request 'feat(cloudflared): add cloudflared_tunnel_lookup_delay input' (#441) from feat/cloudflared-lookup-delay into main
Reviewed-on: #441
2026-11-27 19:14:48 +00:00
Defame1297 084d2d592f Merge branch 'main' into feat/cloudflared-lookup-delay
Build / build (pull_request) Successful in 34s
Lint / lint (pull_request) Successful in 2m55s
Molecule / molecule (pull_request) Successful in 3m34s
2026-11-27 19:06:43 +00:00
Defame1297 90f27812eb Merge pull request 'test(tailscale): let apt reuse downloaded packages in the default scenario' (#440) from test/tailscale-reuse-debs into main
Reviewed-on: #440
2026-11-27 19:00:28 +00:00
Defame1297 a5c1426b25 Merge branch 'main' into test/tailscale-reuse-debs
Build / build (pull_request) Successful in 37s
Lint / lint (pull_request) Successful in 2m24s
Molecule / molecule (pull_request) Successful in 2m47s
2026-11-27 18:56:36 +00:00
Defame1297 4c1cba6e35 Merge pull request 'feat(traefik): add traefik_release_url for a release mirror' (#445) from feat/traefik-release-url into main
Reviewed-on: #445
2026-11-27 18:54:23 +00:00
Defame1297 008039c60c Merge remote-tracking branch 'origin/main' into feat/400-skip-upgrade-during-vzdump
Lint / lint (pull_request) Successful in 2m46s
Build / build (pull_request) Successful in 38s
Molecule / molecule (pull_request) Successful in 9m12s
Assisted-by: Claude Code
2026-11-27 18:52:49 +00:00
Defame1297 6364445e3c Merge branch 'main' into feat/traefik-release-url
Build / build (pull_request) Successful in 38s
Lint / lint (pull_request) Successful in 2m36s
Molecule / molecule (pull_request) Successful in 5m10s
2026-11-27 18:48:13 +00:00
Defame1297 30352502dd Merge pull request 'feat: refresh the APT cache on distribution-only installs when stale' (#443) from feat/apt-cache-valid-time into main
Reviewed-on: #443
2026-11-27 18:43:54 +00:00
Defame1297 9ae5eca2a3 Merge branch 'main' into feat/apt-cache-valid-time
Build / build (pull_request) Successful in 31s
Lint / lint (pull_request) Successful in 4m10s
Molecule / molecule (pull_request) Successful in 11m57s
2026-11-27 18:31:05 +00:00
Defame1297 b3037273b7 Merge pull request 'ci: turn on Ansible pipelining for Molecule scenarios' (#446) from ci/molecule-pipelining into main
Reviewed-on: #446
2026-11-27 18:07:33 +00:00
Defame1297 34990718f0 Merge branch 'main' into ci/molecule-pipelining
Build / build (pull_request) Successful in 34s
Lint / lint (pull_request) Successful in 2m58s
Molecule / molecule (pull_request) Successful in 37m27s
2026-11-27 17:29:13 +00:00
Defame1297 47540320b6 Merge pull request 'ci: share a Molecule base config with prerun off and smart gathering' (#444) from ci/molecule-shared-config into main
Reviewed-on: #444
Reviewed-by: Defame1297 <[email protected]>
2026-11-27 17:28:18 +00:00
Defame1297 afd62a8cbb Merge branch 'main' into ci/molecule-shared-config
Build / build (pull_request) Successful in 30s
Lint / lint (pull_request) Successful in 3m4s
Molecule / molecule (pull_request) Successful in 47m44s
2026-11-27 16:35:18 +00:00
Defame1297 810a74d8e5 Merge pull request 'test: check refusals once on the controller in verify' (#442) from test/refusals-in-verify into main
Reviewed-on: #442
Reviewed-by: Defame1297 <[email protected]>
2026-11-27 16:32:23 +00:00
Defame1297 87738f65fd Merge branch 'main' into test/refusals-in-verify
Build / build (pull_request) Successful in 29s
Lint / lint (pull_request) Successful in 3m20s
Molecule / molecule (pull_request) Successful in 22m24s
2026-11-27 16:09:20 +00:00
Defame1297 48e6dcb543 Merge pull request 'ci(molecule): select by image pin for a molecule.yml change of only pins or comments' (#439) from ci/selector-narrow-pins into main
Reviewed-on: #439
Reviewed-by: Defame1297 <[email protected]>
2026-11-27 16:08:45 +00:00
Defame1297 7df98ea8c7 Merge branch 'main' into ci/selector-narrow-pins
Build / build (pull_request) Successful in 28s
Molecule / molecule (pull_request) Successful in 5s
Lint / lint (pull_request) Successful in 1m33s
2026-11-27 16:07:04 +00:00
Defame1297 4a6db3382c Merge pull request 'docs(adr): run Molecule in its own controller image' (#437) from docs/adr-molecule-controller-image into main
Reviewed-on: #437
2026-11-27 16:06:47 +00:00
Defame1297 5e230201e6 Merge branch 'main' into docs/adr-molecule-controller-image
Build / build (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 5s
Lint / lint (pull_request) Successful in 1m33s
2026-11-27 16:05:04 +00:00
Defame1297 114a21fc0f Merge pull request 'docs: update a branch from main only when it is next to merge' (#436) from docs/branch-update-rule into main
Reviewed-on: #436
Reviewed-by: Defame1297 <[email protected]>
2026-11-27 16:04:44 +00:00
Defame1297 c33da78633 Merge branch 'main' into docs/branch-update-rule
Build / build (pull_request) Successful in 29s
Molecule / molecule (pull_request) Successful in 7s
Lint / lint (pull_request) Successful in 1m33s
2026-11-27 16:03:01 +00:00
Defame1297 7dbf9a1bd0 Merge pull request 'ci(renovate): group updates and open them on Mondays' (#438) from ci/renovate-group-schedule into main
Reviewed-on: #438
2026-11-27 16:02:48 +00:00
Defame1297 6c031acc26 Merge branch 'main' into ci/renovate-group-schedule
Build / build (pull_request) Successful in 31s
Molecule / molecule (pull_request) Successful in 4s
Lint / lint (pull_request) Successful in 1m36s
2026-11-27 15:59:47 +00:00
Defame1297 380d52cd13 ci: turn on Ansible pipelining for Molecule scenarios
Molecule / molecule (pull_request) Canceled after 0s
Build / build (pull_request) Canceled after 7s
Lint / lint (pull_request) Canceled after 7s
Set connection.pipelining in the shared Molecule base config. Without
it, every remote task over the community.docker.docker connection pays
extra docker exec and docker cp calls to create a temp dir, copy the
module in and clean up; with it, the module goes over stdin.

The docker connection declares has_pipelining and has no pipelining
option of its own, so core's global setting applies. No role or image
sets requiretty.

Closes #423

Assisted-by: Claude Code:claude-opus-5-5
2026-11-27 15:44:34 +00:00
Defame1297 ab0ce421cc feat(traefik): add traefik_release_url for a release mirror
Build / build (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 0s
Molecule / molecule (pull_request) Canceled after 0s
The archive and checksums URLs were hardcoded to the GitHub releases.
traefik_release_url (default: the GitHub release directory of
traefik_version, as before) lets a host download from a mirror.

The Molecule scenario uses it: verify's update path now downloads
stand-in releases that prepare.yml builds under /opt/molecule-download
(a stub binary answering `version`, its archive and a sha256sum
checksums file), so it no longer fetches two more real releases per
host. The converge still downloads the real release from GitHub, which
keeps the default URL proven. traefik_verify_other_version moves to the
scenario's group vars so prepare and verify share it. The update path
leaves the stub installed, which the README and verify now state.

Verify replaces the fixed 15 s pause with a poll (30 x 2 s) for an
"Unable to obtain ACME certificate" log line stamped at or after the
running process's ExecMainStartTimestamp, so a line left by the
process converge restarted does not count. It fails closed on a
missing start time, a missing line or an unparseable stamp. It then
asserts NRestarts
is 0, since Restart=always would hide a crash.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-27 15:36:34 +00:00