This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
52 lines (50 loc) · 1.48 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
# action.yml
name: 'sesam-node-diff-github-action'
description: 'Download config from Sesam node and compare with local files'
inputs:
download:
description: 'Download config from Sesam node'
required: true
default: true
node:
description: 'Sesam node url. eg "datahub-asdfasdf.sesam.cloud"'
required: true
jwt:
description: 'JWT authorization token created by the Sesam portal'
required: true
config_path_local:
description: 'the path to the local sesam config folder. E.g. from checkout action.'
required: true
default: node
config_path_download:
description: 'the path to the downloaded config folder'
required: true
default: /tmp/node_downloaded
config_group:
description: 'config-group to place the config in. Defaults to "default"'
default: 'Default'
required: true
git_args:
description: 'arguments to pass to git diff'
default: ''
required: false
global_metadata_file_path:
description: 'path to the global metadata file'
required: true
default: "global-metadata.conf.json"
variable_file_path:
description: 'path to the variable file'
required: true
default: "variables/variables.json"
whitelist:
description: 'path to the whitelist file'
required: true
default: "node/deployment/whitelist.txt"
outputs:
status_code: # id of output
description: 'status code returned by service API'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{inputs.git_args}}