opentf-toolkit-nightly 0.56.0.dev994__py3-none-any.whl → 0.56.0.dev1000__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/schemas/opentestfactory.org/v1/Workflow.json +189 -146
- opentf/toolkit/channels.py +1 -1
- {opentf_toolkit_nightly-0.56.0.dev994.dist-info → opentf_toolkit_nightly-0.56.0.dev1000.dist-info}/METADATA +1 -1
- {opentf_toolkit_nightly-0.56.0.dev994.dist-info → opentf_toolkit_nightly-0.56.0.dev1000.dist-info}/RECORD +7 -7
- {opentf_toolkit_nightly-0.56.0.dev994.dist-info → opentf_toolkit_nightly-0.56.0.dev1000.dist-info}/LICENSE +0 -0
- {opentf_toolkit_nightly-0.56.0.dev994.dist-info → opentf_toolkit_nightly-0.56.0.dev1000.dist-info}/WHEEL +0 -0
- {opentf_toolkit_nightly-0.56.0.dev994.dist-info → opentf_toolkit_nightly-0.56.0.dev1000.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2019-09/schema#",
|
|
3
|
-
"title": "JSON SCHEMA for opentestfactory.org/
|
|
3
|
+
"title": "JSON SCHEMA for opentestfactory.org/v1 Workflow manifests",
|
|
4
4
|
"description": "An Orchestrator Workflow. Must have a name and at least one job.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -52,152 +52,20 @@
|
|
|
52
52
|
"timeout-minutes": {
|
|
53
53
|
"$ref": "#/definitions/number-expression"
|
|
54
54
|
},
|
|
55
|
+
"strategy": {
|
|
56
|
+
"$ref": "#/definitions/strategy"
|
|
57
|
+
},
|
|
55
58
|
"hooks": {
|
|
56
|
-
"
|
|
57
|
-
"minItems": 1,
|
|
58
|
-
"items": {
|
|
59
|
-
"type": "object",
|
|
60
|
-
"properties": {
|
|
61
|
-
"name": {
|
|
62
|
-
"type": "string"
|
|
63
|
-
},
|
|
64
|
-
"if": {
|
|
65
|
-
"type": "string"
|
|
66
|
-
},
|
|
67
|
-
"events": {
|
|
68
|
-
"type": "array",
|
|
69
|
-
"minItems": 1
|
|
70
|
-
},
|
|
71
|
-
"before": {
|
|
72
|
-
"type": "array",
|
|
73
|
-
"minItems": 1
|
|
74
|
-
},
|
|
75
|
-
"after": {
|
|
76
|
-
"type": "array",
|
|
77
|
-
"minItems": 1
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"anyOf": [
|
|
81
|
-
{
|
|
82
|
-
"required": [
|
|
83
|
-
"name",
|
|
84
|
-
"events",
|
|
85
|
-
"before"
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"required": [
|
|
90
|
-
"name",
|
|
91
|
-
"events",
|
|
92
|
-
"after",
|
|
93
|
-
"before"
|
|
94
|
-
]
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"required": [
|
|
98
|
-
"name",
|
|
99
|
-
"events",
|
|
100
|
-
"after"
|
|
101
|
-
]
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"additionalProperties": false
|
|
105
|
-
}
|
|
59
|
+
"$ref": "#/definitions/hooks"
|
|
106
60
|
},
|
|
107
61
|
"resources": {
|
|
108
|
-
"
|
|
109
|
-
"properties": {
|
|
110
|
-
"testmanagers": {
|
|
111
|
-
"type": "array",
|
|
112
|
-
"items": {
|
|
113
|
-
"type": "object",
|
|
114
|
-
"properties": {
|
|
115
|
-
"testmanager": {
|
|
116
|
-
"type": "string"
|
|
117
|
-
},
|
|
118
|
-
"type": {
|
|
119
|
-
"type": "string"
|
|
120
|
-
},
|
|
121
|
-
"name": {
|
|
122
|
-
"type": "string"
|
|
123
|
-
},
|
|
124
|
-
"endpoint": {
|
|
125
|
-
"type": "string"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"required": [
|
|
129
|
-
"testmanager",
|
|
130
|
-
"type",
|
|
131
|
-
"name",
|
|
132
|
-
"endpoint"
|
|
133
|
-
]
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"repositories": {
|
|
137
|
-
"type": "array",
|
|
138
|
-
"items": {
|
|
139
|
-
"type": "object",
|
|
140
|
-
"properties": {
|
|
141
|
-
"repository": {
|
|
142
|
-
"type": "string"
|
|
143
|
-
},
|
|
144
|
-
"type": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"pattern": "^[a-z][a-z0-9]*$"
|
|
147
|
-
},
|
|
148
|
-
"name": {
|
|
149
|
-
"type": "string"
|
|
150
|
-
},
|
|
151
|
-
"endpoint": {
|
|
152
|
-
"type": "string"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"required": [
|
|
156
|
-
"repository",
|
|
157
|
-
"type",
|
|
158
|
-
"name",
|
|
159
|
-
"endpoint"
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"files": {
|
|
164
|
-
"type": "array",
|
|
165
|
-
"items": {
|
|
166
|
-
"anyOf": [
|
|
167
|
-
{
|
|
168
|
-
"type": "string"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"type": "object",
|
|
172
|
-
"properties": {
|
|
173
|
-
"name": {
|
|
174
|
-
"type": "string"
|
|
175
|
-
},
|
|
176
|
-
"url": {
|
|
177
|
-
"type": "string"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
]
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
62
|
+
"$ref": "#/definitions/resources"
|
|
185
63
|
},
|
|
186
64
|
"jobs": {
|
|
187
|
-
"
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
{
|
|
192
|
-
"$ref": "#/definitions/job_generator"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"$ref": "#/definitions/job_steps"
|
|
196
|
-
}
|
|
197
|
-
]
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"minProperties": 1
|
|
65
|
+
"$ref": "#/definitions/jobs"
|
|
66
|
+
},
|
|
67
|
+
"outputs": {
|
|
68
|
+
"type": "object"
|
|
201
69
|
}
|
|
202
70
|
},
|
|
203
71
|
"required": [
|
|
@@ -234,7 +102,7 @@
|
|
|
234
102
|
"$ref": "#/definitions/runs-on"
|
|
235
103
|
},
|
|
236
104
|
"strategy": {
|
|
237
|
-
"
|
|
105
|
+
"$ref": "#/definitions/strategy"
|
|
238
106
|
},
|
|
239
107
|
"outputs": {
|
|
240
108
|
"type": "object"
|
|
@@ -248,12 +116,24 @@
|
|
|
248
116
|
"generator": {
|
|
249
117
|
"type": "string"
|
|
250
118
|
},
|
|
119
|
+
"uses": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
251
122
|
"with": {
|
|
252
123
|
"type": "object"
|
|
253
124
|
}
|
|
254
125
|
},
|
|
255
|
-
"
|
|
256
|
-
|
|
126
|
+
"oneOf": [
|
|
127
|
+
{
|
|
128
|
+
"required": [
|
|
129
|
+
"generator"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"required": [
|
|
134
|
+
"uses"
|
|
135
|
+
]
|
|
136
|
+
}
|
|
257
137
|
],
|
|
258
138
|
"additionalProperties": false
|
|
259
139
|
},
|
|
@@ -279,7 +159,7 @@
|
|
|
279
159
|
"$ref": "#/definitions/runs-on"
|
|
280
160
|
},
|
|
281
161
|
"strategy": {
|
|
282
|
-
"
|
|
162
|
+
"$ref": "#/definitions/strategy"
|
|
283
163
|
},
|
|
284
164
|
"outputs": {
|
|
285
165
|
"type": "object"
|
|
@@ -468,6 +348,169 @@
|
|
|
468
348
|
}
|
|
469
349
|
},
|
|
470
350
|
"minProperties": 1
|
|
351
|
+
},
|
|
352
|
+
"strategy": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"properties": {
|
|
355
|
+
"max-parallel": {
|
|
356
|
+
"$ref": "#/definitions/number-expression"
|
|
357
|
+
},
|
|
358
|
+
"fail-fast": {
|
|
359
|
+
"$ref": "#/definitions/boolean-expression"
|
|
360
|
+
},
|
|
361
|
+
"matrix": {
|
|
362
|
+
"type": "object"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"minProperties": 1,
|
|
366
|
+
"additionalProperties": false
|
|
367
|
+
},
|
|
368
|
+
"hooks": {
|
|
369
|
+
"type": "array",
|
|
370
|
+
"minItems": 1,
|
|
371
|
+
"items": {
|
|
372
|
+
"type": "object",
|
|
373
|
+
"properties": {
|
|
374
|
+
"name": {
|
|
375
|
+
"type": "string"
|
|
376
|
+
},
|
|
377
|
+
"if": {
|
|
378
|
+
"type": "string"
|
|
379
|
+
},
|
|
380
|
+
"events": {
|
|
381
|
+
"type": "array",
|
|
382
|
+
"minItems": 1
|
|
383
|
+
},
|
|
384
|
+
"before": {
|
|
385
|
+
"type": "array",
|
|
386
|
+
"minItems": 1
|
|
387
|
+
},
|
|
388
|
+
"after": {
|
|
389
|
+
"type": "array",
|
|
390
|
+
"minItems": 1
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"anyOf": [
|
|
394
|
+
{
|
|
395
|
+
"required": [
|
|
396
|
+
"name",
|
|
397
|
+
"events",
|
|
398
|
+
"before"
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"required": [
|
|
403
|
+
"name",
|
|
404
|
+
"events",
|
|
405
|
+
"after",
|
|
406
|
+
"before"
|
|
407
|
+
]
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"required": [
|
|
411
|
+
"name",
|
|
412
|
+
"events",
|
|
413
|
+
"after"
|
|
414
|
+
]
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"additionalProperties": false
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"jobs": {
|
|
421
|
+
"type": "object",
|
|
422
|
+
"patternProperties": {
|
|
423
|
+
"^[a-zA-Z_][a-zA-Z0-9_-]*$": {
|
|
424
|
+
"oneOf": [
|
|
425
|
+
{
|
|
426
|
+
"$ref": "#/definitions/job_generator"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"$ref": "#/definitions/job_steps"
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"minProperties": 1
|
|
435
|
+
},
|
|
436
|
+
"resources": {
|
|
437
|
+
"type": "object",
|
|
438
|
+
"properties": {
|
|
439
|
+
"testmanagers": {
|
|
440
|
+
"type": "array",
|
|
441
|
+
"items": {
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"testmanager": {
|
|
445
|
+
"type": "string"
|
|
446
|
+
},
|
|
447
|
+
"type": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
"name": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
"endpoint": {
|
|
454
|
+
"type": "string"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"required": [
|
|
458
|
+
"testmanager",
|
|
459
|
+
"type",
|
|
460
|
+
"name",
|
|
461
|
+
"endpoint"
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"repositories": {
|
|
466
|
+
"type": "array",
|
|
467
|
+
"items": {
|
|
468
|
+
"type": "object",
|
|
469
|
+
"properties": {
|
|
470
|
+
"repository": {
|
|
471
|
+
"type": "string"
|
|
472
|
+
},
|
|
473
|
+
"type": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"pattern": "^[a-z][a-z0-9]*$"
|
|
476
|
+
},
|
|
477
|
+
"name": {
|
|
478
|
+
"type": "string"
|
|
479
|
+
},
|
|
480
|
+
"endpoint": {
|
|
481
|
+
"type": "string"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"required": [
|
|
485
|
+
"repository",
|
|
486
|
+
"type",
|
|
487
|
+
"name",
|
|
488
|
+
"endpoint"
|
|
489
|
+
]
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"files": {
|
|
493
|
+
"type": "array",
|
|
494
|
+
"items": {
|
|
495
|
+
"anyOf": [
|
|
496
|
+
{
|
|
497
|
+
"type": "string"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"type": "object",
|
|
501
|
+
"properties": {
|
|
502
|
+
"name": {
|
|
503
|
+
"type": "string"
|
|
504
|
+
},
|
|
505
|
+
"url": {
|
|
506
|
+
"type": "string"
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
]
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
471
514
|
}
|
|
472
515
|
}
|
|
473
516
|
}
|
opentf/toolkit/channels.py
CHANGED
|
@@ -131,7 +131,7 @@ def make_variable_linux(name: str, variable: Union[str, Dict[str, Any]]) -> str:
|
|
|
131
131
|
def pseudoquote(val: str):
|
|
132
132
|
if '"' in val:
|
|
133
133
|
val = val.replace('"', '\\"')
|
|
134
|
-
if ' ' in val or '\t' in val:
|
|
134
|
+
if ' ' in val or '\t' in val or '\n' in val:
|
|
135
135
|
val = f'"{val}"'
|
|
136
136
|
return val
|
|
137
137
|
|
|
@@ -8,7 +8,7 @@ opentf/commons/schemas.py,sha256=YSCvlmqc7satt-OqIoYXnmhOyo9h8wIpNyKaBAY4u9c,403
|
|
|
8
8
|
opentf/commons/selectors.py,sha256=DEpLgRAr5HXSpSYI4liXP2hLUTvOSexFa9Vfa1xIQTk,7134
|
|
9
9
|
opentf/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
opentf/schemas/abac.opentestfactory.org/v1alpha1/Policy.json,sha256=JXsfNAPSEYggeyaDutSQBeG38o4Bmcr70dPLWWeqIh8,2105
|
|
11
|
-
opentf/schemas/opentestfactory.org/v1/Workflow.json,sha256=
|
|
11
|
+
opentf/schemas/opentestfactory.org/v1/Workflow.json,sha256=qKmWZSqqADsBcrlU4J5Mxi-Q-aeqp19jJYb2BqYvXVo,17232
|
|
12
12
|
opentf/schemas/opentestfactory.org/v1alpha1/AgentRegistration.json,sha256=NQykqU-lKE8LtBhBiFUcpVJq00MRG6dZsoM1xedx6uQ,1230
|
|
13
13
|
opentf/schemas/opentestfactory.org/v1alpha1/AllureCollectorOutput.json,sha256=-L9DDWA0A4x54bPMn4m6Qwi2tf2nHvzIPFOElTjaVck,1366
|
|
14
14
|
opentf/schemas/opentestfactory.org/v1alpha1/ChannelHandlerHooks.json,sha256=6K6m9praw_f2biCMHfTsHPYia5z2jq10dciRLqf3ogI,1239
|
|
@@ -47,10 +47,10 @@ opentf/schemas/opentestfactory.org/v1beta2/ServiceConfig.json,sha256=rEvK2YWL5lG
|
|
|
47
47
|
opentf/scripts/launch_java_service.sh,sha256=S0jAaCuv2sZy0Gf2NGBuPX-eD531rcM-b0fNyhmzSjw,2423
|
|
48
48
|
opentf/scripts/startup.py,sha256=Da2zo93pBWbdRmj-wgekgLcF94rpNc3ZkbvR8R0w8XY,21279
|
|
49
49
|
opentf/toolkit/__init__.py,sha256=icNo_jz2IfhwddunQpfq6F-0xeKS70S-0Or5zJliEZs,21692
|
|
50
|
-
opentf/toolkit/channels.py,sha256=
|
|
50
|
+
opentf/toolkit/channels.py,sha256=6xcVKHUK2FdyVKIQmPQbakngfVuQDzCcD_lInOdKpro,17171
|
|
51
51
|
opentf/toolkit/core.py,sha256=MvvWUrS4dvo3Qrd_Yl9uND3CllL0qtMi-y1S-Na1uQs,9621
|
|
52
|
-
opentf_toolkit_nightly-0.56.0.
|
|
53
|
-
opentf_toolkit_nightly-0.56.0.
|
|
54
|
-
opentf_toolkit_nightly-0.56.0.
|
|
55
|
-
opentf_toolkit_nightly-0.56.0.
|
|
56
|
-
opentf_toolkit_nightly-0.56.0.
|
|
52
|
+
opentf_toolkit_nightly-0.56.0.dev1000.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
53
|
+
opentf_toolkit_nightly-0.56.0.dev1000.dist-info/METADATA,sha256=mw39gl1hZuc7BhYMp8AuuJNojFcRePRl29Tju5E9khU,1946
|
|
54
|
+
opentf_toolkit_nightly-0.56.0.dev1000.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
55
|
+
opentf_toolkit_nightly-0.56.0.dev1000.dist-info/top_level.txt,sha256=_gPuE6GTT6UNXy1DjtmQSfCcZb_qYA2vWmjg7a30AGk,7
|
|
56
|
+
opentf_toolkit_nightly-0.56.0.dev1000.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|