mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
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>
This commit is contained in:
10
test/e2e/quadlet/template-dependency@.container
Normal file
10
test/e2e/quadlet/template-dependency@.container
Normal file
@@ -0,0 +1,10 @@
|
||||
## 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
|
||||
Reference in New Issue
Block a user