mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
Overhaul httptester support in ansible-test. (#39892)
- Works with the --remote option. - Can be disabled with the --disable-httptester option. - Change image with the --httptester option. - Only load and run httptester for targets that require it.
This commit is contained in:
parent
3c32b483bc
commit
c1f9efabf4
10 changed files with 313 additions and 47 deletions
|
@ -43,7 +43,6 @@ class EnvironmentConfig(CommonConfig):
|
|||
self.remote = args.remote # type: str
|
||||
|
||||
self.docker_privileged = args.docker_privileged if 'docker_privileged' in args else False # type: bool
|
||||
self.docker_util = docker_qualify_image(args.docker_util if 'docker_util' in args else '') # type: str
|
||||
self.docker_pull = args.docker_pull if 'docker_pull' in args else False # type: bool
|
||||
self.docker_keep_git = args.docker_keep_git if 'docker_keep_git' in args else False # type: bool
|
||||
self.docker_memory = args.docker_memory if 'docker_memory' in args else None
|
||||
|
@ -70,6 +69,9 @@ class EnvironmentConfig(CommonConfig):
|
|||
if self.delegate:
|
||||
self.requirements = True
|
||||
|
||||
self.inject_httptester = args.inject_httptester if 'inject_httptester' in args else False # type: bool
|
||||
self.httptester = docker_qualify_image(args.httptester if 'httptester' in args else '') # type: str
|
||||
|
||||
@property
|
||||
def python_executable(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue