- Add multi-instance molecule scenario verifying isolated data/config dirs - Add lifecycle molecule scenario testing stop/disable/enable/start sequence - Update default and binary verify playbooks for template unit assertions - Add integration tests for full CLI lifecycle and multi-instance support - Add pytest integration marker and --no-cov Makefile target - Update README with lifecycle commands, multi-instance examples, and architecture - Update Makefile with start/stop/enable/disable/status/remove targets - Update .env.example with GRM_LANG documentation
40 lines
734 B
YAML
40 lines
734 B
YAML
---
|
|
driver:
|
|
name: docker
|
|
|
|
platforms:
|
|
- name: ${MOLECULE_PLATFORM_NAME:-ubuntu-2204}
|
|
image: ${MOLECULE_PLATFORM_IMAGE:-geerlingguy/docker-ubuntu2204-ansible:latest}
|
|
command: ${MOLECULE_PLATFORM_COMMAND:-sleep infinity}
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
|
cgroupns_mode: host
|
|
privileged: true
|
|
pre_build_image: true
|
|
|
|
provisioner:
|
|
name: ansible
|
|
playbooks:
|
|
converge: converge.yml
|
|
prepare: ../common/prepare.yml
|
|
env:
|
|
ANSIBLE_ROLES_PATH: "../../.."
|
|
|
|
scenario:
|
|
test_sequence:
|
|
- dependency
|
|
- cleanup
|
|
- destroy
|
|
- syntax
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- idempotence
|
|
- side_effect
|
|
- verify
|
|
- cleanup
|
|
- destroy
|
|
|
|
verifier:
|
|
name: ansible
|