mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Docker Compose v1 tests: restrict API version to 1.44 if default API version is 1.45+ (#881)
* Restrict API version to 1.44 if default API version is 1.45+. * Set COMPOSE_API_VERSION if api_version is provided. * Add changelog.
This commit is contained in:
@@ -19,7 +19,11 @@
|
||||
msg: "Using container name prefix {{ cname_prefix }}"
|
||||
|
||||
# Run the tests
|
||||
- block:
|
||||
- module_defaults:
|
||||
community.docker.docker_compose:
|
||||
api_version: '{{ omit if docker_api_version is version("1.45", "<") else "1.44" }}'
|
||||
|
||||
block:
|
||||
- include_tasks: run-test.yml
|
||||
with_fileglob:
|
||||
- "tests/*.yml"
|
||||
|
||||
Reference in New Issue
Block a user