bd29caa797
Release 1.4.0
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-10 15:24:32 +03:00
f0928dd399
Merge pull request #1197 from p12tic/release
...
Release notes for 1.4.0
2025-05-10 15:23:07 +03:00
6c9c09197a
Release notes for 1.4.0
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-10 15:03:54 +03:00
cda84f439f
Merge pull request #1181 from zeyugao/main
...
Return non-zero exit_code on failure when doing `up -d`
2025-05-10 14:44:41 +03:00
67616bdaac
Handle exit code when compose up -d
...
Signed-off-by: Elsa <zeyugao@outlook.com >
2025-05-10 14:38:53 +03:00
7497692b19
Merge pull request #1184 from schnell18/main
...
Fix service_healthy condition enforcing
2025-05-10 14:20:06 +03:00
782c44d4c3
tests: Style cleanup
...
Signed-off-by: Justin Zhang <schnell18@gmail.com >
2025-05-10 14:12:28 +03:00
d7762a54f0
Fix service_healthy condition enforcing
...
Skip dependency health check to avoid compose-up hang for podman prior
to 4.6.0, which doesn't support --condition healthy.
Signed-off-by: Justin Zhang <schnell18@gmail.com >
2025-05-10 14:12:27 +03:00
eba2ca2695
Skip running compose-down during up when there are no active containers
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-10 14:12:18 +03:00
abe5965c9a
tests: Improve reliability of network tests
...
The test did fail on my laptop with podman 5.4.1.
Signed-off-by: Justin Zhang <schnell18@gmail.com >
2025-05-10 14:10:22 +03:00
9e0da82726
Change compose-up to create then start container to avoid double exec
...
Signed-off-by: Justin Zhang <schnell18@gmail.com >
2025-05-10 13:58:23 +03:00
6acdafd5b1
Merge pull request #1190 from gtebbutt/abort-on-failure
...
Add `--abort-on-container-failure` option
2025-05-10 13:51:23 +03:00
8638eb9b6d
tests: Test selected env variables to improve robustness
...
Signed-off-by: Justin Zhang <schnell18@gmail.com >
2025-05-10 13:46:26 +03:00
e1d938ffa6
Add --abort-on-container-failure
...
Signed-off-by: gtebbutt <5956226+gtebbutt@users.noreply.github.com >
2025-05-10 13:41:29 +03:00
d532e09d7d
Merge pull request #1189 from mokibit/add-merge-reset-override
...
Implement `override` and `reset` analog to docker-compose
2025-05-08 01:16:15 +03:00
1dab256cdd
tests/integration: Add override tag attribute test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-04-30 23:37:05 +03:00
2a33ef5c79
tests/integration: Add override tag service test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-04-30 23:37:05 +03:00
5ab734026c
tests/integration: Add reset tag attribute test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-04-30 23:37:05 +03:00
35dc395483
tests/integration: Add reset tag service test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-04-30 23:37:05 +03:00
38a9263424
integration/tests: Move 'volumes_merge' tests to 'merge' directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-04-30 23:37:05 +03:00
cbe9587973
Implement override and reset analog to docker-compose
...
Corresponding Docker compose file documentation:
https://docs.docker.com/reference/compose-file/merge/
Signed-off-by: Sebastian Sellmeier <mail@sebastian-sellmeier.de >
Co-authored-by: Monika Kairaityte <monika@kibit.lt >
2025-04-30 23:37:05 +03:00
8bb43100b1
Merge pull request #1182 from zeyugao/pids_limit
...
Implement pids_limit
2025-04-21 23:50:31 +03:00
98f166d2e4
Implement pids_limit
...
Signed-off-by: Elsa <zeyugao@outlook.com >
2025-04-21 22:51:37 +03:00
150ab02446
Merge pull request #1187 from rgasquet/feature/add-cpuset-option
...
Feature: add cpuset option
2025-04-21 22:49:08 +03:00
ff58a0bff0
Add newsfragment
...
Signed-off-by: Romain Gasquet <romain.gasquet@neutron.fr >
2025-04-19 14:33:15 +02:00
8d899ebb65
Feature: add cpuset option
...
Signed-off-by: Romain Gasquet <romain.gasquet@neutron.fr >
2025-04-19 14:10:30 +02:00
342a39dcfe
Merge pull request #1179 from knarfS/fix_port_cmd
...
Fix port command
2025-04-14 18:05:53 +03:00
d6b8476573
Merge pull request #1180 from knarfS/add_rmi_arg
...
Add rmi argument for down command
2025-04-14 18:04:09 +03:00
ae41ef08c3
tests/integration: Improve tests for port command
...
Refs #778 and #1039
Signed-off-by: Frank Stettner <frank-stettner@gmx.net >
2025-04-10 07:51:39 +02:00
da46ee3910
Fix port command for dynamic host ports
...
Use `podman inspect` to get the actual host ports rather echoing the
defined ports from the compose yml.
Fixes #778 and #1039
Signed-off-by: Frank Stettner <frank-stettner@gmx.net >
2025-04-08 13:57:19 +02:00
d80c31f578
tests/integration: Add tests for up and down command
...
Refs #387
Signed-off-by: Frank Stettner <frank-stettner@gmx.net >
2025-04-08 13:53:27 +02:00
cefa68dc75
Implement rmi argument for down command
...
Fixes #387
Signed-off-by: Frank Stettner <frank-stettner@gmx.net >
2025-04-08 13:53:27 +02:00
2e46ff0db2
Merge pull request #1159 from me-coder/container_scaling_update
...
Updates handling of scale/replicas parameter in CLI and compose file
2025-04-08 02:54:32 +03:00
fbc4c7da80
Integration tests for container scaling changes
...
Signed-off-by: Yashodhan Pise <technoy@gmail.com >
2025-04-08 01:42:03 +03:00
11879d3e94
Updates handling of scale/replicas through CLI & compose file
...
Signed-off-by: Yashodhan Pise <technoy@gmail.com >
2025-04-08 01:37:15 +03:00
27cf8da06f
Addition of relevant newsfragments file
...
Signed-off-by: Yashodhan Pise <technoy@gmail.com >
2025-04-05 20:32:58 +05:30
10a30ba24a
Merge pull request #1173 from mokibit/automate-ulimit-test
...
tests/integration: Automate manual `ulimit` test
2025-04-04 17:12:42 +03:00
a1be62fd31
tests/integration: Automate manual ulimit test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-04-04 16:31:26 +03:00
15bf02a004
Merge pull request #1175 from mokibit/automate-volumes-merge-test
...
tests/integration: Automate manual `volumes_merge` test
2025-04-04 16:31:03 +03:00
e45b5d5063
tests/integration: Automate manual volumes_merge
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-04-04 15:22:45 +03:00
c46ecb226b
Merge pull request #1171 from mokibit/fix-git-build-url-context
...
Fix using git URL as build context
2025-03-31 00:26:56 +03:00
e04b8f3a60
tests/integration: Add integration test for buid git URL as context
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-03-30 21:56:55 +03:00
815450aba9
tests/unit: Add test for buid git URL as context
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-03-30 21:56:55 +03:00
92f0a8583a
Fix using git URL as build context
...
Podman-compose actually did not work with git URL as build context.
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-03-30 21:56:55 +03:00
5f4fc4618c
Add os.path.normpath to normalize dockerfile pathname
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-03-28 22:28:30 +02:00
4d899edeb3
Merge pull request #1166 from piotr-kubiak/megre-args
...
Allow merging of args in both list and dict syntax
2025-03-24 13:35:31 +02:00
f9489afaf5
Allow merging of args in both list and dict syntax
...
Signed-off-by: Piotr Kubiak <piotr-kubiak@users.noreply.github.com >
2025-03-24 13:31:19 +02:00
7d7533772b
Merge pull request #1165 from drachenfels-de/fix-project-name-interpolation
...
Fix `COMPOSE_PROJECT_NAME` interpolation
2025-03-20 19:26:03 +02:00
65b455f081
Fix project name evaluation order
...
The COMPOSE_PROJECT_NAME environment variable must override the
top-level name: attribute in the Compose file.
The precedence order is defined in the docker compose documentation
https://docs.docker.com/compose/how-tos/project-name/#set-a-project-name
Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de >
2025-03-20 12:07:07 +01:00
1aa750bacf
integration/tests: Test project name override with COMPOSE_PROJECT_NAME env variable
...
Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de >
2025-03-20 12:07:07 +01:00
98b9bb9f8e
Fix interpolation for COMPOSE_PROJECT_NAME
...
Fixes #1073
Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de >
2025-03-20 12:07:07 +01:00
170411de8b
test/integration: Test COMPOSE_PROJECT_NAME interpolation
...
Refs #1073
Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de >
2025-03-20 12:07:01 +01:00
0cf1378cb5
Merge pull request #1148 from mokazemi/fix/sigint-down
...
Handle SIGINT when running "up" command to shutdown gracefully
2025-03-20 00:14:11 +02:00
f5a6df6dc4
added changes to release notes
...
Signed-off-by: Mohammad Kazemi <mokazemi@disroot.org >
2025-03-19 16:02:34 +03:30
f106ea0c01
modifications to pass pylint test
...
Signed-off-by: Mohammad Kazemi <mokazemi@disroot.org >
2025-03-19 15:55:55 +03:30
b748c2666c
add try-except block to handle error in case of shutdown error
...
Signed-off-by: Mohammad Kazemi <mokazemi@disroot.org >
2025-03-19 15:55:50 +03:30
3973c476c4
catch SIGINT signal properly in 'up' function and call compose 'down' function for a graceful shutdown
...
Signed-off-by: Mohammad Kazemi <mokazemi@disroot.org >
2025-03-19 15:55:38 +03:30
8b1bd0123c
Merge pull request #1168 from underground-software/build_exit
...
Properly surface errors from build commands
2025-03-19 12:50:16 +02:00
2e7d83f7f0
Properly surface errors from build commands
...
the commit 38b13a3
("Use asyncio for subprocess calls") broke the way
exit codes are reported from the podman compose build command.
The tasks are awaited as they finish which means that if a later build
finishes sucessfully after a failing build, it overwrites status.
Previously the `parse_return_code` function would skip updating the status
if the new return code was zero, but in removing it, this logic was not
carried forward.
Fixes: 38b13a3
("Use asyncio for subprocess calls")
Signed-off-by: charliemirabile <46761267+charliemirabile@users.noreply.github.com >
2025-03-18 21:49:55 -04:00
52e2912e0b
Merge pull request #1157 from mokibit/automate-selinux-test
...
test/integration: Automate manual `selinux` test
2025-03-11 18:15:55 +02:00
8ef537e247
test/integration: Automate manual selinux
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-03-06 13:04:53 +02:00
04fcc26a79
Merge pull request #1117 from rjeffman/no_exception_if_service_is_not_in_compose
...
Don't raise exception on inexistent services in 'down' command
2025-03-05 22:17:10 +02:00
d4760712b7
Don't raise exception on inexistent services in 'down' command
...
When running 'podman-compose down <service>', if service is not part of
the compose, a KeyError exception is raised in function 'get_excluded'.
By only allowing evaluation of services that exist in the compose
provides a cleaner and gentler exit for this case.
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com >
2025-03-05 15:49:52 -03:00
7c61f24467
Merge pull request #1158 from mokibit/automate-uidmaps-test
...
test/integration: Automate manual `uidmaps` test
2025-03-04 23:41:55 +02:00
202c3771a9
test/integration: Automate manual uidmaps
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-03-04 22:28:50 +02:00
a54f0fa573
Merge pull request #1149 from AlexandreAANP/fix/windows-asyncio-loop
...
Fix event loop handling for Windows platform in compose_up function
2025-03-01 16:43:26 +02:00
3353697402
Merge pull request #1152 from IamTheFij/config-quiet
...
Add quiet flag to podman-compose config
2025-03-01 16:42:20 +02:00
ca1b59c449
Merge pull request #1153 from IamTheFij/dco-hook
...
Add hook to check for signoff in commit messages
2025-03-01 16:39:50 +02:00
b9f27795c0
Add hook to check for signoff in commit messages
...
Since this is checked on PR, it could also be checked at commit so users can avoid making commits to
the tree without expected documentation.
Signed-off-by: Ian Fijolek <ian@iamthefij.com >
2025-02-28 13:05:54 -08:00
4cd1642be0
Add quiet flag to podman-compose config
...
This skips printing and is useful for validating config files.
Signed-off-by: Ian Fijolek <ian@iamthefij.com >
2025-02-28 12:48:08 -08:00
fd401331e5
added release note to newsfragment directory
...
Signed-off-by: Alexandre Pita <alexandreanpita@gmail.com >
2025-02-27 11:45:38 +00:00
37b27fa233
Refactor event loop handling to simplify logic for Windows platforms
...
Signed-off-by: Alexandre Pita <alexandreanpita@gmail.com >
2025-02-26 17:28:59 +00:00
976847ef9b
Merge pull request #1143 from italomaia/bug/use-ruff
...
Bug: replaced black with ruff on pre-commit
2025-02-26 18:21:31 +02:00
c6b3d497d6
Adds lint exclusions already ignored by the code
...
Added flake8 excludes to rules that are already ignored by the current
code to avoid validation issues with code that has already been
approved. Added pylint disable to line with lint offense already
accepted.
Signed-off-by: Italo Maia <italo.maia@gmail.com >
2025-02-26 17:57:34 +02:00
10ad739746
Replaces black with ruff on pre-commit-config
...
Current python files are already compatible with ruff, while very
incompatible with black standard therefore, this change just enforces
the reality of the codebase. Without it, pre-commit and the ci will
fight one-another with different formatting.
Signed-off-by: Italo Maia <italo.maia@gmail.com >
2025-02-26 17:57:20 +02:00
784d798dac
Fix event loop handling for Windows platform in compose_up function
...
Signed-off-by: Alexandre Pita <alexandreanpita@gmail.com >
2025-02-26 14:38:46 +00:00
dd01d039bf
Merge pull request #1140 from whym/rename-comment
...
Fix comment, add tests, improve coding style
2025-02-25 02:02:23 +02:00
81a0a5933e
Add more logging tests
...
Signed-off-by: Yusuke Matsubara <whym@whym.org >
2025-02-25 01:52:45 +02:00
c289a3b827
Fix logging test coding style
...
Signed-off-by: Yusuke Matsubara <whym@whym.org >
2025-02-25 01:52:39 +02:00
baccce4f3f
Fix comments related to logging
...
Signed-off-by: Yusuke Matsubara <whym@whym.org >
2025-02-25 01:38:41 +02:00
07af8488db
Merge pull request #1147 from joern19/main
...
Allow configuration of interface_name
2025-02-24 01:26:38 +02:00
cbc5a8c8b3
Add newsfragment for interface_name option
...
Signed-off-by: Jörn Hirschfeld <joern@hirschfeld.tech >
2025-02-23 17:08:06 +01:00
aeaceed7ba
integration test for x-podman.interface_name option
...
Signed-off-by: Jörn Hirschfeld <joern@hirschfeld.tech >
2025-02-23 17:08:00 +01:00
b1eb558b41
Document existence of x-podman.interface_name
...
Signed-off-by: Jörn Hirschfeld <joern@hirschfeld.tech >
2025-02-23 17:04:10 +01:00
1cdc9e6552
interface_name can be specified in net_config_
...
Signed-off-by: Jörn Hirschfeld <joern@hirschfeld.tech >
2025-02-23 17:04:10 +01:00
2f8ed2137c
Merge pull request #1144 from mokibit/automate-secrets-tests
...
test/integration: Automate manual `secrets` test
2025-02-20 09:57:11 +02:00
838957b902
test/integration: Automate manual 'secrets' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-19 21:42:52 +02:00
15380a809d
Merge pull request #1135 from rpluem-vf/keep_fds_open
...
Do not close file descriptors when executing podman
2025-02-18 13:26:15 +02:00
d4e5859370
Do not close file descriptors when executing podman
...
Do not close file descriptors when executing podman. This allows
externally created file descriptors to be passed to containers.
These file descriptors might have been created through systemd
socket activation. See also
https://github.com/containers/podman/blob/main/docs/tutorials/socket_activation.md#socket-activation-of-containers
Signed-off-by: Ruediger Pluem <ruediger.pluem@vodafone.com >
2025-02-12 11:35:51 +01:00
593d7c825e
Merge pull request #1138 from mokibit/automate-seccomp-test
...
tests/integration: Automate manual `seccomp` test
2025-02-07 22:46:39 +02:00
bfba7ba32d
tests/integration: Automate manual seccomp
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-07 22:38:58 +02:00
fe9be2d98f
Merge pull request #1133 from neocturne/pod-args
...
Implement x-podman.pod_args to override --pod-args default
2025-02-07 20:59:36 +02:00
43a2f1d01f
Implement x-podman.pod_args to override --pod-args default
...
Allow setting an argument list as x-podman.pod_args to override the
default value `--infra=false --share=`. `--pod-args` passed on the command
line takes precedence over the value set in docker-compose.yml; the values
are not merged.
Fixes #1057 .
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net >
2025-02-07 12:11:19 +01:00
aa47a373ca
Merge pull request #1132 from mokibit/describe-test_pid
...
tests/integration: Describe `pid` test
2025-02-06 15:29:42 +02:00
eaec19336f
tests/integration: Describe pid
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-06 15:16:44 +02:00
34bee28bb8
Merge pull request #1131 from mokibit/automate-test-no_services
...
tests/integration: Automate manual `no_services` test
2025-02-05 20:53:38 +02:00
bfea139362
tests/integration: Automate manual no_services
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-05 20:47:59 +02:00
4a81bce2a5
Merge pull request #1130 from mokibit/automate-nets_test_ip
...
tests/integration: Automate manual `nets_test_ip` test
2025-02-05 20:44:07 +02:00
e626f15eff
tests/integration: Automate manual nets_test_ip
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-05 19:31:43 +02:00
974250caa5
Merge pull request #1128 from mokibit/automate-nets_test3
...
tests/integration: Automate manual `nets_test3` test
2025-02-03 22:59:45 +02:00
29404af723
tests/integration: Automate manual 'nets_test3' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-03 19:04:15 +02:00
d1ba2f4c7d
Merge pull request #1124 from notdian/file_not_found_error
...
remove incorrect os.chdir, handle relative extends/includes
2025-01-31 01:48:13 +02:00
e03d675b9b
Remove incorrect os.chdir call to fix folder error
...
Signed-off-by: notdian <dian@fishekqi.com >
2025-01-31 01:24:24 +02:00
51d180d2d0
Merge pull request #1120 from mokibit/inform-user-to-use-newer-python
...
Throw a readable error on too old Python
2025-01-27 21:53:24 +02:00
9c905f9012
Merge pull request #1116 from Zeglius/dockerfile_inline
...
Add support for dockerfile_inline
2025-01-27 21:52:05 +02:00
bdb3e4e984
Throw a readable error on too old Python
...
podman-compose v1.0.6 is the last to support Python3.6. When newer
podman-compose version is used with too old Python, podman-compose gives
only a confusing error. This commit gives a clear message to use
upgraded Python version.
A descriptive error can not be thrown, as line "from __future__ imports"
must occur at the beginning of the file, but older Python (older than
Python3.7) does not recognize __future__ and throws an error
immediately.
Therefore, a comment is used to inform the user to update his Python
version.
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-27 21:49:50 +02:00
105e390f6b
Add support for dockerfile_inline
...
Fixes #864
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com >
2025-01-27 21:45:42 +02:00
d79ff01e77
Merge pull request #1113 from mokibit/categorize-integration-tests
...
tests/integration: Categorize integration tests
2025-01-23 02:17:08 +02:00
d9ef3d2cc6
tests/integration: Add missing __init__.py for network_scoped_aliases
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
d23ef4f481
tests/integration: Add missing __init__.py for build_labels test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
b685bce400
tests/integration: Move test utils to one test_utils file
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
7d5bf645f6
tests/integration: Move test "vol" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
9f7ae38bac
tests/integration: Move test "ports" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
3cee4e015c
tests/integration: Move test "config" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
498a1994ce
tests/integration: Move test "env" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
488908f809
tests/integration: Move test "env_file" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
f7bcc4221e
tests/integration: Move test "up_down" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
a73df712cc
tests/integration: Move test "build_ulimits" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
50dc19f5f8
tests/integration: Move test "network" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
9029dce0f6
tests/integration: Move test "nets_test2" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
a8282c77d6
tests/integration: Move test "nets_test1" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
f4b775c7e4
tests/integration: Move test "nethost" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
adf30e0475
tests/integration: Move test "multicompose" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
41675c3916
tests/integration: Move test "ipam_default" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
6caf2eae42
tests/integration: Move test "interpolation" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
3093b00326
tests/integration: Move test "include" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
1c21d655ba
tests/integration: Move test "in_pod" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
18e5fd64f3
tests/integration: Move test "filesystem" to corresponding dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
24bdfd1e17
tests/integration: Move test "extends_w_file_subdir" to corresp. dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
c2d3e156c2
tests/integration: Move test "extends_w_file" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
ba95100cff
tests/integration: Move test "extends_w_empty_service" to corresp. dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:11:46 +02:00
6022669991
tests/integration: Move test "extends" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:01:44 +02:00
e29df71d42
tests/integration: Move test "exit_from" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 02:01:44 +02:00
21b9d385b2
tests/integration: Move test "deps" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 01:48:47 +02:00
4c17ce2434
tests/integration: Move test "default_net_behavior" to corresponding dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 01:48:47 +02:00
09d54e9dcc
tests/integration: Move test "build_secrets" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 01:48:47 +02:00
f1dd9b374e
tests/integration: Move test "build_fail" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 01:48:47 +02:00
87af67fe94
tests/integration: Move test "network_scoped_aliases" to corresp. dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 01:48:47 +02:00
f1d663874e
tests/integration: Move test "build" to corresponding directory
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 01:48:47 +02:00
69ffff33f6
tests/integration: Move test "additional_contexts" to corresp. dir
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-01-23 01:48:47 +02:00
f376700972
Merge pull request #1104 from rjeffman/disable_dns
...
Add support for disable_dns, dns and ignore on network creation
2025-01-19 19:41:30 +02:00
9be3ec985f
Add network "dns" support
...
This patch add 'x-podman.dns' option to the 'network' configuration,
allowing users to set the DNS resolvers for a defined network.
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com >
2025-01-17 13:58:13 -03:00
6e642dca1f
Add network "disable-dns" support
...
Podman allows to create a network disabling the DNS plugin with
'--disable-dns', but this option is not available in the compose spec.
This patch add 'x-podman.disable-dns' to the podman-compose options,
allowing the creation of a network with the DNS plugin disabled.
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com >
2025-01-17 12:14:15 -03:00
0f2c717655
Merge pull request #1110 from indrat/1105-service-env-vars
...
expand service environment_variables before adding to subs_dict
2025-01-16 20:13:39 +02:00
2aa042b9c7
expand service environment_variables before adding to subs_dict
...
Also modifies an existing integration test to expect an empty string as `docker-compose` warns that
`ZZVAR3` is not set and defaults it to an empty string per the acutal output here.
```yaml
$ docker-compose -f container-compose.load-.env-in-project.yaml config
WARN[0000] The "ZZVAR3" variable is not set. Defaulting to a blank string.
name: project
services:
app:
command:
- /bin/busybox
- sh
- -c
- env | grep ZZ
environment:
ZZVAR1: This value is loaded but should be overwritten
ZZVAR2: This value is loaded from .env in project/ directory
ZZVAR3: ""
...
```
Signed-off-by: indra <indra.talip@gmail.com >
2025-01-16 21:00:49 +11:00
a177603661
Merge pull request #1108 from bailsman/fix-398
...
Fixes #398 : exclude deps on up if --no-deps
2025-01-15 23:51:37 +02:00
bc4177fbdc
Exclude dependent containers on up if --no-deps.
...
Fixes #398 .
Signed-off-by: Emanuel Rietveld <e.j.rietveld@gmail.com >
2025-01-15 22:32:28 +01:00
8206cc3ea2
Run should not add --requires if --no-deps.
...
Fixes #717 .
Signed-off-by: Emanuel Rietveld <e.j.rietveld@gmail.com >
2025-01-15 22:29:51 +01:00
60ac5e43b3
Merge pull request #1107 from containers/dependabot/pip/virtualenv-20.26.6
...
build(deps): bump virtualenv from 20.25.1 to 20.26.6
2025-01-13 22:17:09 +02:00
48c6c38fcd
build(deps): bump virtualenv from 20.25.1 to 20.26.6
...
Bumps [virtualenv](https://github.com/pypa/virtualenv ) from 20.25.1 to 20.26.6.
- [Release notes](https://github.com/pypa/virtualenv/releases )
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pypa/virtualenv/compare/20.25.1...20.26.6 )
---
updated-dependencies:
- dependency-name: virtualenv
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-13 18:24:07 +00:00
84f1fbd622
Merge pull request #1101 from p12tic/post-release-fixes
...
RELEASING: Fix release command
2025-01-07 21:24:36 +02:00
ac5291e10b
RELEASING: Fix release command
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-01-07 21:18:35 +02:00
9cbc4c1dcd
Release 1.3.0
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-01-07 21:16:01 +02:00
c63d678887
Merge pull request #1100 from p12tic/release
...
Preparation for release
2025-01-07 21:15:30 +02:00
6de335beb2
Release notes for 1.3.0
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-01-07 21:10:54 +02:00
23799245bd
Add documentation for how to create a release
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-01-07 21:06:45 +02:00
eda4815715
scripts: Add script to make new release
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-01-07 21:06:44 +02:00
cbb0cab814
scripts: Add script to create release notes
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-01-07 21:06:43 +02:00
7c8696b2b2
Merge pull request #1099 from p12tic/python-3.13
...
Declare compatibility with Python 3.13
2025-01-05 13:20:47 +02:00
483103ac3a
Declare compatibility with Python 3.13
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-01-05 13:12:43 +02:00
e9f1029406
Merge pull request #1092 from flixman/main
...
Provide support for cache_from and cache_to fields
2025-01-05 13:11:53 +02:00
804852b218
Provide support for cache_from and cache_to fields
...
Signed-off-by: Felix Rubio <felix@kngnt.org >
2025-01-05 12:35:30 +02:00
0e3b372a29
Merge pull request #1098 from whym/readline
...
Fixes #1096 : read log output by chunks if a line is too long
2025-01-05 12:32:51 +02:00
f11e08eaac
Read log output by chunks if a line is too long
...
Fixes #1096 .
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Yusuke Matsubara <whym@whym.org >
2025-01-05 12:28:13 +02:00
62789a2358
Merge pull request #1094 from p12tic/build-args-test
...
Add unit tests for image building
2024-12-30 01:04:16 +02:00
35cf4bcb72
tests: Add test for container_to_build_args()
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-12-30 00:55:19 +02:00
9964604b17
Extract container_to_build_args()
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-12-30 00:52:45 +02:00
61fa24bf21
Merge pull request #1093 from lisongmin/add-network-level-mac_address-attr
...
Support network level mac_address attribute
2024-12-29 18:58:33 +02:00
ac7ec5c166
Support network level mac_address attribute
...
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-29 22:59:58 +08:00
75d7be2b7b
Merge pull request #1087 from lisongmin/feat-support-network-scoped-aliases
...
Support network scoped service aliases
2024-12-22 00:54:26 +02:00
346f7a57f0
Ignore creating networks on network_mode=bridge.
...
When using bridge mode, podman-compose will use the default `podman` network.
We do not need to create this network, so just return as other network_mode.
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-21 22:52:37 +02:00
55642247e3
Add integration test for network scoped aliases
...
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-21 22:52:37 +02:00
978a1381bc
Support network scoped service aliases
...
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-21 22:52:37 +02:00
4a232f5e32
Merge single and multi network handling in get_net_args_from_networks()
...
The behavior has not changed, single-network has a special case.
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 20:00:17 +02:00
aa8c6fd598
Simplify network handling in get_net_args_from_networks()
...
Note that multiple_nets is now guaranteed to be not empty in processing
stage.
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 20:00:15 +02:00
fb0bbd6fe1
Cleanup network alias processing
...
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 20:00:13 +02:00
b324029f25
Simplify network name processing when there is single network
...
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 20:00:11 +02:00
590c371db2
Move network alias processing to common location
...
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 20:00:06 +02:00
16196a1f6d
Simplify ip address processing in get_net_args_from_networks()
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-12-18 19:59:28 +02:00
2dfbb59097
Extract multiple network handling in get_net_args_from_networks()
...
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 19:59:27 +02:00
a34d1d1a31
Remove unused ip_assignments in get_net_args_from_networks()
...
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 19:59:26 +02:00
d6da65e6c9
Extract get_net_args_from_networks()
...
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 19:59:25 +02:00
de2c33d7ae
Simplify get_net_args_from_network_mode()
...
This commit takes into account that network_mode won't have networks
attribute set, accordingly get_net_args_from_network_mode() can
calculate complete net_args easily.
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 19:59:24 +02:00
2891be01d7
Ensure that network_mode and networks are not present at the same time
...
See
https://docs.docker.com/reference/compose-file/services/#network_mode
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-12-18 19:59:23 +02:00
a023dc145b
Extract get_net_args_from_network_mode()
...
Modified-by: Povilas Kanapickas <povilas@radix.lt >
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 19:59:22 +02:00
d803c4c3e8
Merge pull request #1088 from lisongmin/feat-default-net-behavior-compat
...
Support docker-compose like default network behavior
2024-12-18 18:01:50 +02:00
420d19daf4
Add integration test for default network behavior
...
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 13:21:29 +08:00
2cfc617f9e
Support docker-compose like default network behavior
...
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-12-18 08:48:21 +08:00
376f0817e6
Merge pull request #1085 from jeremyvisser/fix-device-cgroup-rules
...
Add device_cgroup_rules support
2024-12-06 11:02:16 +02:00
054c66b568
Add device_cgroup_rules support
...
"device_cgroup_rules: []" is defined in the Compose file specification,
and corresponds to "podman run --device-cgroup-rule="
Signed-off-by: Jeremy Visser <jeremy@visser.name >
2024-12-06 08:19:54 +11:00
d9fc8e91f2
Merge pull request #1082 from flixman/main
...
Provide support for conditional dependencies
2024-12-02 22:18:53 +02:00
145ae47c48
Simplified statements to retrieve keys from dictionaries
...
Signed-off-by: Felix Rubio <felix@kngnt.org >
2024-12-02 22:13:10 +02:00
a67fa0beb5
Adding support for conditional dependencies
...
Signed-off-by: Felix Rubio <felix@kngnt.org >
2024-12-02 22:13:10 +02:00
3ba0396e7a
Normalize depends_on service property
...
Signed-off-by: Felix Rubio <felix@kngnt.org >
Modified-by: Povilas Kanapickas <povilas@radix.lt >
2024-12-02 22:08:48 +02:00
973e15ba23
Wrap dependencies within a class
...
Signed-off-by: Felix Rubio <felix@kngnt.org >
Modified-by: Povilas Kanapickas <povilas@radix.lt >
2024-12-02 22:08:48 +02:00
002c2e400b
Extract run_container()
...
Signed-off-by: Felix Rubio <felix@kngnt.org >
Modified-by: Povilas Kanapickas <povilas@radix.lt >
2024-12-02 22:00:59 +02:00
626e278794
Merge pull request #1068 from jrnorth/patch-1
...
Fix Dockerfile link in readme
2024-11-18 22:05:35 +02:00
a358890d54
Merge pull request #1069 from containers/dependabot/github_actions/softprops/action-gh-release-2
...
build(deps): bump softprops/action-gh-release from 1 to 2
2024-11-11 21:14:11 +02:00
9f3251ff3d
Merge pull request #1070 from containers/dependabot/github_actions/actions/checkout-4
...
build(deps): bump actions/checkout from 2 to 4
2024-11-11 21:13:14 +02:00
a9cfdb6704
build(deps): bump actions/checkout from 2 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-04 21:47:54 +00:00
c0dc3e47fd
build(deps): bump softprops/action-gh-release from 1 to 2
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-04 21:47:51 +00:00
41e69be201
Fix Dockerfile link in readme
2024-11-04 09:51:12 -07:00
4ae6ccb5c0
Merge pull request #1043 from iruzo/main
...
Download and build podman-compose using docker/podman locally
2024-11-03 15:42:05 +02:00
4203f799ee
add release.yml workflow
2024-11-03 15:35:42 +02:00
69e95be2f6
add Dockerfile and related scripts
2024-11-03 15:35:42 +02:00
122a914b9b
Merge pull request #1062 from tdgroot/down_removes_network
...
podman-compose down removes networks
2024-10-21 23:45:26 +03:00
db0aad97bd
podman-compose down removes networks
...
Fixes #490
Signed-off-by: Timon de Groot <timon.degroot@hypernode.com >
2024-10-21 08:31:09 +02:00
a3fb4b373a
Merge pull request #1058 from banditopazzo/705-ssh-key-support-in-build
...
feat: add support for ssh property in the build command
2024-10-15 03:18:41 +03:00
ab33954f6c
add ssh support for build command
...
Fixes #705 : Add support for ssh property in the build command
Signed-off-by: Domenico Salvatore <banditopazzo@gmail.com >
2024-10-15 00:35:10 +02:00
4660feb04a
Merge pull request #1060 from tdgroot/podman_no_hosts_extension
...
Add x-podman.no_hosts extension
2024-10-14 18:05:25 +03:00
90f54b9ca5
Add x-podman.no_hosts extension
...
Signed-off-by: Timon de Groot <timon.degroot@hypernode.com >
2024-10-14 17:02:36 +02:00
7090de3bce
Merge pull request #1049 from mokibit/automate-nets_test2
...
tests/integration: Automate manual `nets_test2` test
2024-10-04 04:10:31 +03:00
df8fa588a5
tests/integration: Automate manual 'nets_test2' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-10-01 12:26:42 +03:00
e2ae8bee04
Merge pull request #1048 from mokibit/automate-nets_test1
...
tests/integration: Automate manual `nets_test1` test
2024-09-29 15:04:40 +03:00
5c81bbfcb7
tests/integration: Automate manual 'nets_test1' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-29 14:44:17 +03:00
22b0c4b348
Merge pull request #1040 from mokibit/automate-ipam-default-test
...
tests/integration: Automate manual `ipam_default` test
2024-09-26 21:41:49 +03:00
380cf42dcd
Merge pull request #1047 from mokibit/delete-netprio-test
...
tests/integration: Delete `netprio` test
2024-09-26 21:37:50 +03:00
deed4d51b0
tests/integration: Automate manual 'ipam_default' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-26 20:23:26 +03:00
08b3ac2633
tests/integration: Delete 'netprio' test
...
This functionality is not implemented in podman-compose so the test is
unneeded.
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-26 20:10:37 +03:00
f8ea85e3af
Merge pull request #1045 from mokibit/automate-multicompose-test
...
tests/integration: Automate manual `multicompose` test
2024-09-24 19:56:24 +03:00
0de7e13f1a
tests/integration: Automate manual 'multicompose' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-24 19:38:33 +03:00
da7fd4fe86
Merge pull request #1044 from mokibit/automate-nethost-test
...
tests/integration: Automate manual `nethost` test
2024-09-24 19:37:58 +03:00
cb294d7519
tests/integration: Automate manual 'nethost' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-24 19:35:06 +03:00
351858dbec
Merge pull request #1034 from mokibit/automate-interpolation-tests
...
tests/integration: Automate manual `interpolation` test
2024-09-24 19:32:16 +03:00
8d0dd214ae
tests/integration: Automate manual 'interpolation' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-10 14:47:56 +03:00
229650cba8
Merge pull request #1032 from shuckc/main
...
Revert "Use defined environment variables in the image build process"
2024-09-07 00:13:36 +03:00
ab832d23c7
Merge pull request #1031 from mokibit/relocate-filesystem-test
...
tests/integration: Relocate `filesystem` test
2024-09-06 23:12:37 +03:00
4a7329b9e3
Revert "Use defined environment variables in the image build process"
...
This reverts commit 901adf47d0
.
fixes #985 and #931
Signed-off-by: Chris Shucksmith <chris@shucksmith.co.uk >
2024-09-06 23:12:09 +03:00
de3f93c491
tests/integration: Relocate 'filesystem' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-06 20:08:13 +03:00
54cc055a5c
Merge pull request #1029 from mokibit/automate-extends-with-file-subdir
...
tests/integration: Automate manual `extends_w_file_subdir` test
2024-09-06 20:07:51 +03:00
f4bf69b68e
tests/integration: Automate manual 'extends_w_file_subdir' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-06 19:47:14 +03:00
5297b004af
Merge pull request #1028 from mokibit/automate-extends-with-file
...
tests/integration: Automate manual `extends_w_file` test
2024-09-06 19:46:59 +03:00
fd1fc833b0
Merge pull request #1026 from mokibit/automate-extends-empty-service-test
...
tests/integration: Automate manual `extends_w_empty_service` test
2024-09-06 19:45:30 +03:00
124879a7b9
tests/integration: Automate manual 'extends_w_file' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-05 15:25:33 +03:00
368efe2ee3
tests/integration: Automate manual 'extends_w_empty_service' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-09-05 13:16:38 +03:00
eeefd37996
Merge pull request #1016 from legobeat/refactor-resolvable-type-checks
...
fix: improve type resolutions
2024-08-03 17:01:13 +03:00
b7514a0647
Merge pull request #1018 from legobeat/drop-python-3.8
...
Minimum Python version 3.9
2024-08-03 17:00:02 +03:00
561094954d
test: Use stable apt-get cli for package installation
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:24:36 +00:00
ea239c4b77
Simplify secrets assignment
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:01:16 +00:00
9fdee76858
Initialize default values in PodmanCompose constructor
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:01:08 +00:00
0a6e0a35e1
Fix services replicas type
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:00:40 +00:00
26e6651d6c
Type hints via annotations
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:00:36 +00:00
462603383c
Remove is_dict,is_str for better pyright inference
...
When support for python3.8 and python3.9 has been dropped, it will be possible to eat the cak and
have it due to PEP-647.
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 01:00:30 +00:00
8411db49d1
Minimum Python version 3.9
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-03 00:50:26 +00:00
fc90f60bf1
Merge pull request #1014 from legobeat/refactor-redundant-vars
...
refactor: clean up redundant proj_name, net vars
2024-08-02 10:22:28 +03:00
ed58ac0879
clean up redundant default_net variable
...
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
2024-08-01 23:16:13 +00:00
305f25b4d6
clean up redundant proj_name
...
- remove unutilized proj_name parameter from volume_ls
Signed-off-by: legobt <6wbvkn0j@anonaddy.me >
proj_name
2024-08-01 23:16:13 +00:00
edadf73d82
Merge pull request #1017 from mokibit/automate-extends-tests
...
tests/integration: Automate manual 'extends' test
2024-08-01 21:41:30 +03:00
dc04108b3e
tests/integration: Automate manual 'extends' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-08-01 21:29:43 +03:00
348461ca77
Merge pull request #1007 from mokibit/automate-env-tests
...
tests/integration: Automate manual `env` tests
2024-07-30 14:09:55 +03:00
92dbd3690e
tests/integration: Automate 'env-file-tests' manual tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-30 12:46:13 +02:00
a1e9a82693
Merge pull request #1012 from mokibit/automate-exit-from-tests
...
tests/integration: Automate manual `exit-from` tests
2024-07-30 11:16:17 +03:00
9e11c6bfbc
tests/integration: Automate manual 'exit-from' tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-30 09:40:20 +02:00
0d24c41afb
tests/integration: Automate 'env-tests' manual test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-29 10:39:49 +02:00
585d344d0a
Merge pull request #1004 from lisongmin/substitution-with-service-environment
...
Substitution with service environment
2024-07-27 00:06:46 +03:00
3aa6d4d158
Merge pull request #1009 from bkueng/platform_build_cmd
...
podman_compose.py: support "platform" property in the build command
2024-07-27 00:04:54 +03:00
34f5268e37
Add unittest for rec_subs
...
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-07-27 00:04:06 +03:00
b5eaf314ad
Support variable substitution with service's environment
...
This commit introduces the ability to substitute environment variables
within the 'environment' section of the service definition.
This allows for more dynamic configuration of services.
Signed-off-by: Songmin Li <lisongmin@protonmail.com >
2024-07-27 00:04:06 +03:00
b3c49df6eb
podman_compose.py: support "platform" property in the build command
...
This was already added to container_to_args() in https://github.com/containers/podman-compose/pull/470
which is used for the 'up' and 'run' commands.
Definition in the schema: https://github.com/compose-spec/compose-spec/blob/main/schema/compose-spec.json#L329
Signed-off-by: Beat Küng <beat-kueng@gmx.net >
2024-07-26 23:58:11 +03:00
dbbd695463
Merge pull request #1008 from mokibit/automate-deps-test
...
tests/integration: Automate manual `deps` test
2024-07-23 23:12:17 +03:00
1b1d3d8c25
Merge pull request #1010 from jasonchuanet/docs_uidmaps_gidmaps
...
Update docs+messages to reflect uidmaps/gidmaps code
2024-07-23 23:11:00 +03:00
7d7e64fe5a
Update docs+messages to reflect uidmaps/gidmaps code
...
Signed-off-by: Jason Chua <jasonc1804@gmail.com >
2024-07-22 20:54:41 -07:00
3c9c18c6e0
tests/integration: Automate deps
manual test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-22 15:19:34 +02:00
d0a2a44442
Merge pull request #1003 from njhanley/remove-branch-names-from-contrib-docs
...
Remove references to nonexistent devel and stable branches
2024-07-19 19:11:48 +03:00
1e66c28bbb
Remove references to nonexistent devel and stable branches
...
Closes #894
Signed-off-by: Nick Hanley <nicholasjhanley@gmail.com >
2024-07-18 21:41:59 -04:00
b6eadd56b1
Merge pull request #1002 from nerilex/main
...
Add `--network=none` if `network_mode: none` is set
2024-07-17 05:19:19 +03:00
d95b4d026b
Add newsfragment
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-17 01:43:45 +03:00
e2eb883709
Add --network=none
if network_mode: none
is set; fixes #1001 .
...
Signed-off-by: bg <bg@nerilex.org >
2024-07-17 01:41:04 +03:00
0866492a7e
Merge pull request #1000 from zoumingzhe/main
...
Support python direct call _parse_args or run
2024-07-15 18:48:39 +03:00
85050097e5
Support python direct call _parse_args or run
...
For example:
```
>>> from podman_compose import podman_compose
>>> podman_compose._parse_args(['version'])
>>> podman_compose.run(['help'])
```
Signed-off-by: Mingzhe Zou <zoumingzhe@qq.com >
2024-07-15 12:04:39 +08:00
daab93b762
Merge pull request #997 from mokibit/automate-build-tests
...
Automate manual `build` tests
2024-07-08 22:42:00 +03:00
9fe30387ee
tests/integration: Automate 'build_fail' manual test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-08 21:37:29 +02:00
0f8348bea7
tests/integration: Automate 'build' manual test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-08 21:36:29 +02:00
55ab3fa7f7
Merge pull request #994 from swick/wip/build-labels
...
Pass build description labels to podman build
2024-07-08 19:20:22 +03:00
2091ade7b1
Add newsfragment
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-08 19:15:16 +03:00
ca58d7cd58
Pass build description labels to podman build
...
The Compose Specification supports adding labels to the build image
which is also used in practice. Support this and pass the labels to
`podman build`.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com >
2024-07-08 19:15:16 +03:00
3296c8d34f
Merge pull request #993 from p12tic/compose-file-links
...
Don't resolve links to compose file
2024-07-06 19:35:18 +03:00
dab6b1b98d
Merge pull request #992 from p12tic/docker-compose-name-compat
...
Add a way to remove dashes in default network names
2024-07-06 18:56:25 +03:00
5bf4c0fdbe
Add a way to remove dashes in default network names
...
This is the behavior exhibited by docker compose. The network names are
user-visible through external networks, so previously anyone who
migrated from docker-compose needed to change their configuration. Now
it is possible to select compatibility via a flag in x-podman global
dictionary.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-06 18:50:25 +03:00
67c5352c3a
Extract default_network_name_for_project()
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-06 18:32:09 +03:00
5e0f7e5e19
Merge pull request #990 from p12tic/tests-single-container-up
...
tests: Add integration tests for up -d with single container at a time
2024-07-06 01:06:23 +03:00
5040a37d47
tests: Add integration tests for up -d with single container at a time
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-06 00:59:50 +03:00
c82859b89f
Merge pull request #989 from p12tic/github-install-requirements-unconditionally
...
github: Install requirements unconditionally
2024-07-04 09:19:30 +03:00
29195be77c
github: Install requirements unconditionally
...
This makes tests less brittle as any renames to requirements files will
be noticed.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-04 09:17:27 +03:00
1c74d6cd11
Merge pull request #988 from p12tic/tests-discovery
...
Discover tests instead of passing a list of files to unittest
2024-07-03 19:52:56 +03:00
9a4af0ce62
Discover tests instead of passing a list of files to unittest
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-03 19:50:13 +03:00
0517b9e34c
Merge pull request #987 from p12tic/check-if-pod-exists-before-creating
...
Check whether pod exists before trying to create one
2024-07-03 19:35:28 +03:00
24038dace3
Check whether pod exists before trying to create one
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-07-03 19:31:13 +03:00
0ea4cbe091
Merge pull request #984 from mokibit/reduce-path-calculation-duplication
...
tests/integration: Reduce base path calculation duplication
2024-07-03 09:13:49 +03:00
2056e703d5
tests/integration: Reduce base path calculation duplication
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-03 09:09:25 +03:00
137c6207b2
Merge pull request #981 from mokibit/add-unittests-for-secrets
...
unittests: Added unit tests for podman-compose secrets
2024-07-02 20:52:34 +03:00
4ec57c1013
unittests: Added unit tests for podman-compose secrets
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-07-02 20:26:58 +03:00
d9a3572461
Merge pull request #978 from PlugNPush/main
...
Restore support for alt dockerfiles (removing hardcoded "Dockerfile")
2024-06-26 21:39:42 +03:00
fa3e0a7772
Alt Dockerfile names fix
...
Signed-off-by: Michaël Nass - PlugN <michael.nass@free.fr >
2024-06-26 19:09:20 +02:00
0bcf0799b6
Merge pull request #976 from p12tic/tests-move-around
...
Move all tests to single directory "tests"
2024-06-26 11:30:21 +03:00
18472b53ac
Move all tests to single directory "tests"
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-06-26 11:28:16 +03:00
d38b26bb01
Release 1.2.0
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-06-26 10:43:28 +03:00
22a4ad5806
Merge pull request #975 from p12tic/changelog
...
Add release notes for v1.2.0
2024-06-26 10:41:59 +03:00
37e2cb28d4
Add release notes for v1.2.0
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-06-26 10:39:48 +03:00
0cd3902c5f
Merge pull request #974 from p12tic/newsfragments
...
Use newsfragments pattern for the release notes
2024-06-26 10:37:54 +03:00
6ef759c6fd
Use newsfragments pattern for the release notes
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-06-26 10:21:03 +03:00
16cbcf4152
Merge pull request #956 from Genzer/fix/loading-.env-breaking-since-1.1.0
...
Load .env from Compose file's directory and cwd
2024-06-24 23:37:33 +03:00
67ce900885
Commit .env in tests/env-file-tests, bypassing root .gitignore
...
This commit adds a .gitignore in tests/env-file-tests to allow .env files
to be committed.
Fix : #937
Signed-off-by: Genzer <732937+Genzer@users.noreply.github.com >
2024-06-24 23:29:57 +03:00
4e9f76768c
Load .env from Compose file's directory and cwd
...
This commit loads dotenv `.env` (exactly that name) from the following location (the later takes
precedence):
- The `.env` file in the Compose file's directory.
- The `.env` file in the current working directory (invoking podman-compose).
This preserves the behavior prior to 1.1.0 and to match with Docker Compose CLI.
Fix: https://github.com/containers/podman-compose/issues/937
Signed-off-by: Genzer <732937+Genzer@users.noreply.github.com >
2024-06-24 23:29:56 +03:00
84f7fdd7da
Merge pull request #971 from mokibit/type-env-secret-support
...
Add support for environment variable secrets
2024-06-24 23:17:34 +03:00
405001b990
Fix comment
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-06-24 21:24:34 +03:00
6b1aeff55f
Add unittests for type=env secret
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-06-24 21:24:34 +03:00
f06975b346
Update tests for type=env secret
...
Signed-off-by: Brett Calliss <brett@obligatory.email >
2024-06-24 20:12:44 +03:00
546cad5171
Add type=env secret support
...
Signed-off-by: Brett Calliss <brett@obligatory.email >
2024-06-24 20:12:44 +03:00
e07c28d127
Merge pull request #771 from wgnathanael/environment-precedence
...
Fix environment variable precedents
2024-06-22 20:00:08 +03:00
935029dc33
Fix environment variable precedents
...
Per https://docs.docker.com/compose/environment-variables/envvars-precedence/#advanced-example
Signed-off-by: nathanael.noblet <nathanael.noblet@willowglensystems.com >
2024-06-22 19:58:02 +03:00
80b2aa6ed0
Merge pull request #964 from mokibit/set-custom-in_pod-in-compose-file
...
Allow providing custom in_pod argument as a global compose file variable
2024-06-20 09:45:41 +03:00
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
650a835eca
Merge pull request #966 from ArthoPacini/enhance/stdin-docker-compose-support
...
Add ability to input docker-compose.yaml via stdin
2024-06-19 20:06:15 +03:00
82740cc311
Add ability to input docker-compose.yaml via stdin
...
Signed-off-by: Artho Pacini <eu@arthopacini.com >
2024-06-18 00:05:31 +03:00
0f645e4c70
Add ability to input docker-compose.yaml via stdin
...
Signed-off-by: Artho Pacini <eu@arthopacini.com >
2024-06-18 00:05:31 +03:00
3b15170ccf
Changed the global parser help message for file input, to reflect changes for reading from stdin
...
Signed-off-by: Artho Pacini <eu@arthopacini.com >
2024-06-18 00:05:31 +03:00
3359380ec6
Add ability to input docker-compose.yaml via stdin
...
Signed-off-by: Artho Pacini <eu@arthopacini.com >
2024-06-18 00:05:31 +03:00
14f39e5b86
Merge pull request #965 from mokibit/fix-gidmap-typo
...
Fix x-podman.gidmap typo
2024-06-17 10:08:17 +03:00
e799a0b0ea
Fix x-podman.gidmap typo
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2024-06-14 17:31:55 +03:00
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
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
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
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
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
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
04b107805a
Merge pull request #954 from mokibit/fix-codespelling-update
...
github/workflows: Fix automatic codespelling update
2024-05-28 23:40:59 +03:00
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
cac90f69b8
Merge pull request #946 from charliemirabile/selinux_tests
...
Missing SELinux tests
2024-05-22 10:17:05 +03:00
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
8f618b6fab
Merge pull request #763 from otto-liljalaakso-nt/additional_contexts
...
Support additional_contexts
2024-05-21 19:49:23 +03:00
cac836b0f5
Support additional_contexts
...
Signed-off-by: Otto Liljalaakso <otto.liljalaakso@novatron.fi >
2024-05-21 19:44:37 +03:00
3bb305cef4
Merge pull request #945 from p12tic/split-gpu-test
...
test: Split test_gpu test
2024-05-21 12:25:11 +03:00
09034a0c38
test: Split test_gpu test
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-05-21 12:04:32 +03:00
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
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
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
23ad5c3ef7
Merge pull request #920 from mokeyish/gpu
...
Add supoort for enabling GPU access
2024-05-19 11:12:34 +03:00
45efe461b0
Merge pull request #941 from HernandoR/patch-1
...
Update podman_compose.py
2024-05-19 11:10:39 +03:00
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
1d64f2cf8c
Update podman_compose.py
...
fix #940
Signed-off-by: Zhen Liu <lzhen.dev@outlook.com >
2024-05-18 20:33:10 +08:00
2ce6d1a1e7
Merge pull request #933 from hedayat/fix-build-error-log
...
Fix logging build error message
2024-05-13 16:24:15 +03:00
4e22faefd6
Fix logging build error message
...
Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com >
2024-05-13 15:13:40 +03:00
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
79865c2e13
Add support for enabling GPU access
...
Signed-off-by: YISH <mokeyish@hotmail.com >
2024-05-07 10:32:24 +08:00
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
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
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
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
35cbc49160
Merge pull request #928 from schugabe/patch-1
...
add await for create_pods call
2024-05-06 14:00:29 +03:00
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
0ee7c2630a
Merge pull request #641 from DaniruKun/devel
...
Add instructions on install from Homebrew
2024-05-04 18:03:43 +03:00
cef1785cd5
Add instructions on install from Homebrew
...
Signed-off-by: Daniils Petrovs <thedanpetrov@gmail.com >
2024-05-04 17:50:06 +03:00
b4cfef12e9
Merge pull request #926 from p12tic/cleanup-tests
...
Cleanup tests
2024-05-04 17:32:00 +03:00
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
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
1430578568
tests: Simplify command and entrypoint normalization tests
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-05-04 17:28:59 +03:00
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
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
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
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
27e27e9fe9
Merge pull request #918 from p12tic/fix-in-pod
...
Fix handling of --in-pod argument
2024-04-28 21:33:50 +03:00
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
58641f0545
Merge pull request #716 from Tayeh/images_cmd
...
add `podman-compose images` command
2024-04-28 20:37:07 +03:00
eea8bac496
Add images command
...
Signed-off-by: Mohammed Tayeh <m.tayeh94@gmail.com >
2024-04-28 19:04:23 +03:00
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
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
9599cc039e
Migrate x-podman dictionary to x-podman.* fields in container root
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-04-28 18:24:37 +03:00
0a6c057486
Merge pull request #737 from ftyghome/feat_rootfs
...
Support podman's external rootfs management
2024-04-28 18:04:37 +03:00
2b4ecee082
Add docs for podman specific compose file extensions
...
Signed-off-by: GnSight <ftyg@live.com >
2024-04-28 17:55:39 +03:00
77f2e8e5b0
Support podman's external rootfs management
...
Signed-off-by: GnSight <ftyg@live.com >
2024-04-28 17:55:39 +03:00
12d46ca836
Merge pull request #916 from beledouxdenis/main-run-implement-publish
...
implement --publish in docker-compose run
2024-04-28 17:33:56 +03:00
72a94d5185
implement --publish in docker-compose run
...
Signed-off-by: Denis Ledoux <dle@odoo.com >
2024-04-28 00:54:35 +02:00
3e1f7d554b
add tests for selinux with verbose bind mount
...
based on seccomp test. Without the selinux option, visiting localhost:8080
will give a 404 error because httpd cannot access the file, but with selinux: z
the context for the file will be appropriately updated so httpd can access it
Signed-off-by: charliemirabile <46761267+charliemirabile@users.noreply.github.com >
2024-04-10 15:29:03 -04:00
d7cf0966d3
add support for selinux in verbose mount
...
This corresponds to specifying the `z` or `Z` option in the third
portion of a terse mount specification (i.e. src:trg:z)
Signed-off-by: charliemirabile <46761267+charliemirabile@users.noreply.github.com >
2024-04-10 15:29:03 -04:00
1f35c00694
Add unit test for depends_on normalization as a dict
...
Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com >
2024-04-08 23:31:41 +03:30
f0bae1e2d9
Don't resolve links to compose file
...
docker-compose uses the path to the compose file even if it's symlink to
get the context directory.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2024-03-25 08:18:52 +02:00
c31b4e2816
Fixes #723 : merge short & long syntax of depends_on dependencies
...
Signed-off-by: Hedayat Vatankhah <hedayat.fwd@gmail.com >
2023-07-08 04:10:43 +03:30