Skip to content

Commit c8fc5bc

Browse files
authored
Apparently Compose 2.37.3 + Docker 28.3.0 result in a behavior change. (#1093)
1 parent ebaf1c7 commit c8fc5bc

File tree

1 file changed

+5
-2
lines changed
  • tests/integration/targets/docker_compose_v2/tasks/tests

1 file changed

+5
-2
lines changed

tests/integration/targets/docker_compose_v2/tasks/tests/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,14 @@
121121
- present_2_check.warnings | default([]) | select('regex', ' Please report this at ') | length == 0
122122
- present_2 is not changed
123123
- present_2.warnings | default([]) | select('regex', ' Please report this at ') | length == 0
124-
- present_3_check is changed
124+
# - present_3_check is changed -- whether this is true depends on a combination of Docker CLI and Docker Compose version...
125+
# 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'.
126+
# It seems that Docker is now clever enough to notice that nothing is rebuilt...
125127
- present_3_check.warnings | default([]) | select('regex', ' Please report this at ') | length == 0
126128
- ((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))
127129
- present_3.warnings | default([]) | select('regex', ' Please report this at ') | length == 0
128-
- present_4_check is changed
130+
# - present_4_check is changed
131+
# Same as above...
129132
- present_4_check.warnings | default([]) | select('regex', ' Please report this at ') | length == 0
130133
- present_4 is not changed
131134
- present_4.warnings | default([]) | select('regex', ' Please report this at ') | length == 0

0 commit comments

Comments
 (0)