ansible/test/lib/ansible_test/_internal
Matt Clay 3bd6daa4a4 [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256)
* Fix ansible-test docker container detection.

* Attach test containers to the correct network.

* Do not assume `localhost` for accesing Docker.

* Look for containers on current network.

* Always map /var/run/docker.sock into containers.

This fixes issues when using a remote Docker host.

* Support container IP lookup from networks list.

* Fix container network attachment.

* Remove redundant container detection messages.

* Limit DOCKER_HOST parsing to TCP.

* Restore docker socket existence check.

The check is skipped if the docker hostname is not localhost.

* Correct changelog entry..
(cherry picked from commit 3c2e8b99be)

Co-authored-by: Matt Clay <mclay@redhat.com>
2020-10-22 21:40:23 -07:00
..
ci [stable-2.10] Fix ansible-test Azure Pipelines container auth. 2020-10-21 14:15:39 -07:00
cloud [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) 2020-10-22 21:40:23 -07:00
coverage [stable-2.10] Fix ansible-test coverage traceback. (#71446) (#71578) 2020-09-01 17:05:19 -07:00
integration Update ansible-test handling of delegation paths. (#69056) 2020-04-20 22:04:25 -07:00
provider Fix ansible-test submodule handling. (#68759) 2020-04-08 01:15:49 -07:00
sanity [stable-2.10] Test netconf plugins in ansible-doc sanity test. 2020-07-13 18:14:42 -07:00
units Fix ansible-test pytest plugin loading. (#62119) 2019-09-10 23:27:05 -07:00
__init__.py
ansible_util.py config: singular ANSIBLE_COLLECTIONS_PATH (#70007) 2020-06-11 11:40:13 -07:00
cache.py
classification.py [stable-2.10] CI provider fixes for ansible-test. (#71929) (#71932) 2020-09-28 00:34:12 -05:00
cli.py [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) 2020-10-22 21:40:23 -07:00
config.py [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) 2020-10-22 21:40:23 -07:00
constants.py
core_ci.py [stable-2.10] Use new endpoint for Parallels based instances. 2020-09-02 15:08:32 -07:00
coverage_util.py Code cleanup and refactoring in ansible-test. (#67063) 2020-02-04 11:21:53 -08:00
csharp_import_analysis.py Add relative module_util support for powershell (#68321) 2020-04-01 09:01:18 +10:00
data.py Fix ansible-test submodule handling. (#68759) 2020-04-08 01:15:49 -07:00
delegation.py [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) 2020-10-22 21:40:23 -07:00
diff.py
docker_util.py [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) 2020-10-22 21:40:23 -07:00
encoding.py Code cleanup and refactoring in ansible-test. (#67063) 2020-02-04 11:21:53 -08:00
env.py Update ansible-test support for CI providers. 2020-05-14 17:08:30 -07:00
executor.py [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) 2020-10-22 21:40:23 -07:00
git.py Fix ansible-test handling of git submodules. (#65027) 2019-11-19 10:19:03 -08:00
http.py
import_analysis.py [stable-2.10] Fix ansible-test relative import analysis. (#70993) 2020-07-30 13:36:49 -07:00
init.py
io.py Add code coverage target analysis to ansible-test. (#67141) 2020-02-05 22:16:15 -08:00
manage_ci.py [stable-2.10] Support macOS 10.15 for ansible-test --remote. 2020-09-01 19:07:10 -07:00
metadata.py Update ansible-test support for CI providers. 2020-05-14 17:08:30 -07:00
payload.py Fix ansible-test delegation from pip install. 2020-04-21 09:48:16 -07:00
powershell_import_analysis.py Add relative module_util support for powershell (#68321) 2020-04-01 09:01:18 +10:00
target.py Testing: Add support for CentOS Linux On Power platform (#68130) 2020-04-15 16:22:17 -07:00
test.py Avoid use of deprecated junit-xml method. 2020-06-12 00:47:07 -07:00
thread.py
types.py Code cleanup and refactoring in ansible-test. (#67063) 2020-02-04 11:21:53 -08:00
util.py [2.10] updates intersphinx references for docs links (#71921) (#71945) 2020-09-25 13:53:44 -05:00
util_common.py Update ansible-test default containers. (#69819) 2020-06-09 15:40:56 -07:00
venv.py [stable-2.10] Fix ansible-test virtualenv management. 2020-07-14 02:08:17 -07:00