-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
61 lines (61 loc) · 2.73 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
name: 'VMware Image Builder'
description: 'VMware Image Builder packages, verifies and publishes cloud native Open Source Software.'
inputs:
config:
description: 'Location of the VIB pipeline and all related content, eg. Cypress tests, jmeter configuration, etc.'
required: false
default: '.vib'
path:
description: 'The location of the content that needs to be processed by VIB, e.g. Helm chart, Carvel package, etc.'
require: false
default: '/'
pipeline:
description: 'Pipeline that will be run through VIB. This path is relative to the config folder.'
required: false
default: 'vib-pipeline.json'
upload-artifacts:
description: 'Specifies whether the GitHub Action will publish logs and reports as GitHub artifacts.'
required: false
default: true
retry-count:
description: 'Number of retries to do in case of failure reaching out to VIB.'
required: false
default: 3
backoff-intervals:
description: 'Integer or array of integers that define the backoff intervals. When providing an integer, all retries will back off for the same amount of time. When input is an array the action will try to use the corresponding backoff time for the given retry, e.g. first time 5 seconds, second time 10 seconds, etc. If the array is shorter than the number of retries, then the last backoff interval will be used for overflowing attempts.'
required: false
default: '[5000, 10000, 15000]'
only-upload-on-failure:
description: It sets whether the GitHub Action should upload artifacts for every task or only for those tasks that have failed.
required: false
default: true
http-timeout:
description: 'Number of seconds the GitHub Action waits for an HTTP timeout before failing.'
required: false
default: '120000'
verification-mode:
description: 'When specified, this GitHub Action will request VIB to execute the pipeline in the requested verification mode. Possible values: SERIAL, PARALLEL.'
required: false
default: PARALLEL
max-pipeline-duration:
description: 'Maximum time for a pipeline execution to be completed. The value should be in seconds.'
required: false
default: '5400'
execution-graph-check-interval:
description: 'Interval between execution graph state checks. The value shoud be in seconds.'
required: false
default: '30'
runtime-parameters-file:
description: 'File with the runtime parameters'
required: false
outputs:
execution-graph:
description: 'Execution graph result from submitting the pipeline.'
result:
description: 'The resulting report from the execution graph with tasks executed and their statuses.'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'command'
color: 'green'