Description
The current Salt states for test packages setup in server_containerized includes hardcoded downloading, unpacking, config templating, and execution of minima inside the container, via mgrctl.
We should not alter the container images, and we should not run additional processes inside it.
{% if grains.get('testsuite') | default(false, true) %}
mgrctl exec 'curl ...'
mgrctl exec 'tar ...'
mgrctl exec 'minima sync ...'
mgrctl cp ...
🎯 Goal
- Completely remove
minima binary usage from inside the container.
- Instead:
- Run
minima sync outside the container (host or init container).
- Mount the synced test repositories into the server container via a volume.
✅ Acceptance Criteria
minima binary and sync logic is moved outside the podman container.
- Documented clear separation between test data provisioning and container deployment.
Originally posted by @srbarrios in #1832 (review)
Description
The current Salt states for test packages setup in
server_containerizedincludes hardcoded downloading, unpacking, config templating, and execution ofminimainside the container, viamgrctl.We should not alter the container images, and we should not run additional processes inside it.
🎯 Goal
minimabinary usage from inside the container.minima syncoutside the container (host or init container).✅ Acceptance Criteria
minimabinary and sync logic is moved outside the podman container.Originally posted by @srbarrios in #1832 (review)