Povilas Kanapickas
4c6df85efa
Merge pull request #1224 from p12tic/podman-label
...
Expose io.podman.compose.service label
2025-05-29 22:18:42 +03:00
Povilas Kanapickas
7b3276e5d7
Expose io.podman.compose.service label
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-29 22:01:35 +03:00
Povilas Kanapickas
fc6bfc9931
Merge pull request #1223 from p12tic/github-mypy
...
.github: Run mypy as part of checks
2025-05-29 21:38:59 +03:00
Povilas Kanapickas
949af2a50c
.github: Run mypy as part of checks
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-29 21:23:21 +03:00
Povilas Kanapickas
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
Monika Kairaityte
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
Povilas Kanapickas
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
Monika Kairaityte
56238b10e3
tests/integration: Fix service_scale
tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-05-26 18:19:11 +03:00
Monika Kairaityte
d4ebf62e0e
tests/integration: Fix lifetime
tests
...
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-05-26 18:19:11 +03:00
Monika Kairaityte
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
Povilas Kanapickas
835e3abe95
Merge pull request #1220 from p12tic/types
...
Enforce types using mypy
2025-05-24 17:35:52 +03:00
Povilas Kanapickas
248a63ebb0
test-requirements: Upgrade ruff
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:26:42 +03:00
Povilas Kanapickas
efea0ee652
Address unused argument warnings
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:26:31 +03:00
Povilas Kanapickas
3c2978c9ca
examples: Add type annotations
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:19:29 +03:00
Povilas Kanapickas
5765e5306b
Use correct logging methods
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:19:29 +03:00
Povilas Kanapickas
0be50ffdfb
Fix return value from compose_systemd()
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:19:29 +03:00
Povilas Kanapickas
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
Povilas Kanapickas
6c46678082
Fix mypy warnings
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:19:29 +03:00
Povilas Kanapickas
a3f48f830d
tests/integration: Add type annotations
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:11:38 +03:00
Povilas Kanapickas
dedb081550
tests/unit: Add type annotations
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:11:36 +03:00
Povilas Kanapickas
ea22227625
Add mypy configuration
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 17:11:33 +03:00
Povilas Kanapickas
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
Povilas Kanapickas
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
Povilas Kanapickas
741cb008c8
Merge pull request #1213 from p12tic/fixes
...
Miscellaneous code quality fixes
2025-05-24 16:05:18 +03:00
Povilas Kanapickas
39e21d8c11
Remove extraneous await on non-async function
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 15:29:53 +03:00
Povilas Kanapickas
02166f584a
Use more standard call to list.append
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 15:29:53 +03:00
Povilas Kanapickas
8aeeafb98c
Rename redefined variables
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 15:29:53 +03:00
Povilas Kanapickas
9162fe6438
Remove unused code
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-24 15:29:49 +03:00
Povilas Kanapickas
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
Monika Kairaityte
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
Povilas Kanapickas
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
Monika Kairaityte
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
Ben Krieger
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
Povilas Kanapickas
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
Povilas Kanapickas
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
Povilas Kanapickas
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
norbiros
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
Povilas Kanapickas
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
Monika Kairaityte
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
Povilas Kanapickas
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
Monika Kairaityte
6e30673260
tests/integration: Fix paths for testing override and reset tags
...
Tests were not run due to missing __init__.py files.
This commit adds missing files and fixes paths to compose.yaml files.
Signed-off-by: Monika Kairaityte <monika@kibit.lt>
2025-05-16 21:51:11 +03:00
Povilas Kanapickas
9c09789948
Merge pull request #1193 from marat2509/main
...
feat(systemd): add unregister command to remove systemd service registration
2025-05-13 02:22:37 +03:00
Marat Budkevich
01214fa013
Add unregister command to remove systemd service registration
...
Signed-off-by: marat2509 <marat2509@users.noreply.github.com>
2025-05-12 22:53:09 +03:00
Povilas Kanapickas
bd29caa797
Release 1.4.0
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
v1.4.0
2025-05-10 15:24:32 +03:00
Povilas Kanapickas
f0928dd399
Merge pull request #1197 from p12tic/release
...
Release notes for 1.4.0
2025-05-10 15:23:07 +03:00
Povilas Kanapickas
6c9c09197a
Release notes for 1.4.0
...
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2025-05-10 15:03:54 +03:00
Povilas Kanapickas
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
Elsa
67616bdaac
Handle exit code when compose up -d
...
Signed-off-by: Elsa <zeyugao@outlook.com>
2025-05-10 14:38:53 +03:00
Povilas Kanapickas
7497692b19
Merge pull request #1184 from schnell18/main
...
Fix service_healthy condition enforcing
2025-05-10 14:20:06 +03:00
Justin Zhang
782c44d4c3
tests: Style cleanup
...
Signed-off-by: Justin Zhang <schnell18@gmail.com>
2025-05-10 14:12:28 +03:00