Commit Graph

980 Commits

Author SHA1 Message Date
Felix Fontein
ce83922bd7 Remove some unused and no longer needed imports.
This hopefully also fixes the CI issues, which do not happen locally for me...
2025-10-06 23:24:10 +02:00
Felix Fontein
76261290bb Make all doc fragments, module utils, and plugin utils private. 2025-10-06 23:17:26 +02:00
Felix Fontein
bb39e67c8f Make CI pass; add black and isort to CI; add reformat commit to .git-blame-ignore-revs. 2025-10-06 18:57:33 +02:00
Felix Fontein
d65d37e9e9 Reformat code with black and isort. 2025-10-06 18:34:59 +02:00
Felix Fontein
f45232635c
Python code modernization, 1/n (#1141)
* Remove unicode text prefixes.

* Replace str.format() uses with f-strings.

* Replace % with f-strings, and do some cleanup.

* Fix wrong variable.

* Avoid unnecessary string conversion.
2025-10-06 18:30:54 +02:00
Felix Fontein
1f2817fa20
Prepare 5.0.0 (#1123)
* Bump version to 5.0.0-a1.

* Drop support for ansible-core 2.15 and 2.16.

* Remove Python 2 and early Python 3 compatibility.
2025-10-05 20:22:50 +02:00
Felix Fontein
b9cf9015c4 Add stable-4 to CI. 2025-10-05 17:41:40 +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
de9794ffe8 The next expected release will be 4.9.0. 2025-10-03 22:53:57 +02:00
Felix Fontein
8723784cf0 Release 4.8.0. 2025-10-03 22:30:21 +02:00
Felix Fontein
82b3184605
Another try to add RHEL 10 to CI. (#1136) 2025-10-03 21:16:18 +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
8e2056fcb1
Only upload code coverage data for scheduled CI runs. (#1135) 2025-09-29 22:34:57 +02:00
Felix Fontein
a3093604fa
Put all integration test sessions into the nox config. (#1133)
This includes ones for ansible-core versions that only run with AZP,
and includes remote sessions that won't work with GHA but require AZP
also for older ansible-core versions.
2025-09-29 20:49:06 +02:00
Felix Fontein
c9c420c036
CI: Move ansible-core 2.16 from AZP to GHA (#1132)
* Move ansible-core 2.16 to EOL CI.

* Remove no longer relevant EOL CI badge.

* CentOS 7 does not work in GHA.
2025-09-27 12:27:44 +02:00
Felix Fontein
1e038c072f
CI: replace felixfontein/ansible-test-gh-action@main with antsibull-nox. (#1131) 2025-09-27 11:35:25 +02:00
Felix Fontein
ad7397a332 Add repository configuration to antsibull-nox.toml. 2025-09-26 06:58:05 +02:00
Felix Fontein
5e58fee998 Disable Ubuntu 24.04 for now since it's a lot slower thna RHEL 9.6. 2025-09-16 06:55:47 +02:00
Felix Fontein
2b5c06da20
CI: Start using Ubuntu VMs instead of RHEL VMs (#1128)
* Start using Ubuntu VMs instead of RHEL VMs.

* Use correct Python executable.

* Fix starting podman on non-RHEL systems.
2025-09-14 23:27:52 +02:00
Felix Fontein
93d165e10b
Restrict cffi on Python 2. (#1126) 2025-09-12 19:58:48 +02:00
dependabot[bot]
3e2b149dc2
Bump actions/setup-go from 5 to 6 in the ci group (#1124)
Bumps the ci group with 1 update: [actions/setup-go](https://github.com/actions/setup-go).


Updates `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
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 18:50:34 +02:00
Felix Fontein
1f53619edf
Add ignores necessary for ansible-core 2.20 if Python 2.7 is still supported by the collection. (#1122) 2025-08-28 21:15:43 +02:00
Laurent Commarieu
ba58752646
Rename login_results to login_result in docker_login docstring (#1121) 2025-08-26 21:48:57 +02:00
dependabot[bot]
3d44b9569c
Bump actions/checkout from 4 to 5 in the ci group (#1120)
Bumps the ci group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `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
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-25 12:06:08 +02:00
doftmoon
fdf9f83454
fix: typo in scenario_guide.rst (#1118)
the duplication typo in listing
2025-08-22 22:25:50 +02:00
Felix Fontein
68ac6fecb1
Avoid deprecated functionality. (#1117) 2025-08-17 20:15:40 +02:00
Felix Fontein
1ba34b9b7c
CI: Add Debian 13 Trixie (#1113)
* Add Debian 13 Trixie to CI.

* I don't think this is needed any longer.

* Debian: adjust way GPG signature is installed for Docker's software repo.
2025-08-10 20:11:54 +02:00
Felix Fontein
0631d15656 The next expected release will be 4.8.0. 2025-08-04 19:49:55 +02:00
Felix Fontein
8c66e6299c Release 4.7.0. 2025-08-04 19:24:43 +02:00
Felix Fontein
da76583d6b
Use distribution:3.0.0. (#1112) 2025-08-03 17:56:32 +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
cfd59ac9e5 Add Distribution 3.0.0 image. 2025-08-03 14:18:29 +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
920015706b
Ansible-core devel EE: use Python 3.12. (#1107) 2025-07-31 21:48:10 +02:00
Felix Fontein
a45d5b6d2f
Bump AZP container. (#1104) 2025-07-29 17:38:46 +02:00
Felix Fontein
0224e5faef Normalize changelog configs. 2025-07-27 16:35:31 +02:00
Felix Fontein
e0139eee10 The next expected release will be 4.7.0. 2025-07-26 15:24:40 +02:00
Felix Fontein
3913a9aec1 Release 4.6.2. 2025-07-26 14:40:37 +02:00
Felix Fontein
e0a4f37e31
Bump Alpine 3.21 to 3.22, Fedora 41 to 42, and RHEL 9.5 to 9.6. (#1103)
Add old versions to stable-2.19 if not present yet.
2025-07-26 12:23:40 +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
8365810b52
Move EE tests to antsibull-nox (#1100)
* Move EE tests to antsibull-nox.

* Make EE tests work.
2025-07-25 21:23:06 +02:00