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
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
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
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
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
8ef537e247
test/integration: Automate manual selinux
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-03-06 13:04:53 +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
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
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
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
838957b902
test/integration: Automate manual 'secrets' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-19 21:42:52 +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
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
eaec19336f
tests/integration: Describe pid
test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-06 15:16:44 +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
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
29404af723
tests/integration: Automate manual 'nets_test3' test
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-02-03 19:04:15 +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
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