-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
48 lines (48 loc) · 2.13 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
name: 'run-experiment'
description: 'Runs an experiment and checks the status of the experiment while executing'
inputs:
apiAccessToken:
description: 'Access Token to be used for accessing steadybit API'
required: true
baseURL:
description: 'Base URL of steadybit'
required: false
default: 'https://platform.steadybit.io'
experimentKey:
description: 'Key of the experiment to be executed. Required if you not provide the `externalId` to lookup your experiment.'
required: false
externalId:
description: 'External ID of the experiment to be executed. Alternative to lookup the experiment by `experimentKey`.'
required: false
expectedState:
description: 'The expected state of the experiment after attacks started to mark Action successful'
required: false
default: 'COMPLETED'
expectedReason:
description: 'The expected failure reason of the experiment to mark Action successful'
required: false
default: ''
expectedFailureReason:
deprecationMessage: 'The parameter has been deprecated. Please use `expectedReason` instead.'
description: 'The expected failure reason of the experiment to mark Action successful'
required: false
default: ''
parallel:
description: 'Whether the experiment should be executed although another one is already running'
required: false
default: ''
maxRetries:
description: 'How often the experiment should be retried in case another one is running (only relevant when parallel is set to false)'
required: false
default: '3'
maxRetriesOnExpectationFailure:
description: 'An optional number of retries to attempt when expectedState does not match the actual state'
required: false
default: '0'
delayBetweenRetriesOnExpectationFailure:
description: 'Number of milliseconds to wait between experiment executions when an experiment has to be retried due to expectation failures'
required: false
default: '60000'
runs:
using: 'node20'
main: 'dist/index.js'