Files
podman/test/e2e/quadlet/template-dependency@.container
Ygal Blum 83e65f91a4 Quadlet - Support template dependency
Add support for Volumes and Networks
Add e2e and system tests

Resolves: https://github.com/containers/podman/issues/25136

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
2025-09-30 13:41:20 -04:00

11 lines
650 B
Plaintext

## assert-podman-args-key-val "--mount" "," "type=volume,source=systemd-template-dependency-%i,destination=/path/in/container,ro=true"
## assert-podman-args -v systemd-template-dependency-%i:/container/quadlet
## assert-podman-args "--network" "systemd-template-dependency-%i"
## assert-key-is "Unit" "Requires" "template-dependency-network@.service" "template-dependency-volume@.service" "template-dependency-volume@.service"
[Container]
Image=localhost/imagename
Mount=type=volume,source=template-dependency@.volume,destination=/path/in/container,ro=true
Volume=template-dependency@.volume:/container/quadlet
Network=template-dependency@.network