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.
This commit is contained in:
Felix Fontein
2025-12-06 17:48:17 +01:00
committed by GitHub
parent 2efcd6b2ec
commit 174c0c8058
5 changed files with 225 additions and 7 deletions
@@ -77,7 +77,8 @@
- ansible.builtin.assert:
that:
- result_1.rc == 0
- result_1.stderr == ""
# Since Compose 5, unrelated output shows up in stderr...
- result_1.stderr == "" or ("Creating" in result_1.stderr and "Created" in result_1.stderr)
- >-
"usr" in result_1.stdout_lines
and