Commit Graph

468 Commits

Author SHA1 Message Date
Felix Fontein
0350d04b65
Improve JSON parsing error handling. (#1221) (#1222)
(cherry picked from commit 6ab8cc0d82)
2025-12-06 22:38:43 +01:00
Felix Fontein
091e393e6d
[stable-4] Docker Compose 5+: improve image layer event parsing (#1219) (#1220)
* Docker Compose 5+: improve image layer event parsing (#1219)

* Remove long deprecated version fields.

* Add first JSON event parsing tests.

* Improve image layer event parsing for Compose 5+.

* Add 'Working' to image working actions.

* Add changelog fragment.

* Shorten lines.

* Adjust docker_compose_v2_run tests.

(cherry picked from commit 174c0c8058)

* Remove type hints.

* Fix Python 2 compatibility when parsing JSON events.
2025-12-06 18:32:17 +01:00
Felix Fontein
22c17bca86 Prepare 4.8.5. 2025-12-06 17:57:44 +01:00
Felix Fontein
b4245dcee4 Release 4.8.4. 2025-11-29 22:35:28 +01:00
Felix Fontein
dc0a554966
docker_container: do not send wrong host IP for duplicate ports (#1214) (#1215)
* DRY.

* Port spec can be a list of port specs.

* Add changelog fragment.

* Add test.

(cherry picked from commit 846fc8564b)
2025-11-26 07:08:38 +00:00
Felix Fontein
a049898f19 Prepare 4.8.4. 2025-11-26 07:34:14 +01:00
Felix Fontein
231f8d50a9 Release 4.8.3. 2025-11-16 12:47:11 +01:00
Felix Fontein
22e6d64345 Prepare 4.8.3. 2025-11-16 11:56:55 +01:00
Felix Fontein
8f50319434
[stable-4] docker_network: fix IP subnet and address idempotency (#1203)
* Fix IP subnet and address idempotency. (#1201)

(cherry picked from commit 3da2799e03)

* Add warning about missing normalization if ipaddress is not there on Python 2.

* Fix mistake.
2025-11-16 11:18:47 +01:00
Felix Fontein
5cea1cdc6d
docker_image(_push): fix push detection (#1199) (#1200)
* Fix IP address retrieval for registry setup.

* Adjust push detection to Docker 29.

* Idempotency for export no longer works.

* Disable pull idempotency checks that play with architecture.

* Add more known image IDs.

* Adjust load tests.

* Adjust error message check.

* Allow for more digests.

* Make sure a new enough cryptography version is installed.

(cherry picked from commit d207643e0c)
2025-11-16 10:36:44 +01:00
Felix Fontein
a80e6bf7ec
docker_image(_pull), docker_container: fix compatibility with Docker 29.0.0 (#1192) (#1198)
* Add debug flag to failing task.

* Add more debug output.

* Fix pull idempotency.

* Revert "Add more debug output."

This reverts commit 64020149bf.

* Fix casing.

* Remove unreliable test.

* Add 'debug: true' to all tasks.

* Reformat.

* Fix idempotency problem for IPv6 addresses.

* Fix expose ranges handling.

* Update changelog fragment to also mention other affected modules.

(cherry picked from commit 90c4b4c543)
2025-11-15 17:47:34 +01:00
Felix Fontein
c3eaabc148
Work around Docker 29.0.0 bug. (#1187) (#1190)
(cherry picked from commit ec14568b22)
2025-11-12 19:37:30 +01:00
Felix Fontein
66327d277f Release 4.8.2. 2025-10-25 11:15:10 +02:00
Felix Fontein
b058cd40da
Fix crashes due to wrong names. (#1161) (#1163)
(cherry picked from commit 33c8a49191)
2025-10-11 15:54:51 +02:00
Felix Fontein
db20b1876d
Avoid losing data from events if multiple arrive at the same time. (#1158) (#1159)
(cherry picked from commit f7e976f3da)
2025-10-10 20:28:27 +02:00
patchback[bot]
3b0ab3bd8b
Prevent loss of data. (#1152) (#1154)
(cherry picked from commit ec5f7682a1)

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-10-07 22:42:32 +02:00
Felix Fontein
890986b00d Prepare 4.8.2. 2025-10-07 19:41:47 +02:00
Felix Fontein
488dd28339
Fix docker_container_exec's detach=true. (#1145) (#1148)
(cherry picked from commit 449b37e1c9)
2025-10-07 19:16:04 +02:00
Felix Fontein
acea22ba47
Fix diff for plugin options. (#1146) (#1147)
(cherry picked from commit 54c2e49fdf)
2025-10-07 18:53:30 +02:00
Felix Fontein
d757294540 Release 4.8.1. 2025-10-05 16:30:40 +02:00
Felix Fontein
626426c199 Prepare 4.8.1. 2025-10-05 16:29:41 +02:00
Felix Fontein
251e4eca49
Remove remaining usages of ansible.module_utils.six. (#1140) 2025-10-05 16:17:50 +02:00
Felix Fontein
ebe42308cc
Replace ansible.module_utils.six with own module utils in some cases (#1138)
* Replace ansible.module_utils.six with own module utils in some cases.

* Add ignore.txt entires.
2025-10-04 23:45:27 +02:00
Felix Fontein
82b49c7cf2
Fix wrong replacements. (#1139) 2025-10-04 23:18:11 +02:00
Felix Fontein
1902e0fdf2
Avoid six in plugin code. (#1137) 2025-10-04 21:51:59 +02:00
Felix Fontein
8723784cf0 Release 4.8.0. 2025-10-03 22:30:21 +02:00
Felix Fontein
f8ea3fcba3 Prepare 4.8.0. 2025-09-29 22:50:37 +02:00
Felix Fontein
fd011d3871
Support missing fields and missing types in mounts. (#1134) 2025-09-29 22:35:07 +02:00
Felix Fontein
68ac6fecb1
Avoid deprecated functionality. (#1117) 2025-08-17 20:15:40 +02:00
Felix Fontein
8c66e6299c Release 4.7.0. 2025-08-04 19:24:43 +02:00
Felix Fontein
47197cf7d2 Update release summary. 2025-08-03 15:20:10 +02:00
Felix Fontein
e1920d1cc7
Work around bug in Docker 28.3.3 that prevents pushing to registry without authentication. (#1110) 2025-08-03 15:19:16 +02:00
Felix Fontein
c565698f09 Prepare 4.7.0. 2025-08-03 13:13:28 +02:00
tpourcelot
449448e820
docker_swarm_service: add support for replicated jobs (#1108)
* feat(docker_swarm_service): Add support for replicated jobs

* chore(docker_swarm_plugin): Fixes after review

* chore(docker_swarm_service): Add a check for minimum version

* chore(docker_swarm_service): Add changelog fragment for #1108

* fix(docker_swarm_service): Fix typo in version check

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Tristan Pourcelot <tristan.pourcelot@exatrack.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-08-03 13:12:29 +02:00
Felix Fontein
0224e5faef Normalize changelog configs. 2025-07-27 16:35:31 +02:00
Felix Fontein
3913a9aec1 Release 4.6.2. 2025-07-26 14:40:37 +02:00
Felix Fontein
89c58cd171 Prepare 4.6.2. 2025-07-25 22:00:45 +02:00
Felix Fontein
ac301beebd
Adjust to Compose 2.39.0+. (#1101) 2025-07-25 21:59:41 +02:00
Felix Fontein
2e20028392 Release 4.6.1. 2025-06-09 13:16:44 +02:00
Felix Fontein
eba578cc92 Prepare 4.6.1. 2025-06-08 19:08:22 +02:00
Felix Fontein
e9f4553b01
docker_container idempotency: work around Docker not returning true configured command when command is [] (#1085)
* Work around Docker not returning true configured command when command is [].

* Lint.

* Add test.

* Add changelog fragment.
2025-06-08 19:05:09 +02:00
Felix Fontein
8ecbd9a5cc
docker_compose_v2: work around bug in docker compose images --format json (#1083)
* Work around ubg in docker compose images --format json.

* ContainerName is no longer in image record.
2025-06-07 23:28:51 +02:00
Felix Fontein
9a93812d3b Release 4.6.0. 2025-05-02 09:51:05 +02:00
Felix Fontein
9a9372dd06 Prepare 4.6.0. 2025-05-02 06:22:34 +02:00
Felix Fontein
ad989c1942
docker_container_copy_into: add mode_parse option (#1074)
* Add mode_parse option.

* Make yamllint config strict.

* Lint.
2025-04-28 20:46:11 +02:00
Felix Fontein
2d65015e86 Release 4.5.2. 2025-03-22 12:52:14 +01:00
Felix Fontein
585595187b Prepare 4.5.2. 2025-03-22 12:37:05 +01:00
Felix Fontein
635716c07b
docker_compose_v2: use --yes when available instead of -y (#1060)
* Use --yes if available.

* Add smoke test.
2025-03-21 22:05:10 +01:00
londondaintta
c13b891bc9
fix(docker_compose_v2): fix version check (#1059)
* fix version check

* add changelog fragment
2025-03-17 20:20:21 +01:00
Felix Fontein
7355c7de0d Release 4.5.1. 2025-03-11 20:09:11 +01:00