mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Integration tests: split up Docker setup, move docker_compose tests into own group (#718)
* Rename setup role. * Create new CI group 6, and move docker_compose v1 tests into there. * Split up Docker setup in integration tests. * Change setup_docker_compose_v1 to install its own Docker SDK for Python. * Docker SDK for Python not needed to set up registry or query host info.
This commit is contained in:
@@ -6,3 +6,4 @@
|
||||
dependencies:
|
||||
- setup_docker
|
||||
- setup_paramiko
|
||||
- setup_docker_python_deps
|
||||
|
||||
@@ -68,7 +68,6 @@
|
||||
docker_host: "ssh://root@localhost"
|
||||
use_ssh_client: true
|
||||
register: output
|
||||
ignore_errors: true
|
||||
|
||||
- name: Make sure we got information
|
||||
assert:
|
||||
@@ -80,11 +79,3 @@
|
||||
- 'output.volumes is not defined'
|
||||
- 'output.images is not defined'
|
||||
- 'output.disk_usage is not defined'
|
||||
when: docker_py_version is version('4.4.0', '>=')
|
||||
|
||||
- name: Make sure we got information
|
||||
assert:
|
||||
that:
|
||||
- output is failed
|
||||
- "'use_ssh_client=True requires Docker SDK for Python 4.4.0 or newer' in output.msg"
|
||||
when: docker_py_version is version('4.4.0', '<')
|
||||
|
||||
Reference in New Issue
Block a user