opentf-toolkit-nightly 0.59.0.dev1222__py3-none-any.whl → 0.59.0.dev1237__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.
- opentf/toolkit/channels.py +7 -1
- {opentf_toolkit_nightly-0.59.0.dev1222.dist-info → opentf_toolkit_nightly-0.59.0.dev1237.dist-info}/METADATA +9 -9
- {opentf_toolkit_nightly-0.59.0.dev1222.dist-info → opentf_toolkit_nightly-0.59.0.dev1237.dist-info}/RECORD +6 -6
- {opentf_toolkit_nightly-0.59.0.dev1222.dist-info → opentf_toolkit_nightly-0.59.0.dev1237.dist-info}/WHEEL +1 -1
- {opentf_toolkit_nightly-0.59.0.dev1222.dist-info → opentf_toolkit_nightly-0.59.0.dev1237.dist-info}/LICENSE +0 -0
- {opentf_toolkit_nightly-0.59.0.dev1222.dist-info → opentf_toolkit_nightly-0.59.0.dev1237.dist-info}/top_level.txt +0 -0
opentf/toolkit/channels.py
CHANGED
|
@@ -410,9 +410,11 @@ def process_output(
|
|
|
410
410
|
filename, pattern = params.get('file'), params.get('pattern')
|
|
411
411
|
if not filename and not pattern:
|
|
412
412
|
pattern = '*'
|
|
413
|
+
found = False
|
|
413
414
|
for artifact in artifacts:
|
|
414
415
|
artifact_name = artifact.split('_')[-1]
|
|
415
416
|
if filename and filename == artifact_name:
|
|
417
|
+
found = True
|
|
416
418
|
if not remote_path:
|
|
417
419
|
targeted_remote_path = core.join_path(
|
|
418
420
|
targeted_remote_path, artifact_name, is_windows
|
|
@@ -420,11 +422,15 @@ def process_output(
|
|
|
420
422
|
_put(targeted_remote_path, artifact)
|
|
421
423
|
continue
|
|
422
424
|
if pattern and fnmatch.fnmatch(artifact_name, pattern):
|
|
425
|
+
found = True
|
|
423
426
|
pattern_path = core.join_path(
|
|
424
427
|
targeted_remote_path, artifact_name, is_windows
|
|
425
428
|
)
|
|
426
429
|
_put(pattern_path, artifact)
|
|
427
|
-
|
|
430
|
+
if found:
|
|
431
|
+
return resp
|
|
432
|
+
logs.append('ERROR,No artifact matching requested name/pattern found.')
|
|
433
|
+
return 2
|
|
428
434
|
except Exception as err:
|
|
429
435
|
logs.append(
|
|
430
436
|
f'ERROR,Could not send artifacts to remote path {remote_path}: {err}.'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: opentf-toolkit-nightly
|
|
3
|
-
Version: 0.59.0.
|
|
3
|
+
Version: 0.59.0.dev1237
|
|
4
4
|
Summary: OpenTestFactory Orchestrator Toolkit
|
|
5
5
|
Home-page: https://gitlab.com/henixdevelopment/open-source/opentestfactory/python-toolkit
|
|
6
6
|
Author: Martin Lafaix
|
|
@@ -16,14 +16,14 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
16
16
|
Requires-Python: >= 3.9.0
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: requests
|
|
20
|
-
Requires-Dist: PyJWT[crypto]
|
|
21
|
-
Requires-Dist: PyYAML
|
|
22
|
-
Requires-Dist: Flask
|
|
23
|
-
Requires-Dist: jsonschema
|
|
24
|
-
Requires-Dist: toposort
|
|
25
|
-
Requires-Dist: waitress
|
|
26
|
-
Requires-Dist: paste
|
|
19
|
+
Requires-Dist: requests>=2.32
|
|
20
|
+
Requires-Dist: PyJWT[crypto]>=2.9
|
|
21
|
+
Requires-Dist: PyYAML>=6
|
|
22
|
+
Requires-Dist: Flask<4,>=3
|
|
23
|
+
Requires-Dist: jsonschema>=4.23
|
|
24
|
+
Requires-Dist: toposort>=1.10
|
|
25
|
+
Requires-Dist: waitress>=3
|
|
26
|
+
Requires-Dist: paste>=3.10
|
|
27
27
|
|
|
28
28
|
# opentf-toolkit
|
|
29
29
|
|
|
@@ -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=
|
|
59
|
+
opentf/toolkit/channels.py,sha256=h5QLrr4vNLKjt8K524ZcJMqmHhE9kV5lxiW-MN6zMvQ,23622
|
|
60
60
|
opentf/toolkit/core.py,sha256=cscUkwdwvLkerqMRL05dgtKJ42QbBQQc28kRBiyZM9o,9883
|
|
61
|
-
opentf_toolkit_nightly-0.59.0.
|
|
62
|
-
opentf_toolkit_nightly-0.59.0.
|
|
63
|
-
opentf_toolkit_nightly-0.59.0.
|
|
64
|
-
opentf_toolkit_nightly-0.59.0.
|
|
65
|
-
opentf_toolkit_nightly-0.59.0.
|
|
61
|
+
opentf_toolkit_nightly-0.59.0.dev1237.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
62
|
+
opentf_toolkit_nightly-0.59.0.dev1237.dist-info/METADATA,sha256=W73bm-VjEp2yooK4H8D1NhvgMNw7kgZhGTVmavRKRtE,1932
|
|
63
|
+
opentf_toolkit_nightly-0.59.0.dev1237.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
64
|
+
opentf_toolkit_nightly-0.59.0.dev1237.dist-info/top_level.txt,sha256=_gPuE6GTT6UNXy1DjtmQSfCcZb_qYA2vWmjg7a30AGk,7
|
|
65
|
+
opentf_toolkit_nightly-0.59.0.dev1237.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|