|
|
|
@ -43,12 +43,13 @@ def initialize_cloud_plugins():
|
|
|
|
|
|
|
|
|
|
|
|
def get_cloud_platforms(args, targets=None):
|
|
|
|
def get_cloud_platforms(args, targets=None):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
:type args: IntegrationConfig
|
|
|
|
:type args: TestConfig
|
|
|
|
:type targets: tuple[IntegrationTarget] | None
|
|
|
|
:type targets: tuple[IntegrationTarget] | None
|
|
|
|
:rtype: list[str]
|
|
|
|
:rtype: list[str]
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
if args.list_targets:
|
|
|
|
if isinstance(args, IntegrationConfig):
|
|
|
|
return []
|
|
|
|
if args.list_targets:
|
|
|
|
|
|
|
|
return []
|
|
|
|
|
|
|
|
|
|
|
|
if targets is None:
|
|
|
|
if targets is None:
|
|
|
|
cloud_platforms = set(args.metadata.cloud_config or [])
|
|
|
|
cloud_platforms = set(args.metadata.cloud_config or [])
|
|
|
|
|