Sergey
c10614026b
Bump Go version to 1.24 for latest Podman ( #978 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-09-11 11:53:38 +03:00
Sergey
452e6c926e
Bump Go version for building Podman ( #977 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-09-09 12:09:35 +03:00
dependabot[bot]
313953aed4
Bump actions/setup-python from 5 to 6 ( #975 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 20:01:33 +03:00
dependabot[bot]
6381952b98
Bump actions/setup-go from 5 to 6 ( #976 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 20:00:58 +03:00
Sergey
15423c0a5a
Fix Ansible sanity issues for new version ( #974 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-29 11:58:20 +03:00
Sergey
73b7bb1d3e
Update docs and script ( #973 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-25 11:45:29 +03:00
Sergey
5265f8c91c
Test new documentation ( #972 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-25 10:25:00 +03:00
Sergey
f333fe7fca
Add podman system connection modules ( #971 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-25 09:35:27 +03:00
Sergey
ee52d9de78
Add podman image scp option ( #970 )
...
* Add podman image scp option
Fix #536
---------
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-19 23:30:35 +03:00
dependabot[bot]
c2530a63f3
Bump actions/checkout from 4 to 5 ( #967 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [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/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-19 21:06:56 +03:00
Sergey
9cffa671c8
Fix podman logout for newer Podman ( #969 )
...
Fix #935
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-18 23:15:41 +03:00
Sergey
f4b57ac265
Remove quiet mode from pulling image ( #968 )
...
Fix #966
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-18 22:51:19 +03:00
Sergey
6ee2f3891b
Add inventory plugins for buildah and podman ( #963 )
...
Add inventory plugins for buildah and podman, unit tests and functional CI tests.
---------
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-13 16:48:50 +03:00
dependabot[bot]
fb76891c50
Bump actions/checkout from 4 to 5 ( #964 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [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/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 12:23:23 +03:00
dependabot[bot]
6e8c88068f
Bump actions/download-artifact from 4 to 5 ( #965 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 11:46:49 +03:00
Sergey
4d1917ac57
Add unittests for podman_image ( #961 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-06 00:05:07 +03:00
Sergey
8f0bc79e6f
Fix podman_image correct delimiter logic for version@digest tags ( #960 )
...
Fix incorrect image URL formation when using separate name and tag parameters
where the tag contains a digest. Previously, tags like "8-bookworm@sha256:..."
would incorrectly use "@" as the delimiter between name and tag, resulting in
malformed URLs like "docker.io/valkey/valkey@8-bookworm@sha256:...".
The issue was in ImageRepository.delimiter logic which used substring matching
("sha256" in tag) instead of checking for pure digest format.
Changes:
- Fix delimiter selection in ImageRepository.__init__() to only use "@" for
pure digests starting with "sha256:", not any tag containing "sha256"
- Add comprehensive unit tests covering all delimiter scenarios
- Add integration tests with real digest validation and edge cases
- Ensure proper URL formation: name:tag@digest vs name@digest
Before: docker.io/valkey/valkey@8-bookworm@sha256:abc123 (broken)
After: docker.io/valkey/valkey:8-bookworm@sha256:abc123 (correct)
Fixes #947
Generated with [Claude Code](https://claude.ai/code )
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-05 23:05:17 +03:00
Sergey
e37123e06f
Rewrite podman_image and add tests ( #957 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-04 16:28:35 +03:00
Sergey
859215bdfb
Fix README ( #959 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-04 12:10:02 +03:00
Sergey
5bb0395e9e
Improve docs and guides ( #958 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-03 14:22:57 +03:00
Sergey
91d991f95b
Add building Podman from source ( #955 )
...
* Add building Podman from source
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-08-03 13:30:27 +03:00
Sergey
28126094cc
Fix PR template ( #956 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-07-31 17:14:34 +03:00
Sergey
2de46dd4de
Add template based issue and PR ( #954 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-07-31 16:56:09 +03:00
Sergey
54c23c9876
Add templates based CI ( #953 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-07-31 16:47:10 +03:00
Sergey
68af6b98fd
Fix remaining issues in CI for Ansible 2.20 ( #952 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-07-31 14:20:46 +03:00
Sergey
e12f269323
Fix Python version in CI for latest Ansible 2.19 ( #951 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-07-31 13:54:17 +03:00
Sergey
43e9e4c5aa
Fix obsolete image in CI ( #949 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-07-14 20:31:36 +03:00
Sergey
f41939d8d8
Replace image in tests from quay.io ( #948 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-07-12 16:38:54 +03:00
Sergey
87be6de5c7
Add ignore file for Ansible 2.20 ( #946 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-07-01 16:25:35 +03:00
Sergey
13a568f8c6
Release 1.17.0 ( #945 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-06-26 13:47:49 +03:00
Sergey
f2e813671a
Run black -l 120 on all files, again ( #943 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-06-26 13:24:44 +03:00
johnsonlien
aa20ede71e
Add podman system info module ( #922 )
...
Add podman system info module
Signed-off-by: johnsonlien <johnsonlien95@gmail.com>
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-06-22 13:13:11 +03:00
Sergey
f6bd81e820
Add another test for volumes ( #942 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-06-22 12:25:25 +03:00
lucas-benedito
6ff93e7559
podman_container_lib: Added checks for volume opts ( #941 )
...
* podman_container_lib: Added checks for volume opts
Changed the diffparam_volume function to include the volume mount opts.
Signed-off-by: Lucas Benedito <lbenedit@redhat.com>
* Add test for volume mount options
Signed-off-by: Lucas Benedito <lbenedit@redhat.com>
---------
Signed-off-by: Lucas Benedito <lbenedit@redhat.com>
2025-06-22 12:17:32 +03:00
Sergey
4c682e170c
Run black -l 120 on all Python files to unify the style ( #939 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-06-15 18:25:48 +03:00
Sergey
50c5a2549d
Release 1.16.4 version ( #938 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-06-04 14:16:51 +03:00
Sergey
11cc00e6ca
Fix idempotency for systemd keyword ( #937 )
...
Fix #936
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-05-29 14:16:09 +03:00
André Lersveen
ac5da409fe
Fix idempotency for any podman secret driver ( #929 )
...
* Fix idempotency for any podman secret driver
All secret drivers are provided with the same interface in podman, so there is no need to hardcode the state as changed for all drivers other than 'file'.
Signed-off-by: lersveen <7195448+lersveen@users.noreply.github.com>
* ci: add tests for shell secret driver
Signed-off-by: lersveen <7195448+lersveen@users.noreply.github.com>
---------
Signed-off-by: lersveen <7195448+lersveen@users.noreply.github.com>
2025-05-13 15:06:45 +03:00
Sergey
8a57012970
Fix None values in LogOpt in Quadlet ( #933 )
...
Fix #914
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-05-12 12:50:49 +03:00
Sergey
2c040aa346
Set custom tmpfs idempotency ( #932 )
...
Fix #918
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-05-12 12:20:02 +03:00
Sergey
5ea945dffe
Handle image arguments in podman_container ( #931 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-05-11 18:38:49 +03:00
Sergey
f1a9456147
Fix conditions in CI jobs ( #928 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-04-28 00:14:28 +03:00
Sergey
35a9cc1f93
Fix setuptools ( #925 )
...
Fix #917
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-04-21 11:46:44 +03:00
Evgeni Golov
6946a0bcbd
correctly quote labels and environment variables for quadlets ( #920 )
...
Fixes : #807
Signed-off-by: Evgeni Golov <evgeni@golov.de>
2025-04-14 14:47:20 +03:00
Ewoud Kohl van Wijngaarden
40d320d8f6
Document that sdnotify can be set to healthy ( #911 )
...
For quadlets you can set sdnotify (which maps to Notify=) to healthy to
use a healthcheck to determine when the container is up.
Signed-off-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
2025-03-10 10:24:42 +02:00
Sergey
d901da6301
Fix CI for podman_image_info ( #912 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-03-09 16:14:55 +02:00
jeu-umanit
1449f4c1b7
doc: podman_secret: fix indentation error in example ( #905 )
...
Signed-off-by: Julien Eula <jeula@umanit.fr>
2025-03-03 13:06:30 +02:00
Finn Krein-Schuch
95a7edb26a
Use usedforsecurity for hashlib.sha256 only in python version >=3.9 ( #904 )
...
The usedforsecurity keyword argument of the hashlib functions was
introduced in python 3.9. To achieve compatibility with versions below
that, we only use it once it is available.
The usedforsecurity argument forces use of secure hash functions in
specially compiled versions of python. In this case it would force to
upgrade sha256 to a different hash function should sha256 be deemeed
insecure in the future. The podman hash we are comparing against is
(currently) always sha256.
As sha256 is still considered secure, removing this option for older
python versions should be acceptable.
2025-02-17 18:54:36 +02:00
Sergey
47767dab21
Remove docker protocol when inspecting image ( #901 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-02-17 15:17:47 +02:00
transcaffeine ✨️
14ac4a8045
fix(podman_image): correct intendation on 'loop' keyword ( #903 )
...
Signed-off-by: transcaffeine <transcaffeine@finally.coffee>
2025-02-17 15:16:10 +02:00