Skip to content

Commit

Permalink
docker_compose_v2: fix tests (#1027)
Browse files Browse the repository at this point in the history
* Since docker-compose 2.32.2 present_3 is no longer changed.

This has been caused by docker/compose#12442,
since that PR removes the "building" event.

* Remove deprecated 'version' fields.

(cherry picked from commit 9e26c47)
  • Loading branch information
felixfontein committed Jan 14, 2025
1 parent 31b03d8 commit e10468d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@
non_existing_image: does-not-exist:latest
project_src: "{{ remote_tmp_dir }}/{{ pname }}"
test_service_non_existing: |
version: '3'
services:
{{ cname }}:
image: {{ non_existing_image }}
test_service_simple: |
version: '3'
services:
{{ cname }}:
image: {{ docker_test_image_simple_1 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
cname: "{{ name_prefix }}-container"
project_src: "{{ remote_tmp_dir }}/{{ pname }}"
test_service: |
version: '3'
services:
{{ cname }}:
image: "{{ docker_test_image_alpine }}"
command: '/bin/sh -c "sleep 10m"'
stop_grace_period: 1s
test_service_mod: |
version: '3'
services:
{{ cname }}:
image: "{{ docker_test_image_alpine }}"
Expand Down

0 comments on commit e10468d

Please sign in to comment.