/
action.yml
110 lines (107 loc) · 3.53 KB
/
action.yml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
name: 'Schedule tests on Testing Farm'
description: 'A GitHub action will schedule a user defined tests to the Testing Farm to run tmt tests.'
author: 'RHSCL team'
branding:
icon: circle
color: red
inputs:
api_url:
description: 'A testing farm server url'
required: false
default: 'https://api.dev.testing-farm.io/v0.1'
api_key:
description: 'A testing farm API key'
required: true
git_url:
description: 'An url to the GIT repository with TMT plans'
required: true
git_ref:
description: 'A TMT tests branch which will be used for tests'
required: false
default: 'master'
github_token:
description: 'GitHub TOKEN or PAT'
required: false
default: '${{ github.token }}'
tmt_plan_regex:
required: false
description: 'A tmt plan regex which will be used for selecting plans. By default all plans are selected.'
compose:
description: 'A compose to run tests against.'
default: 'Fedora-latest'
required: false
create_issue_comment:
description: 'It creates a github issue Comment'
required: false
default: 'false'
pull_request_status_name:
description: 'GitHub pull request status name'
required: false
default: 'Fedora'
variables:
description: 'Environment variables for test, separated by ;'
required: false
default: ''
secrets:
description: 'Secret environment variables for test env, separated by ;'
required: false
default: ''
update_pull_request_status:
description: 'Action will update pull request status. Default: true'
required: false
default: 'false'
create_github_summary:
description: 'Action will create github summary. Possible options: "false", "true", "key=value"'
required: false
default: 'true'
arch:
description: 'Define an architecture for testing environment. Default: x86_64'
required: false
default: 'x86_64'
copr:
description: 'Name of copr to use for the artifacts'
required: false
default: 'epel-7-x86_64'
copr_artifacts:
description: '"fedora-copr-build" artifacts for testing environment. Separated by ;'
required: false
default: ''
tmt_context:
description: 'A value of tmt.context variable https://tmt.readthedocs.io/en/latest/spec/context.html, variables separated by ;'
required: false
default: ''
tf_scope:
description: 'Defines the scope of Testing Farm. Possible options are public and private'
required: false
default: 'public'
environment_settings:
description: 'Pass specific settings, like post-install-script, to the testing environment.'
required: false
default: '{}'
pipeline_settings:
description: 'Pass specific settings for the testing farm pipeline, e.g. the type for multihost testing.'
required: false
default: '{}'
timeout:
description: 'Action is waiting for testing farm to finish or until timeout is reached. Value is in minutes.'
required: false
default: '480'
tmt_hardware:
description: 'Define hardware requirements for the testing environment as a JSON string. See https://tmt.readthedocs.io/en/latest/spec/hardware.html'
required: false
tmt_path:
description: 'A path in the repository with tmt metadata'
required: false
default: '.'
outputs:
request_id:
description: 'An ID of a scheduled testing farm request'
request_url:
description: 'An URL of a scheduled testing farm request'
test_log_url:
description: 'An URL of a scheduled test logs'
runs:
using: node20
main: dist/index.js
post-if: cancelled()
post: dist/index.js