* Support ansible-test integration for arm64
* Replace set_fact with inline templated conditional
(cherry picked from commit d98850e9e9)
Co-authored-by: Andrew Dawes <53574062+AndrewJDawes@users.noreply.github.com>
* Restrict API version to 1.44 if default API version is 1.45+.
* Set COMPOSE_API_VERSION if api_version is provided.
* Add changelog.
(cherry picked from commit 691bc6de72)
* 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.
* Restrict Docker SDK for Python to < 7.0.0 in EE.
* Do extra docs validation. Explicitly disallow semantic markup in docs.
* Forgot to add new requirement.
* Improve test.
* TEMP - make CI fail.
* Revert "TEMP - make CI fail."
This reverts commit d381f1a431.
* Remove unnecessary import.
* Make sure ANSIBLE_COLLECTIONS_PATH is set.
* Make sure sanity tests from older Ansible versions don't complain.
(cherry picked from commit 9e1a0a6fb8)
Co-authored-by: Felix Fontein <felix@fontein.de>
* Make tests work with API version 1.42.
* Make sure anonymous volume is separated from container a bit earlier.
* Another try.
(cherry picked from commit 3a1bfc4be2)
* Restrict to old enough paramiko on RHEL 8 or other systems using Python 3.6. (#563)
(cherry picked from commit c0d9ca67c4)
* Make sure paramiko is installed on localhost as well.
* Revert "Make sure paramiko is installed on localhost as well."
This reverts commit f36406c2db.
* Fix check.
* ...
Co-authored-by: Felix Fontein <felix@fontein.de>
* Cache has already been updated a few lines before.
* When skipping Docker cleanup, create flag to avoid the expensive part of the setup (including package manager cache update) to be run again.
(cherry picked from commit 134d32cae6)
* Do not crash when plugin doesn't exist.
* Improve style.
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
(cherry picked from commit c7cbec0163)
* Make current_container_facts work with newer Docker versions and latest ansible-test container changes (#510)
* Add more debug output.
* Add basic integration test.
* Split into lines.
* Fix docker detection, add podman detection.
ci_complete
* Improve regular expression.
* Document that this module is trying its best, but might not be perfect.
* Update comment.
(cherry picked from commit c2d84efccb)
* Remove new feature (podman support).
* Try to fix tests on Ubuntu 22.04.
* Let Ansible handle the apt repo install.
(cherry picked from commit f6d4cad46e)
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add image_label_mismatch to docker_container
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Test image_label_mismatch error message
* Add change fragment for image_label_mismatch
* Break long line in docker_container.py for pep-8 compliance
* pep8 compliance
* Update changelogs/fragments/370-add-image-label-mismatch.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* fix: add expected_labels to parameters_map in docker_container
* Apply suggestions from code review
* Apply suggestions from code review
* Update tests/integration/targets/docker_container/tasks/tests/options.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add RHEL 9.0 to CI.
* Add RHEL 9 specific files.
* Add Ubuntu 22.04 and Fedora 36 to CI.
* Another try.
* Adjust kernel memory tests.
* Add more details.
* RHEL 9 doesn't support setting memory swappiness.
* Fix docker_swarm_service tests.
The 'less' case should always have been changed, but it probably was always skipped
due to a too old Docker SDK for Python or a too old Docker daemon.
* More checks / improve checks.