opentf-toolkit-nightly 0.61.0.dev1255__py3-none-any.whl → 0.61.0.dev1263__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -699,7 +699,7 @@ def annotate_response(
699
699
 
700
700
 
701
701
  def validate_pipeline(
702
- workflow: Dict[str, Any]
702
+ workflow: Dict[str, Any],
703
703
  ) -> Tuple[bool, Union[str, List[List[str]]]]:
704
704
  """Validate workflow jobs, looking for circular dependencies.
705
705
 
opentf/commons/auth.py CHANGED
@@ -101,7 +101,6 @@ def _read_key_files(items: Iterable[str], context: Dict[str, Any]) -> None:
101
101
  'Error while reading trusted key #%d (%s), skipping:', i, keyfile
102
102
  )
103
103
  logging.error(err)
104
-
105
104
  if not keys:
106
105
  raise ConfigError(
107
106
  f'Could not find at least one valid trusted key among {files}, aborting.'
@@ -51,6 +51,8 @@ PUT_FILE_COMMAND = re.compile(r'^::put file=(.*?)\s*::(.*?)\s*$')
51
51
  CHANNEL_REQUEST = -1
52
52
  CHANNEL_RELEASE = -2
53
53
  CHANNEL_NOTIFY = -3
54
+ CHANNEL_TERMINATE = -4 # kill
55
+ CHANNEL_FORCEKILL = -9 # kill -9
54
56
 
55
57
  DEFAULT_CHANNEL_LEASE = 60 # how long to keep the offer, in seconds
56
58
 
@@ -199,7 +201,7 @@ def _make_attachment_url(
199
201
  return url, uuid
200
202
 
201
203
 
202
- def _get_cmd_params(args: str, logs: List[str]):
204
+ def _get_cmd_params(args: str, logs: List[str]) -> Union[int, Dict[str, str]]:
203
205
  details = {}
204
206
  if args:
205
207
  for parameter in args.strip().split(','):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: opentf-toolkit-nightly
3
- Version: 0.61.0.dev1255
3
+ Version: 0.61.0.dev1263
4
4
  Summary: OpenTestFactory Orchestrator Toolkit
5
5
  Home-page: https://gitlab.com/henixdevelopment/open-source/opentestfactory/python-toolkit
6
6
  Author: Martin Lafaix
@@ -1,5 +1,5 @@
1
- opentf/commons/__init__.py,sha256=xbDeHfYHshJtopyxljdTWw5vUXcUKosU6ILDNcEBZrY,22598
2
- opentf/commons/auth.py,sha256=bM2Z3kxm2Wku1lKXaRAIg37LHvXWAXIZIqjplDfN2P8,15899
1
+ opentf/commons/__init__.py,sha256=thcqhAp--rYDw-JIBIkgpaLu1kEk3pyPJz8brx7f7vU,22599
2
+ opentf/commons/auth.py,sha256=gXRp_0Tf3bfd65F4QiQmh6C6vR9y3ugag_0DSvozJFk,15898
3
3
  opentf/commons/config.py,sha256=_8WzSaeB0yjGRa8mTQ69OASyUSbKZbwNOiKpMp2jFwI,7842
4
4
  opentf/commons/exceptions.py,sha256=7dhUXO8iyAbqVwlUKxZhgRzGqVcb7LkG39hFlm-VxIA,2407
5
5
  opentf/commons/expressions.py,sha256=jM_YKXVOFhvOE2aE2IuacuvxhIsOYTFs2oQkpcbWR6g,19645
@@ -56,10 +56,10 @@ opentf/schemas/opentestfactory.org/v1beta2/ServiceConfig.json,sha256=rEvK2YWL5lG
56
56
  opentf/scripts/launch_java_service.sh,sha256=S0jAaCuv2sZy0Gf2NGBuPX-eD531rcM-b0fNyhmzSjw,2423
57
57
  opentf/scripts/startup.py,sha256=sggwEpMx7PTaSgYzs-2uCF5YZzpsncMyTlfF_G60CrE,21518
58
58
  opentf/toolkit/__init__.py,sha256=mYeJPZ92ulbTBItqEsZgF4nnuRh6G19QPY3Jxc92ifc,23028
59
- opentf/toolkit/channels.py,sha256=h5QLrr4vNLKjt8K524ZcJMqmHhE9kV5lxiW-MN6zMvQ,23622
59
+ opentf/toolkit/channels.py,sha256=EDuX5rk-wdaPLZeirllJqosRnmtz8bA4_eRfH857KZ4,23717
60
60
  opentf/toolkit/core.py,sha256=fqnGgaYnuVcd4fyeNIwpc0QtyUo7jsKeVgdkBfY3iqo,9443
61
- opentf_toolkit_nightly-0.61.0.dev1255.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
62
- opentf_toolkit_nightly-0.61.0.dev1255.dist-info/METADATA,sha256=yUpA1slZ9kThvavnxfPv241MczHv-w86HDrCcUTlqvw,2192
63
- opentf_toolkit_nightly-0.61.0.dev1255.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
64
- opentf_toolkit_nightly-0.61.0.dev1255.dist-info/top_level.txt,sha256=_gPuE6GTT6UNXy1DjtmQSfCcZb_qYA2vWmjg7a30AGk,7
65
- opentf_toolkit_nightly-0.61.0.dev1255.dist-info/RECORD,,
61
+ opentf_toolkit_nightly-0.61.0.dev1263.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
62
+ opentf_toolkit_nightly-0.61.0.dev1263.dist-info/METADATA,sha256=OGkS-yjdnwO91xq2sSWNbb6XpRwUlhl8HxZEmXB6T5Q,2192
63
+ opentf_toolkit_nightly-0.61.0.dev1263.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
64
+ opentf_toolkit_nightly-0.61.0.dev1263.dist-info/top_level.txt,sha256=_gPuE6GTT6UNXy1DjtmQSfCcZb_qYA2vWmjg7a30AGk,7
65
+ opentf_toolkit_nightly-0.61.0.dev1263.dist-info/RECORD,,