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.
This commit is contained in:
Felix Fontein 2025-11-15 17:06:21 +01:00 committed by GitHub
parent 97314ec892
commit 68993fe353
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,13 +124,16 @@
# - present_3_check is changed -- whether this is true depends on a combination of Docker CLI and Docker Compose version...
# Compose 2.37.3 with Docker 28.2.x results in 'changed', while Compose 2.37.3 with Docker 28.3.0 results in 'not changed'.
# It seems that Docker is now clever enough to notice that nothing is rebuilt...
- present_3_check.warnings | default([]) | select('regex', ' please report this at ') | length == 0
- ((present_3 is changed) if docker_compose_version is version('2.31.0', '>=') and docker_compose_version is version('2.32.2', '<') else (present_3 is not changed))
- present_3.warnings | default([]) | select('regex', ' please report this at ') | length == 0
# With Docker 29.0.0, the behvaior seems to change again... I'm currently tending to simply ignore this check, for that
# reason the next three lines are commented out:
# - present_3_check.warnings | default([]) | select('regex', ' please report this at ') | length == 0
# - ((present_3 is changed) if docker_compose_version is version('2.31.0', '>=') and docker_compose_version is version('2.32.2', '<') else (present_3 is not changed))
# - present_3.warnings | default([]) | select('regex', ' please report this at ') | length == 0
# Same as above:
# - present_4_check is changed
# Same as above...
- present_4_check.warnings | default([]) | select('regex', ' please report this at ') | length == 0
- present_4 is not changed
# Also seems like a hopeless case with Docker 29:
# - present_4 is not changed
- present_4.warnings | default([]) | select('regex', ' please report this at ') | length == 0
always: