034b86ea73
README: Remove basic usage section
...
There are plenty of resources on compose format, no need to repeat
anything. Beginners won't be helped by the examples and experienced
users will look into better places anyway.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-06-05 18:24:19 +03:00
bbdb63604e
README: Update section on tests
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-06-05 18:24:18 +03:00
93371b0f4e
README: Merge all repositories under single section
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-06-05 18:24:17 +03:00
27d1fc67a0
README: Add installation instructions on Debian
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-06-05 18:24:16 +03:00
77bc9c5602
Merge pull request #1234 from p12tic/release-notes
...
Release notes for 1.4.1
2025-06-05 17:20:19 +03:00
82dd0acab2
Release notes for 1.4.1
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-06-05 17:12:49 +03:00
0e4f686f4b
Merge pull request #1231 from mokibit/fix-volume-bind-source
...
Fix relative host path resolution for volume bind mount source
2025-06-05 16:56:18 +03:00
0491269f53
Fix relative host path resolution for volume bind mount source
...
e03d675b9b
broke relative host path
resolution by deleting os.chdir(). After this commit current working
directory is not relevant anymore.
Fixes e03d675b9b
.
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-06-05 16:46:07 +03:00
ee90712843
Merge pull request #1210 from jarovo/main
...
Add relabel option to secrets
2025-06-05 13:02:18 +03:00
82d7622c45
Add relabel option to secrets
...
On selinux enabled system, the secrets cannot be read without proper
relabeling or correct policy being set.
This patch enables user to instruc podman-copose to use :z or :Z podman
volume options to make podman relabel the file under bind-mount.
More info here:
https://unix.stackexchange.com/questions/728801/host-wide-consequences-of-setting-selinux-z-z-option-on-container-bind-mounts?rq=1
Signed-off-by: Jaroslav Henner <1187265+jarovo@users.noreply.github.com >
2025-06-05 00:13:58 +02:00
4c6df85efa
Merge pull request #1224 from p12tic/podman-label
...
Expose io.podman.compose.service label
2025-05-29 22:18:42 +03:00
7b3276e5d7
Expose io.podman.compose.service label
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-29 22:01:35 +03:00
fc6bfc9931
Merge pull request #1223 from p12tic/github-mypy
...
.github: Run mypy as part of checks
2025-05-29 21:38:59 +03:00
949af2a50c
.github: Run mypy as part of checks
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-29 21:23:21 +03:00
b650efbb33
Merge pull request #1222 from mokibit/print-full-dockerfile-path
...
Print full Dockerfile path instead of context on error
2025-05-28 17:34:45 +03:00
0b8b483cb7
Print full dockerfile path instead of context on error
...
Current error message does not provide the exact path where the
Dockerfile is being searched.
This commit distinguishes two types of errors when Dockerfile is not
found in build context:
- when the context does not have provided custom-named Dockerfile, the
path in the error message is absolute: "OSError: Dockerfile not found in
.../podman-compose/tests/integration/build_fail/context_no_file/custom-named-Dockerfile"
- when the context does not have any Dockerfile, the path in the error
message is: "OSError: Dockerfile not found in
.../podman-compose/tests/integration/build_fail/context_no_file"
Only this error message was used before the fix.
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
Co-authored-by: Siteshwar Vashisht <svashisht@redhat.com >
2025-05-28 16:19:38 +03:00
0dcc864fdd
Merge pull request #1205 from mokibit/add-missing-init-py-files
...
tests/integration: Add missing __init__.py files to actually run tests and fix the broken ones
2025-05-26 22:27:48 +03:00
56238b10e3
tests/integration: Fix service_scale
tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-05-26 18:19:11 +03:00
d4ebf62e0e
tests/integration: Fix lifetime
tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-05-26 18:19:11 +03:00
83c7e9462e
tests/integration: Add missing __init__.py files to actually run tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-05-24 22:09:30 +03:00
835e3abe95
Merge pull request #1220 from p12tic/types
...
Enforce types using mypy
2025-05-24 17:35:52 +03:00
248a63ebb0
test-requirements: Upgrade ruff
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:26:42 +03:00
efea0ee652
Address unused argument warnings
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:26:31 +03:00
3c2978c9ca
examples: Add type annotations
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:19:29 +03:00
5765e5306b
Use correct logging methods
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:19:29 +03:00
0be50ffdfb
Fix return value from compose_systemd()
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:19:29 +03:00
1eae76ddca
Add return type annotations to test_utils.py
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:19:29 +03:00
6c46678082
Fix mypy warnings
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:19:29 +03:00
a3f48f830d
tests/integration: Add type annotations
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:11:38 +03:00
dedb081550
tests/unit: Add type annotations
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:11:36 +03:00
ea22227625
Add mypy configuration
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 17:11:33 +03:00
6b2665683c
Merge pull request #1211 from p12tic/tests-importable-directories
...
Move tests to directories that can be imported
2025-05-24 17:09:03 +03:00
58df8497aa
Move tests to directories that can be imported
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 16:47:49 +03:00
741cb008c8
Merge pull request #1213 from p12tic/fixes
...
Miscellaneous code quality fixes
2025-05-24 16:05:18 +03:00
39e21d8c11
Remove extraneous await on non-async function
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 15:29:53 +03:00
02166f584a
Use more standard call to list.append
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 15:29:53 +03:00
8aeeafb98c
Rename redefined variables
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 15:29:53 +03:00
9162fe6438
Remove unused code
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-24 15:29:49 +03:00
cc10a61017
Merge pull request #1218 from mokibit/fix-build-ssh-path
...
Fix build ssh path to be relative to directory of compose file
2025-05-24 15:25:31 +03:00
08d06df0f2
Fix build ssh path to be relative to directory of compose file
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-05-24 12:58:59 +03:00
c26e188991
Merge pull request #1214 from mokibit/fix-cmd-healthcheck
...
Fix CMD healthchecks running with `/bin/sh`
2025-05-21 15:52:43 +03:00
a983129e88
tests/unit: Add unit tests for fixing CMD healthcheck
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-05-20 16:54:25 +03:00
76b3055934
Fix CMD healthchecks running with /bin/sh
...
Signed-off-by: Ben Krieger <ben.krieger@intel.com >
2025-05-20 16:54:25 +03:00
f5e3162e91
Merge pull request #1212 from p12tic/normalize-depends-unittest
...
tests: Rewrite test_normalize_depends_on to unittest
2025-05-19 18:26:45 +03:00
225999eab1
tests: Rewrite test_normalize_depends_on to unittest
...
This test was forgotten about during initial migration.
Signed-off-by: Povilas Kanapickas <povilas@radix.lt >
2025-05-19 17:56:28 +03:00
b86f8b1d61
Merge pull request #1201 from Norbiros/feat/custom-pod-name
...
Allow specifying custom pod name in `--in-pod`
2025-05-18 18:59:58 +03:00
3d47849d28
Allow specifying custom pod name in --in-pod
...
Fixes #958 : missing or incorrect use of --in-pod and pod-args
Fixes #693 : --in-pod 'name' no function
Signed-off-by: norbiros <norbiros@protonmail.com >
Signed-off-by: Norbiros <norbiros@protonmail.com >
2025-05-18 18:46:15 +03:00
bfaf77a506
Merge pull request #1208 from mokibit/reset-depends-on
...
Fix reset tag attribute to also reset `depends_on` parameter
2025-05-18 18:42:52 +03:00
0c1c4ffea9
Fix reset tag attribute to also reset depends_on
parameter
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt >
2025-05-16 22:33:00 +03:00
98f065b3e2
Merge pull request #1203 from mokibit/fix-test-paths-for-reset-override-tags
...
tests/integration: Fix paths to compose.yaml files for testing override and reset tags
2025-05-16 22:23:14 +03:00