From 68993fe353a845453f9beacab78438f54f68c579 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 15 Nov 2025 17:06:21 +0100 Subject: [PATCH] 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. --- .../targets/docker_compose_v2/tasks/tests/build.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/integration/targets/docker_compose_v2/tasks/tests/build.yml b/tests/integration/targets/docker_compose_v2/tasks/tests/build.yml index fa6cac40..2844f5e7 100644 --- a/tests/integration/targets/docker_compose_v2/tasks/tests/build.yml +++ b/tests/integration/targets/docker_compose_v2/tasks/tests/build.yml @@ -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: