test: molecule scenarios for crowdsec and forgejo_runner_native #13
Loading…
Reference in a new issue
No description provided.
Delete branch "test/molecule-crowdsec-runner"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds scenarios for the two roles that changed most recently and had no coverage. Both run only the image_bake subset (--tags via ansible_args) on a Debian 13 container.
Role changes (molecule-only guards, no production behavior change): crowdsec package installs skipped under molecule_test (postinst needs live systemd); /etc/hosts lineinfile uses unsafe_writes under molecule_test (container bind mount).
Verify plays are tagged always: with --tags image_bake on every molecule playbook, untagged verify tasks are skipped silently, which made a first 'passing' run meaningless.
Tested locally: both scenarios pass (converge, idempotence, verify with real assertions). Not wired into CI yet.
🤖 Generated with Claude Code