Commit Graph

1128 Commits

Author SHA1 Message Date
Felix Fontein d19fa2bfde The next expected release will be 5.4.0. 2026-09-06 21:22:32 +02:00
Felix Fontein 96c41f8afa Release 5.3.0. 5.3.0 2026-09-06 18:33:38 +02:00
Felix Fontein afd11c04a0 Prepare 5.3.0. 2026-09-05 13:37:17 +02:00
Vedant Madane 2950337e48 Add command_as_args option for docker_swarm_service CLI-compatible mapping (#1307)
* fix: map docker_swarm_service command/args to ContainerSpec.Args

docker service create IMAGE [COMMAND] [ARG...] places post-image tokens
into ContainerSpec.Args so the image ENTRYPOINT is preserved. The module
previously wrote command to ContainerSpec.Command, which replaced the
entrypoint and broke flag-style commands such as -config.file=...

Fixes #1044
Fixes #212

* Add command_as_args option for CLI-compatible command mapping

Keep the historical default (command -> ContainerSpec.Command,
args -> ContainerSpec.Args) to avoid a breaking change. When
command_as_args=true, map command+args to ContainerSpec.Args to
match docker service create and preserve the image ENTRYPOINT.

Update docs, examples, unit tests for both modes, and the changelog
fragment. Addresses review feedback on #1307 / #1044.

* Update changelogs/fragments/1044-swarm-service-command-args.yml

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

* Update plugins/modules/docker_swarm_service.py

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

* Update plugins/modules/docker_swarm_service.py

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

* Update plugins/modules/docker_swarm_service.py

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

* Update plugins/modules/docker_swarm_service.py

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

* Update plugins/modules/docker_swarm_service.py

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

* Update plugins/modules/docker_swarm_service.py

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

* Update plugins/modules/docker_swarm_service.py

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

* Update changelogs/fragments/1044-swarm-service-command-args.yml

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

---------

Co-authored-by: VedantMadane <vedant@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-08-17 21:32:57 +02:00
Felix Fontein 6ae46db845 Harden actions. (#1308) 2026-08-15 00:37:21 +02:00
Felix Fontein ac6ecb0527 The next expected release will be 5.3.0. 2026-08-08 21:09:03 +02:00
Felix Fontein 44812d46a5 Release 5.2.2. 5.2.2 2026-08-08 20:28:42 +02:00
Felix Fontein bc8f6a6906 Do not fail on empty 'docker compose images' output. (#1305) 2026-08-07 12:26:34 +02:00
Felix Fontein b7b684b9c5 Stop relying on deprecated field when parsing image pulling errors. (#1302) 2026-08-04 21:26:51 +02:00
Felix Fontein 67076499a2 Prepare 5.2.2. 2026-08-01 08:46:19 +02:00
Felix Fontein fa6276fd62 Pin GH Actions by hash. (#1300) 2026-08-01 08:19:08 +02:00
Felix Fontein 9377d6733e Fix environment variable fallbacks for plugins. (#1299) 2026-08-01 08:14:48 +02:00
Felix Fontein 88d9295840 Replace Alpine 3.23 with 3.24 for devel. (#1297) 2026-07-22 19:23:12 +02:00
dependabot[bot] d526f4bd56 Bump actions/setup-go from 6 to 7 in the ci group (#1296)
Bumps the ci group with 1 update: [actions/setup-go](https://github.com/actions/setup-go).


Updates `actions/setup-go` from 6 to 7
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-20 07:31:13 +02:00
Felix Fontein 2e542d4e52 CI: Replace devel RHEL 9.7 and 10.1 remotes with 9.8 and 10.2 (#1291)
* Replace devel RHEL 9.7 and 10.1 remotes with 9.8 and 10.2.

* Try to work around problem with podman setup.
2026-06-25 06:48:03 +02:00
Felix Fontein 0a81e84087 Improve AZP nox scripts. (#1289) 2026-06-23 19:21:37 +02:00
dependabot[bot] b6d3ed1c82 Bump actions/checkout from 6 to 7 in the ci group (#1285)
Bumps the ci group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 6 to 7
- [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/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 08:24:54 +02:00
Felix Fontein d59c8d9345 CI: remove no longer needed shippable scripts; modernize and harmonize AZP scripts (#1286)
* Remove no longer needed shippable scripts.

* Modernize and harmonize AZP scripts.
2026-06-22 08:05:45 +02:00
Felix Fontein 925eb15ded Split nox step into prepare and execute. (#1283) 2026-06-14 18:30:50 +02:00
Felix Fontein 74cde23fe2 Add OpenSuSE Tumbleweed to CI. (#1282) 2026-06-11 19:00:42 +02:00
Felix Fontein ce69e51d73 Fix/improve unit tests (#1281)
* Fix conditional import.

* Don't count lines for code coverage which should never execute.

* Fix tests to use pytest.raises.
2026-06-06 21:27:09 +02:00
Felix Fontein 604747372d Use ansible-core devel EE on UBI 10 with Python 3.14. (#1279) 2026-06-06 13:27:28 +02:00
Felix Fontein e401fa14c4 Forgot elif. 2026-06-05 10:48:32 +02:00
Felix Fontein 2778fb6336 Fix AZP CI nox script. 2026-06-05 10:42:39 +02:00
Felix Fontein 97fa83ee03 CI: Move ansible-core 2.18 completely to GHA (#1277)
* Move ansible-core 2.18 completely to GHA.

* Shorten group names.
2026-06-05 07:21:35 +00:00
Felix Fontein c5a5d7c337 Support ci_coverage and ci_complete in GHA; handle affected unstable tests correctly in PRs. (#1275) 2026-06-05 06:15:53 +02:00
Felix Fontein f369956247 Fix coverage reporting with AZP. (#1273)
ci_coverage
ci_complete
2026-06-03 21:39:49 +02:00
Felix Fontein db367985cf Disable aggregation step; use nicer display names (#1271)
* antsibull-nox takes are of aggregating coverage data.

* Use nicer names.
2026-06-02 08:16:43 +02:00
Felix Fontein c5831a79f7 Use nox in AZP CI. (#1267) 2026-06-01 07:03:13 +02:00
Felix Fontein 4e4f65abdc Auto-cancel older PR nox runs. (#1268) 2026-05-31 17:33:16 +02:00
Felix Fontein 42282e7d30 Remove no_log from setup_remote_tmp_dir. (#1263) 2026-05-30 15:27:43 +02:00
Felix Fontein 6485e0269a Update Azure Pipelines test container. (#1261) 2026-05-30 15:27:32 +02:00
Felix Fontein aa354397c5 AZP's Docker is no longer compatible with quite a few of the Docker versions needed for tests, so use GHA whenever possible (#1262)
* Move all non-remote tests to GHA.

* GitHub reverted this change.
2026-05-30 13:31:29 +02:00
Felix Fontein f96a218a55 Use correct c.g branch. 2026-05-30 12:47:56 +02:00
Felix Fontein ad4a2590fd The next expected release will be 5.3.0. 2026-05-26 21:49:36 +02:00
Felix Fontein a9bb98bc6e Release 5.2.1 5.2.1 2026-05-26 21:22:44 +02:00
Felix Fontein 5afe15ea50 Close response instead of derived socket. (#1260) 2026-05-26 21:11:50 +02:00
Felix Fontein 3bec6b2add Prepare 5.2.1. 2026-05-26 20:04:20 +02:00
Felix Fontein db8d83f7c2 Simplify messages. 2026-05-15 08:25:21 +02:00
Felix Fontein 0067735dc9 Replace Ubuntu 22.04 with 26.04 for devel. (#1259) 2026-05-15 07:56:02 +02:00
Felix Fontein 7d86e971da Fix formatting. 2026-05-13 20:24:39 +02:00
Felix Fontein b059247f1a Fix types for new requests release. 2026-05-13 19:59:33 +02:00
Felix Fontein 9919abf725 Replace Fedora 43 with 44 for devel in CI. (#1256) 2026-04-16 19:14:13 +02:00
Felix Fontein 52e69ef865 The next expected release will be 5.3.0. 2026-04-08 15:34:45 +02:00
Felix Fontein 3f5d5578e4 Release 5.2.0. 5.2.0 2026-04-08 15:11:57 +02:00
Felix Fontein 2c5d5f4b08 Prepare 5.2.0. 2026-04-08 14:45:04 +02:00
Felix Fontein b020087757 Add stable-2.21 to CI. (#1254) 2026-04-06 22:07:34 +02:00
Felix Fontein a00b678649 Improve typing. 2026-04-02 20:03:36 +02:00
Felix Fontein b00fc741e1 Make tests more lenient. (#1252) 2026-03-27 14:29:49 +01:00
spatterlight 9c313bb9d0 Docker image export platform (#1251)
* docker_image_export: Add 'platform' option

docker_image_export: Add 'platform' option

* docker_image_export: Add 'platform' option

* Update changelogs/fragments/1064-docker-image-export-platform.yml

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

* Update plugins/modules/docker_image_export.py

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

* docker_image_export: Add 'platform' option

* docker_image_export: Add 'platform' option

* docker_image_export: Add 'platform' option

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-03-27 13:16:04 +01:00