Monika Kairaityte
360b85bf2d
Allow providing custom in_pod argument as a global compose file variable
...
Default command line argument `in_pod` was set to True, but this breaks
the compose file for users who want to use `--userns` argument. This
commit sets default `in_pod` value to None, and later resolves whether
to create a pod by checking compose file, as new argument in compose
file x-podman is now available. Now it is convenient for users to pass
custom `in_pod` value (True or False) as a compose file argument when
command line value of `in_pod` is not provided.
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2024-06-20 09:42:22 +03:00
Povilas Kanapickas
14f39e5b86
Merge pull request #965 from mokibit/fix-gidmap-typo
...
Fix x-podman.gidmap typo
2024-06-17 10:08:17 +03:00
Monika Kairaityte
e799a0b0ea
Fix x-podman.gidmap typo
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2024-06-14 17:31:55 +03:00
Povilas Kanapickas
6d8d3e94fe
Merge pull request #960 from mokibit/github-verbose-integration-tests
...
github: Add verbose option to integration tests
2024-06-08 20:15:13 +03:00
Monika Kairaityte
65d1fdeaa3
github: Add verbose option to integration tests
...
Currently it is not possible to see which test output corresponds to
which test exactly. Now before each new test its test name is printed.
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2024-06-08 20:05:12 +03:00
Povilas Kanapickas
d905a7c638
Merge pull request #949 from mokibit/multiline-env-file
...
Add support for multi-line environment files
2024-05-29 00:47:58 +03:00
Monika Kairaityte
2e8ed2f924
pytests: Add test for object required but path non existent
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2024-05-29 00:09:22 +03:00
Monika Kairaityte
040b73adab
pytests: Add tests for several multi-line environment files
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2024-05-29 00:09:15 +03:00
Hedayat Vatankhah
f3e9a96c96
Fixes #908 : Add support for multi-line environment files
...
Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com>
2024-05-28 23:43:15 +03:00
Povilas Kanapickas
04b107805a
Merge pull request #954 from mokibit/fix-codespelling-update
...
github/workflows: Fix automatic codespelling update
2024-05-28 23:40:59 +03:00
Monika Kairaityte
2c5d00d3e7
github/workflows: Add codespellignore file to address false positives
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2024-05-28 20:20:33 +03:00
Povilas Kanapickas
cac90f69b8
Merge pull request #946 from charliemirabile/selinux_tests
...
Missing SELinux tests
2024-05-22 10:17:05 +03:00
charliemirabile
b513f50f30
test: add missing unit tests for selinux in verbose mount
...
Support for setting the selinux flags on a bind mount specified using
the verbose syntax was merged as part of #911 , but at that time the PR
lacked unit tests. This commit adds the missing tests
Signed-off-by: charliemirabile <46761267+charliemirabile@users.noreply.github.com>
2024-05-21 19:43:03 -04:00
Povilas Kanapickas
8f618b6fab
Merge pull request #763 from otto-liljalaakso-nt/additional_contexts
...
Support additional_contexts
2024-05-21 19:49:23 +03:00
Otto Liljalaakso
cac836b0f5
Support additional_contexts
...
Signed-off-by: Otto Liljalaakso <otto.liljalaakso@novatron.fi>
2024-05-21 19:44:37 +03:00
Povilas Kanapickas
3bb305cef4
Merge pull request #945 from p12tic/split-gpu-test
...
test: Split test_gpu test
2024-05-21 12:25:11 +03:00
Povilas Kanapickas
09034a0c38
test: Split test_gpu test
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-05-21 12:04:32 +03:00
Povilas Kanapickas
e668a339ce
Merge pull request #943 from HernandoR/fix/multi-sub-composes
...
Fix the test_include for multi subcomposes
2024-05-21 11:32:17 +03:00
Zhen Liu
0065082db9
refine the test_include for multi subcomposes
...
Signed-off-by: Zhen Liu <lzhen.dev@outlook.com>
2024-05-21 11:28:27 +03:00
Muayyad Alsadi
5d4de80ab7
Merge pull request #911 from charliemirabile/selinux
...
Add support for selinux in verbose bind mount specification
2024-05-19 11:13:45 +03:00
Muayyad Alsadi
23ad5c3ef7
Merge pull request #920 from mokeyish/gpu
...
Add supoort for enabling GPU access
2024-05-19 11:12:34 +03:00
Muayyad Alsadi
45efe461b0
Merge pull request #941 from HernandoR/patch-1
...
Update podman_compose.py
2024-05-19 11:10:39 +03:00
Zhen Liu
4f73f2b79e
fix: add include test file, edit the assertion
...
Signed-off-by: Zhen Liu <lzhen.dev@outlook.com>
2024-05-18 21:23:43 +08:00
Zhen Liu
1d64f2cf8c
Update podman_compose.py
...
fix #940
Signed-off-by: Zhen Liu <lzhen.dev@outlook.com>
2024-05-18 20:33:10 +08:00
Povilas Kanapickas
2ce6d1a1e7
Merge pull request #933 from hedayat/fix-build-error-log
...
Fix logging build error message
2024-05-13 16:24:15 +03:00
Hedayat Vatankhah
4e22faefd6
Fix logging build error message
...
Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com>
2024-05-13 15:13:40 +03:00
Muayyad Alsadi
7a2da76ab8
Merge pull request #724 from hedayat/fix-merge-depends-on
...
Fixes #723 : merge short & long syntax of depends_on dependencies
2024-05-08 17:57:44 +03:00
YISH
79865c2e13
Add support for enabling GPU access
...
Signed-off-by: YISH <mokeyish@hotmail.com>
2024-05-07 10:32:24 +08:00
Povilas Kanapickas
33d7d35a4d
Merge pull request #851 from fccagou/fix-ipam-driver-default
...
fix(ipam_driver): do not pass --ipam-driver option when value set to …
2024-05-06 17:31:59 +03:00
fccagou
c23a8b2cbd
Do not pass --ipam-driver option when value set to default
...
fixes #852 .
Signed-off-by: fccagou <me@fccagou.fr>
2024-05-06 17:00:17 +03:00
Povilas Kanapickas
36a3d3c207
Merge pull request #925 from GerkinDev/feat/env-file-object
...
Fixes #897 : support `env_file` as objects
2024-05-06 16:57:25 +03:00
Alexandre Germain
b202a09501
Add support for env_file
as objects
...
Fixes: https://github.com/containers/podman-compose/issues/897
Signed-off-by: Alexandre Germain <nihilivin@gmail.com>
2024-05-06 14:13:37 +03:00
Povilas Kanapickas
35cbc49160
Merge pull request #928 from schugabe/patch-1
...
add await for create_pods call
2024-05-06 14:00:29 +03:00
Johannes
5c4aa40032
add await for create_pods call
...
fixes log output podman_compose.py:2527: RuntimeWarning: coroutine 'create_pods' was never awaited
Signed-off-by: Johannes Kasberger <schugabe@gmx.at>
2024-05-06 11:02:45 +02:00
Povilas Kanapickas
0ee7c2630a
Merge pull request #641 from DaniruKun/devel
...
Add instructions on install from Homebrew
2024-05-04 18:03:43 +03:00
Daniils Petrovs
cef1785cd5
Add instructions on install from Homebrew
...
Signed-off-by: Daniils Petrovs <thedanpetrov@gmail.com>
2024-05-04 17:50:06 +03:00
Povilas Kanapickas
b4cfef12e9
Merge pull request #926 from p12tic/cleanup-tests
...
Cleanup tests
2024-05-04 17:32:00 +03:00
Povilas Kanapickas
b761050b0b
tests: Merge multiple compose merging tests into single test class
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-05-04 17:30:09 +03:00
Povilas Kanapickas
e1d0ea7b4e
tests: Move normalize_service tests to a separate test class
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-05-04 17:29:04 +03:00
Povilas Kanapickas
1430578568
tests: Simplify command and entrypoint normalization tests
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-05-04 17:28:59 +03:00
Povilas Kanapickas
8f41cd3cdb
Merge pull request #731 from g2p/patch-1
...
README: explain that netavark is an alternative to the dnsname plugin
2024-05-01 21:16:27 +03:00
Povilas Kanapickas
a73dac2e39
Merge pull request #923 from winston-yallow/remove-sideeffect-from-systemd-registration
...
Don't create pods/container when registering systemd unit
2024-05-01 21:05:13 +03:00
Winston
d31a8b124d
Don't create pods/container when registering systemd unit
...
Signed-off-by: Winston <44872771+winston-yallow@users.noreply.github.com>
2024-05-01 20:03:14 +02:00
Gabriel de Perthuis
5df4e786ee
README: explain that netavark is an alternative to the dnsname plugin
...
This is a useful hint when the dnsname plugin is not packaged.
Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>
2024-05-01 15:13:29 +02:00
Povilas Kanapickas
27e27e9fe9
Merge pull request #918 from p12tic/fix-in-pod
...
Fix handling of --in-pod argument
2024-04-28 21:33:50 +03:00
Povilas Kanapickas
70a0e2d003
Fix handling of --in-pod argument
...
Currently --in-pod handling is broken because the only way to set False
is by providing empty argument like "--in-pod=". As of Python 3.7 the
solution is to accept string and parse manually.
Co-authored-by: Randolph Sapp <res.sapp@gmail.com>
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-04-28 21:16:34 +03:00
Povilas Kanapickas
58641f0545
Merge pull request #716 from Tayeh/images_cmd
...
add `podman-compose images` command
2024-04-28 20:37:07 +03:00
Mohammed Tayeh
eea8bac496
Add images command
...
Signed-off-by: Mohammed Tayeh <m.tayeh94@gmail.com>
2024-04-28 19:04:23 +03:00
Povilas Kanapickas
09a8a3edf9
Merge pull request #917 from p12tic/x-podman-keys
...
Migrate x-podman dictionary on container root to x-podman.* fields
2024-04-28 18:29:33 +03:00
Povilas Kanapickas
a6c4263738
Add tests for x-podman.uidmaps and x-podman.gidmaps
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2024-04-28 18:25:04 +03:00