Commit Graph

1067 Commits

Author SHA1 Message Date
Felix Fontein
c2e48a1ae3
Fix pull change detection. (#1242) 2026-02-11 22:01:48 +01:00
Felix Fontein
8f7dfa61fd Prepare 5.0.6. 2026-02-11 21:50:27 +01:00
Felix Fontein
880bc24ff0
Make sure that image comparison survives random order. (#1240) 2026-02-07 18:38:40 +01:00
Felix Fontein
cacf6023b9
Use latest requests etc. with RHEL 10. (#1238) 2026-02-07 16:31:40 +01:00
Felix Fontein
85a3c811cb
Use ansible_facts.xxx instead of ansible_xxx. (#1237) 2026-02-07 16:00:22 +01:00
Felix Fontein
14be59e7e4 CI: install community.crypto from Git. 2026-01-25 13:16:43 +01:00
Felix Fontein
14e6eb471b Update formatting. 2026-01-18 11:39:59 +01:00
Felix Fontein
f078c3d1a3
Update ignore.txt. (#1234) 2026-01-16 19:45:48 +00:00
Felix Fontein
47c02a193e
Arch Linux switched to Python 3.14. (#1232) 2026-01-10 23:56:23 +01:00
Felix Fontein
1fedd17724
Update CI pipelines: (#1230)
- Fedora 42 -> 43 for devel
- RHEL 10.0 -> 10.1 for all ansible-core branches
- Alpine 3.22 -> 3.23 for devel
2026-01-08 08:38:33 +01:00
Felix Fontein
18fa806d25
Update RHEL 9.x to 9.7 in CI. (#1228) 2026-01-06 07:56:33 +01:00
Felix Fontein
3c340c5a99 The next expected release will be 5.1.0. 2025-12-31 09:29:56 +01:00
Felix Fontein
bacb512e0a Release 5.0.5. 2025-12-31 08:24:52 +01:00
Felix Fontein
3cd159b837 Prepare 5.0.5. 2025-12-30 22:07:58 +01:00
Felix Fontein
5ba7b555a0
Do not set assert_hostname / tls_hostname automatically in certain situations. (#1226) 2025-12-30 20:28:25 +01:00
Felix Fontein
d7b2e99b77 Fix GitHub rebase merge issues. 2025-12-25 23:42:06 +01:00
Felix Fontein
57549c8c73
Add ImageName helper class. (#1210) 2025-12-25 22:41:09 +00:00
Felix Fontein
39bd985f5e Use ruff check --fix instead of isort. 2025-12-25 23:27:25 +01:00
Felix Fontein
712d920941 Re-sort imports. 2025-12-25 23:27:25 +01:00
Felix Fontein
42121e3326 Remove no longer necessary pin for ansible-compat. 2025-12-25 22:00:13 +01:00
Felix Fontein
947ec9a442 The next expected release will be 5.1.0. 2025-12-06 23:32:17 +01:00
Felix Fontein
25e7ba222e Release 5.0.4. 2025-12-06 22:45:11 +01:00
Felix Fontein
6ab8cc0d82
Improve JSON parsing error handling. (#1221) 2025-12-06 22:25:30 +01:00
Felix Fontein
159df0ab91 Prepare 5.0.4. 2025-12-06 17:57:12 +01:00
Felix Fontein
174c0c8058
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.
2025-12-06 17:48:17 +01:00
Felix Fontein
2efcd6b2ec
Adjust test for error message for Compose 5.0.0. (#1217) 2025-12-06 14:04:39 +01:00
Felix Fontein
faa7dee456 The next release will be 5.1.0. 2025-11-29 23:16:22 +01:00
Felix Fontein
908c23a3c3 Release 5.0.3. 2025-11-29 22:35:55 +01:00
Felix Fontein
350f67d971 Prepare 5.0.3. 2025-11-26 07:30:53 +01:00
Felix Fontein
846fc8564b
docker_container: do not send wrong host IP for duplicate ports (#1214)
* DRY.

* Port spec can be a list of port specs.

* Add changelog fragment.

* Add test.
2025-11-26 07:29:30 +01:00
dependabot[bot]
d2947476f7
Bump actions/checkout from 5 to 6 in the ci group (#1211)
Bumps the ci group with 1 update: [actions/checkout](https://github.com/actions/checkout).


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

---
updated-dependencies:
- dependency-name: actions/checkout
  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-11-24 06:20:29 +01:00
Felix Fontein
5d2b4085ec
Remove code that's not used. (#1209) 2025-11-23 09:48:34 +01:00
Felix Fontein
a869184ad4 Shut up pylint due to bugs. 2025-11-23 08:56:42 +01:00
Felix Fontein
a985e05482 The next expected release will be 5.1.0. 2025-11-16 13:54:23 +01:00
Felix Fontein
13e74e58fa Release 5.0.2. 2025-11-16 12:48:11 +01:00
Felix Fontein
c61c0e24b8
Improve error/warning messages w.r.t. YAML quoting (#1205)
* Remove superfluous conversions/assignments.

* Improve messages.
2025-11-16 12:32:51 +01:00
Felix Fontein
e42423b949 Forgot to update the version number. 2025-11-16 11:57:17 +01:00
Felix Fontein
0d37f20100 Prepare 5.0.2. 2025-11-16 11:56:18 +01:00
Felix Fontein
a349c5eed7
Fix connection tests. (#1202) 2025-11-16 10:55:07 +01:00
Felix Fontein
3da2799e03
Fix IP subnet and address idempotency. (#1201) 2025-11-16 10:47:35 +01:00
Felix Fontein
d207643e0c
docker_image(_push): fix push detection (#1199)
* 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.
2025-11-16 10:09:23 +01:00
Felix Fontein
90c4b4c543
docker_image(_pull), docker_container: fix compatibility with Docker 29.0.0 (#1192)
* 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.
2025-11-15 17:13:46 +01:00
Felix Fontein
68993fe353
docker_compose_v2: ignore result of build idempotency test since this seems like a hopeless case (#1196)
* Ignore result of idempotency test since this seems like a hopeless cause...

* And another one.
2025-11-15 17:06:21 +01:00
Felix Fontein
97314ec892
Move ansible-core 2.17 to EOL CI. (#1189) 2025-11-12 19:41:25 +01:00
Felix Fontein
ec14568b22
Work around Docker 29.0.0 bug. (#1187) 2025-11-12 19:21:55 +01:00
Felix Fontein
94d22f758b The next planned release will be 5.1.0. 2025-11-09 21:32:51 +01:00
Felix Fontein
aedf8f9674 Release 5.0.1. 2025-11-09 21:12:23 +01:00
Felix Fontein
86ea32b214 Prepare 5.0.1. 2025-11-08 10:02:08 +01:00
Nik Reiman
9d7dda7292
Fix error for "Cannot locate specified Dockerfile" (#1184)
In 3350283bcc, a subtle bug was introduced
by renaming this variable. For image builds that go down the `else`
branch, they never set this variable, which is then referenced below
when constructing the `params` dict. This results in a very confusing
bug from the Docker backend when trying to construct images:

> An unexpected Docker error occurred: 500 Server Error for
> http+docker://localhost/v1.51/build?t=molecule_local%2Fubuntu%3A24.04&q=False&nocache=False&rm=True&forcerm=True&pull=True&dockerfile=%2Fhome%2Fci%2F.ansible%2Ftmp%2Fmolecule.IaMj.install-github%2FDockerfile_ubuntu_24_04:
> Internal Server Error ("Cannot locate specified Dockerfile:
> /home/ci/.ansible/tmp/molecule.IaMj.install-github/Dockerfile_ubuntu_24_04")

Within the Docker daemon logs, the actual error presents itself like
this:

> level=debug msg="FIXME: Got an API for which error does not match any
> expected type!!!" error="Cannot locate specified Dockerfile:
> $HOME/.ansible/tmp/molecule.5DrS.install-package/Dockerfile_ubuntu_24_04"
> error_type="*errors.fundamental" module=api

Unfortunately, these are all red herrings and the actual cause of the
problem isn't Docker itself or the missing file, but in fact the
`docker_image` module not passing the correct parameter data here.
2025-11-08 10:01:05 +01:00
Felix Fontein
dee138bc4b
Fix typing info. (#1183) 2025-11-06 07:15:05 +01:00