-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
40 lines (40 loc) · 951 Bytes
/
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
name: 'Execute Rundeck job'
description: 'Execute Rundeck job and get output'
inputs:
rundeck-url:
description: 'Rundeck URL'
required: true
rundeck-token:
description: 'Rundeck Auth Token'
required: true
job-id:
description: 'Rundeck job ID'
required: true
verify-ssl:
description: 'Verify SSL'
default: 'true'
required: false
rundeck-job-options:
description: 'Rundeck job options in json format'
required: false
wait:
description: 'Wait Rundeck job finish and print output'
default: 'true'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- execute-rundeck-job
- --rundeck-url
- ${{ inputs.rundeck-url }}
- --rundeck-token
- ${{ inputs.rundeck-token }}
- --job-id
- ${{ inputs.job-id }}
- --verify-ssl
- ${{ inputs.verify-ssl }}
- --options
- ${{ inputs.rundeck-job-options }}
- --wait
- ${{ inputs.wait }}