opentf-toolkit-nightly 0.56.0.dev988__py3-none-any.whl → 0.56.0.dev997__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/commons/expressions.py +22 -4
- opentf/commons/schemas.py +1 -1
- opentf/schemas/opentestfactory.org/v1/Workflow.json +516 -0
- {opentf_toolkit_nightly-0.56.0.dev988.dist-info → opentf_toolkit_nightly-0.56.0.dev997.dist-info}/METADATA +1 -1
- {opentf_toolkit_nightly-0.56.0.dev988.dist-info → opentf_toolkit_nightly-0.56.0.dev997.dist-info}/RECORD +8 -7
- {opentf_toolkit_nightly-0.56.0.dev988.dist-info → opentf_toolkit_nightly-0.56.0.dev997.dist-info}/LICENSE +0 -0
- {opentf_toolkit_nightly-0.56.0.dev988.dist-info → opentf_toolkit_nightly-0.56.0.dev997.dist-info}/WHEEL +0 -0
- {opentf_toolkit_nightly-0.56.0.dev988.dist-info → opentf_toolkit_nightly-0.56.0.dev997.dist-info}/top_level.txt +0 -0
opentf/commons/expressions.py
CHANGED
|
@@ -76,6 +76,8 @@ DATETIME_FUNCTIONS = (
|
|
|
76
76
|
'second',
|
|
77
77
|
)
|
|
78
78
|
|
|
79
|
+
SPECIAL_FUNCTIONS = '__special functions__'
|
|
80
|
+
|
|
79
81
|
########################################################################
|
|
80
82
|
## Tokenizer
|
|
81
83
|
|
|
@@ -382,16 +384,29 @@ def evaluate_function_arity_2(name: str, arg1, arg2) -> bool:
|
|
|
382
384
|
|
|
383
385
|
|
|
384
386
|
def evaluate_status_function(name: str, contexts) -> bool:
|
|
385
|
-
"""Evaluate job status function.
|
|
387
|
+
"""Evaluate job status function.
|
|
388
|
+
|
|
389
|
+
Annotates the contexts[SPECIAL_FUNCTIONS] entry with a `__called__`
|
|
390
|
+
sub-entry if appropriate, so that caller can detect status function
|
|
391
|
+
usage.
|
|
392
|
+
"""
|
|
393
|
+
if name not in ('always', 'success', 'failure', 'cancelled'):
|
|
394
|
+
raise ValueError(f'Unknown function {name}()')
|
|
395
|
+
# a status function has been used
|
|
396
|
+
if SPECIAL_FUNCTIONS in contexts:
|
|
397
|
+
contexts[SPECIAL_FUNCTIONS]['__called__'] = True
|
|
386
398
|
if name == 'always':
|
|
387
399
|
return True
|
|
400
|
+
if external_functions := contexts.get(SPECIAL_FUNCTIONS):
|
|
401
|
+
if name in external_functions:
|
|
402
|
+
return external_functions[name]
|
|
403
|
+
raise ValueError(f'Unknown function {name}()')
|
|
388
404
|
if name == 'success':
|
|
389
405
|
return contexts['job']['status'] == 'success'
|
|
390
406
|
if name == 'failure':
|
|
391
407
|
return contexts['job']['status'] == 'failure'
|
|
392
408
|
if name == 'cancelled':
|
|
393
409
|
return contexts['job']['status'] == 'cancelled'
|
|
394
|
-
raise ValueError(f'Unknown function {name}()')
|
|
395
410
|
|
|
396
411
|
|
|
397
412
|
def _evaluate_identifier(
|
|
@@ -484,7 +499,7 @@ def _evaluate_expression(
|
|
|
484
499
|
infix = '==' | '!=' | '<=' | '<' | '>' | '>=' | '~='
|
|
485
500
|
expression = term ('&&' term | '||' term)*
|
|
486
501
|
term = factor (infix factor)?
|
|
487
|
-
factor = path | string | number | !factor | (expression)
|
|
502
|
+
factor = path | string | number | '!'factor | '('expression')'
|
|
488
503
|
|
|
489
504
|
# Required parameters
|
|
490
505
|
|
|
@@ -628,7 +643,7 @@ def evaluate_items(items: Dict[str, Any], contexts) -> Dict[str, Any]:
|
|
|
628
643
|
return result
|
|
629
644
|
|
|
630
645
|
|
|
631
|
-
def evaluate_bool(expr: str, contexts) -> bool:
|
|
646
|
+
def evaluate_bool(expr: str, contexts, special_functions=None) -> bool:
|
|
632
647
|
"""Evaluate expression in context.
|
|
633
648
|
|
|
634
649
|
`expr` may be surrounded by `${{` and `}}`.
|
|
@@ -643,6 +658,9 @@ def evaluate_bool(expr: str, contexts) -> bool:
|
|
|
643
658
|
A boolean.
|
|
644
659
|
"""
|
|
645
660
|
expr = _maybe_remove_expression_syntax(expr)
|
|
661
|
+
if special_functions:
|
|
662
|
+
contexts = contexts.copy()
|
|
663
|
+
contexts[SPECIAL_FUNCTIONS] = special_functions
|
|
646
664
|
if '${{' in expr:
|
|
647
665
|
return _to_number(evaluate_str(expr, contexts)) != 0
|
|
648
666
|
return _to_number(evaluate(expr, contexts)) != 0
|
opentf/commons/schemas.py
CHANGED
|
@@ -35,7 +35,7 @@ PROVIDERCONFIG = 'opentestfactory.org/v1beta1/ProviderConfig'
|
|
|
35
35
|
|
|
36
36
|
SUBSCRIPTION = 'opentestfactory.org/v1alpha1/Subscription'
|
|
37
37
|
|
|
38
|
-
WORKFLOW = 'opentestfactory.org/
|
|
38
|
+
WORKFLOW = 'opentestfactory.org/v1/Workflow'
|
|
39
39
|
WORKFLOWCOMPLETED = 'opentestfactory.org/v1alpha1/WorkflowCompleted'
|
|
40
40
|
WORKFLOWCANCELED = 'opentestfactory.org/v1alpha1/WorkflowCanceled'
|
|
41
41
|
WORKFLOWRESULT = 'opentestfactory.org/v1alpha1/WorkflowResult'
|
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2019-09/schema#",
|
|
3
|
+
"title": "JSON SCHEMA for opentestfactory.org/v1 Workflow manifests",
|
|
4
|
+
"description": "An Orchestrator Workflow. Must have a name and at least one job.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"apiVersion": {
|
|
8
|
+
"enum": [
|
|
9
|
+
"opentestfactory.org/v1alpha1",
|
|
10
|
+
"opentestfactory.org/v1beta1",
|
|
11
|
+
"opentestfactory.org/v1"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"kind": {
|
|
15
|
+
"const": "Workflow"
|
|
16
|
+
},
|
|
17
|
+
"metadata": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"namespace": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
26
|
+
},
|
|
27
|
+
"labels": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"patternProperties": {
|
|
30
|
+
"^([a-zA-Z0-9-.]+/)?[a-zA-Z0-9]([a-zA-Z0-9._-]*[a-zA-Z0-9])?$": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"minProperties": 1,
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": true,
|
|
39
|
+
"required": [
|
|
40
|
+
"name"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"defaults": {
|
|
44
|
+
"$ref": "#/definitions/defaults"
|
|
45
|
+
},
|
|
46
|
+
"variables": {
|
|
47
|
+
"$ref": "#/definitions/variables"
|
|
48
|
+
},
|
|
49
|
+
"secrets": {
|
|
50
|
+
"$ref": "#/definitions/secrets"
|
|
51
|
+
},
|
|
52
|
+
"timeout-minutes": {
|
|
53
|
+
"$ref": "#/definitions/number-expression"
|
|
54
|
+
},
|
|
55
|
+
"strategy": {
|
|
56
|
+
"$ref": "#/definitions/strategy"
|
|
57
|
+
},
|
|
58
|
+
"hooks": {
|
|
59
|
+
"$ref": "#/definitions/hooks"
|
|
60
|
+
},
|
|
61
|
+
"resources": {
|
|
62
|
+
"$ref": "#/definitions/resources"
|
|
63
|
+
},
|
|
64
|
+
"jobs": {
|
|
65
|
+
"$ref": "#/definitions/jobs"
|
|
66
|
+
},
|
|
67
|
+
"outputs": {
|
|
68
|
+
"type": "object"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": [
|
|
72
|
+
"metadata",
|
|
73
|
+
"jobs"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"definitions": {
|
|
77
|
+
"defaults": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"propertyNames": {
|
|
80
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9-]*$"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"job_generator": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {
|
|
86
|
+
"name": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"if": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"needs": {
|
|
93
|
+
"$ref": "#/definitions/needs"
|
|
94
|
+
},
|
|
95
|
+
"variables": {
|
|
96
|
+
"$ref": "#/definitions/variables"
|
|
97
|
+
},
|
|
98
|
+
"defaults": {
|
|
99
|
+
"$ref": "#/definitions/defaults"
|
|
100
|
+
},
|
|
101
|
+
"runs-on": {
|
|
102
|
+
"$ref": "#/definitions/runs-on"
|
|
103
|
+
},
|
|
104
|
+
"strategy": {
|
|
105
|
+
"$ref": "#/definitions/strategy"
|
|
106
|
+
},
|
|
107
|
+
"outputs": {
|
|
108
|
+
"type": "object"
|
|
109
|
+
},
|
|
110
|
+
"timeout-minutes": {
|
|
111
|
+
"$ref": "#/definitions/number-expression"
|
|
112
|
+
},
|
|
113
|
+
"continue-on-error": {
|
|
114
|
+
"$ref": "#/definitions/boolean-expression"
|
|
115
|
+
},
|
|
116
|
+
"generator": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
"uses": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"with": {
|
|
123
|
+
"type": "object"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"oneOf": [
|
|
127
|
+
{
|
|
128
|
+
"required": [
|
|
129
|
+
"generator"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"required": [
|
|
134
|
+
"uses"
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"additionalProperties": false
|
|
139
|
+
},
|
|
140
|
+
"job_steps": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"properties": {
|
|
143
|
+
"name": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
},
|
|
146
|
+
"if": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
"needs": {
|
|
150
|
+
"$ref": "#/definitions/needs"
|
|
151
|
+
},
|
|
152
|
+
"variables": {
|
|
153
|
+
"$ref": "#/definitions/variables"
|
|
154
|
+
},
|
|
155
|
+
"defaults": {
|
|
156
|
+
"$ref": "#/definitions/defaults"
|
|
157
|
+
},
|
|
158
|
+
"runs-on": {
|
|
159
|
+
"$ref": "#/definitions/runs-on"
|
|
160
|
+
},
|
|
161
|
+
"strategy": {
|
|
162
|
+
"$ref": "#/definitions/strategy"
|
|
163
|
+
},
|
|
164
|
+
"outputs": {
|
|
165
|
+
"type": "object"
|
|
166
|
+
},
|
|
167
|
+
"timeout-minutes": {
|
|
168
|
+
"$ref": "#/definitions/number-expression"
|
|
169
|
+
},
|
|
170
|
+
"continue-on-error": {
|
|
171
|
+
"$ref": "#/definitions/boolean-expression"
|
|
172
|
+
},
|
|
173
|
+
"steps": {
|
|
174
|
+
"type": "array",
|
|
175
|
+
"minItems": 1,
|
|
176
|
+
"items": {
|
|
177
|
+
"anyOf": [
|
|
178
|
+
{
|
|
179
|
+
"type": "object",
|
|
180
|
+
"properties": {
|
|
181
|
+
"name": {
|
|
182
|
+
"type": "string"
|
|
183
|
+
},
|
|
184
|
+
"id": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"if": {
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
"uses": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
"with": {
|
|
194
|
+
"type": "object"
|
|
195
|
+
},
|
|
196
|
+
"variables": {
|
|
197
|
+
"$ref": "#/definitions/variables"
|
|
198
|
+
},
|
|
199
|
+
"timeout-minutes": {
|
|
200
|
+
"$ref": "#/definitions/number-expression"
|
|
201
|
+
},
|
|
202
|
+
"continue-on-error": {
|
|
203
|
+
"$ref": "#/definitions/boolean-expression"
|
|
204
|
+
},
|
|
205
|
+
"working-directory": {
|
|
206
|
+
"type": "string"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"required": [
|
|
210
|
+
"uses"
|
|
211
|
+
],
|
|
212
|
+
"additionalProperties": false
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "object",
|
|
216
|
+
"properties": {
|
|
217
|
+
"name": {
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
"id": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"if": {
|
|
224
|
+
"type": "string"
|
|
225
|
+
},
|
|
226
|
+
"run": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"shell": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"variables": {
|
|
233
|
+
"$ref": "#/definitions/variables"
|
|
234
|
+
},
|
|
235
|
+
"timeout-minutes": {
|
|
236
|
+
"$ref": "#/definitions/number-expression"
|
|
237
|
+
},
|
|
238
|
+
"continue-on-error": {
|
|
239
|
+
"$ref": "#/definitions/boolean-expression"
|
|
240
|
+
},
|
|
241
|
+
"working-directory": {
|
|
242
|
+
"type": "string"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"required": [
|
|
246
|
+
"run"
|
|
247
|
+
],
|
|
248
|
+
"additionalProperties": false
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"required": [
|
|
255
|
+
"steps"
|
|
256
|
+
],
|
|
257
|
+
"additionalProperties": false
|
|
258
|
+
},
|
|
259
|
+
"needs": {
|
|
260
|
+
"anyOf": [
|
|
261
|
+
{
|
|
262
|
+
"type": "string",
|
|
263
|
+
"pattern": "(^[a-zA-Z_][a-zA-Z0-9_-]*$)|(^\\$\\{\\{.*\\}\\}$)"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "array",
|
|
267
|
+
"items": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"pattern": "(^[a-zA-Z_][a-zA-Z0-9_-]*$)|(^\\$\\{\\{.*\\}\\}$)"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"number-expression": {
|
|
275
|
+
"anyOf": [
|
|
276
|
+
{
|
|
277
|
+
"type": "number"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"type": "string",
|
|
281
|
+
"pattern": "^\\$\\{\\{.*\\}\\}$"
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
"boolean-expression": {
|
|
286
|
+
"anyOf": [
|
|
287
|
+
{
|
|
288
|
+
"type": "boolean"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"type": "string",
|
|
292
|
+
"pattern": "^\\$\\{\\{.*\\}\\}$"
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
"runs-on": {
|
|
297
|
+
"anyOf": [
|
|
298
|
+
{
|
|
299
|
+
"type": "string",
|
|
300
|
+
"pattern": "(^[a-zA-Z][a-zA-Z0-9-]*$)|(^\\$\\{\\{.*\\}\\}$)"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"type": "array",
|
|
304
|
+
"items": {
|
|
305
|
+
"type": "string",
|
|
306
|
+
"pattern": "(^[a-zA-Z][a-zA-Z0-9-]*$)|(^\\$\\{\\{.*\\}\\}$)"
|
|
307
|
+
},
|
|
308
|
+
"minItems": 1
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"type": "object"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
"variables": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"patternProperties": {
|
|
318
|
+
"^[a-zA-Z0-9_]+$": {
|
|
319
|
+
"oneOf": [
|
|
320
|
+
{
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"type": "object",
|
|
325
|
+
"properties": {
|
|
326
|
+
"value": {
|
|
327
|
+
"type": "string"
|
|
328
|
+
},
|
|
329
|
+
"verbatim": {
|
|
330
|
+
"type": "boolean"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"required": [
|
|
334
|
+
"value"
|
|
335
|
+
],
|
|
336
|
+
"additionalProperties": false
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"minProperties": 1
|
|
342
|
+
},
|
|
343
|
+
"secrets": {
|
|
344
|
+
"type": "object",
|
|
345
|
+
"patternProperties": {
|
|
346
|
+
"^[a-zA-Z0-9_]+$": {
|
|
347
|
+
"type": "string"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
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
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
@@ -2,12 +2,13 @@ opentf/commons/__init__.py,sha256=KRY8ShQw_0ZZ0oEOiKi4-xnWofE_QsFjEe1T8wUxJ-w,21
|
|
|
2
2
|
opentf/commons/auth.py,sha256=bM2Z3kxm2Wku1lKXaRAIg37LHvXWAXIZIqjplDfN2P8,15899
|
|
3
3
|
opentf/commons/config.py,sha256=GmvInVnUsXIwlNfgTQeQ_pPs97GeGTGn2S2QZEFwss8,7828
|
|
4
4
|
opentf/commons/datasources.py,sha256=4ye-TMtaE88O8GVcWx-FtKXOC8aIZLteR6wfIr7Do8U,25232
|
|
5
|
-
opentf/commons/expressions.py,sha256=
|
|
5
|
+
opentf/commons/expressions.py,sha256=973wiKlM0jcKf4nQpVRtZ7F0-ORHQn1TY_4rVGtNZXc,20007
|
|
6
6
|
opentf/commons/pubsub.py,sha256=7khxAHVZiwJRcwIBJ6MPR-f3xY9144-2eNLROwq5F-4,5894
|
|
7
|
-
opentf/commons/schemas.py,sha256=
|
|
7
|
+
opentf/commons/schemas.py,sha256=YSCvlmqc7satt-OqIoYXnmhOyo9h8wIpNyKaBAY4u9c,4039
|
|
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=qKmWZSqqADsBcrlU4J5Mxi-Q-aeqp19jJYb2BqYvXVo,17232
|
|
11
12
|
opentf/schemas/opentestfactory.org/v1alpha1/AgentRegistration.json,sha256=NQykqU-lKE8LtBhBiFUcpVJq00MRG6dZsoM1xedx6uQ,1230
|
|
12
13
|
opentf/schemas/opentestfactory.org/v1alpha1/AllureCollectorOutput.json,sha256=-L9DDWA0A4x54bPMn4m6Qwi2tf2nHvzIPFOElTjaVck,1366
|
|
13
14
|
opentf/schemas/opentestfactory.org/v1alpha1/ChannelHandlerHooks.json,sha256=6K6m9praw_f2biCMHfTsHPYia5z2jq10dciRLqf3ogI,1239
|
|
@@ -48,8 +49,8 @@ opentf/scripts/startup.py,sha256=Da2zo93pBWbdRmj-wgekgLcF94rpNc3ZkbvR8R0w8XY,212
|
|
|
48
49
|
opentf/toolkit/__init__.py,sha256=icNo_jz2IfhwddunQpfq6F-0xeKS70S-0Or5zJliEZs,21692
|
|
49
50
|
opentf/toolkit/channels.py,sha256=Cng3b4LUsxvCHUbp_skys9CFcKZMfcKhA_ODg_EAlIE,17156
|
|
50
51
|
opentf/toolkit/core.py,sha256=MvvWUrS4dvo3Qrd_Yl9uND3CllL0qtMi-y1S-Na1uQs,9621
|
|
51
|
-
opentf_toolkit_nightly-0.56.0.
|
|
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.
|
|
52
|
+
opentf_toolkit_nightly-0.56.0.dev997.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
53
|
+
opentf_toolkit_nightly-0.56.0.dev997.dist-info/METADATA,sha256=2-Ye15Amv6tJ0HyH15v0i0qhx0HrUsNM0RCoBPZ-ZXM,1945
|
|
54
|
+
opentf_toolkit_nightly-0.56.0.dev997.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
55
|
+
opentf_toolkit_nightly-0.56.0.dev997.dist-info/top_level.txt,sha256=_gPuE6GTT6UNXy1DjtmQSfCcZb_qYA2vWmjg7a30AGk,7
|
|
56
|
+
opentf_toolkit_nightly-0.56.0.dev997.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|