-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quadlet - add support for relative path in Volume key in .container file
If the volume source starts with . resolve the path relative to the location of the unit file Update the test code to allow verification of regex for the value in key value arguments Add the usage of relative paths to the volume and mount test cases Update the man page Signed-off-by: Ygal Blum <[email protected]>
- Loading branch information
Showing
5 changed files
with
59 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
## assert-podman-args -v /host/dir:/container/volume | ||
## assert-podman-args -v /host/dir2:/container/volume2:Z | ||
## assert-podman-args-regex -v .*/podman_test.*/quadlet/host/dir3:/container/volume3 | ||
## assert-podman-args -v named:/container/named | ||
## assert-podman-args -v systemd-quadlet:/container/quadlet localhost/imagename | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
Volume=/host/dir:/container/volume | ||
Volume=/host/dir2:/container/volume2:Z | ||
Volume=./host/dir3:/container/volume3 | ||
Volume=/container/empty | ||
Volume=named:/container/named | ||
Volume=quadlet.volume:/container/quadlet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters