/
runner.yaml
55 lines (55 loc) · 1.39 KB
/
runner.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
- aliases:
- run-python
description: A runner for launching python actions.
enabled: true
name: python-script
runner_module: python_runner
output_key: result
output_schema:
result:
anyOf:
- type: "object"
- type: "string"
- type: "integer"
- type: "number"
- type: "boolean"
- type: "array"
- type: "null"
stderr:
type: string
required: true
stdout:
type: string
required: true
exit_code:
type: integer
required: true
runner_parameters:
debug:
description: Enable runner debug mode.
type: boolean
required: false
default: false
content_version:
description: Git revision of the pack content to use for this action execution (git commit sha / tag / branch). Only applies to packs which are git repositories.
type: string
required: false
env:
description: Environment variables which will be available to the script.
type: object
timeout:
default: 600
description: Action timeout in seconds. Action will get killed if it doesn't
finish in timeout seconds.
type: integer
log_level:
description: Default log level for Python runner actions.
type: string
default: DEBUG
enum:
- AUDIT
- CRITICAL
- ERROR
- WARNING
- INFO
- DEBUG