-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yaml
43 lines (43 loc) · 1.04 KB
/
action.yaml
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
name: 'Schema Sync'
description: 'This actions syncs Kusto schemas between databases and folders'
branding:
icon: activity
color: orange
inputs:
mode:
description:
'The mode how the action should work: "diff", "import", "apply".'
required: true
path:
description:
'The base path for all Kusto configurations.'
required: true
cluster:
description:
'The cluster / deployment configuration for the rollout".'
required: true
database:
description: 'The database.'
extract_columns:
description: 'Flag if columns are included for the import.'
required: false
default: 'false'
outputs:
diff:
description: 'The diff for the databases, contains markDown and is_valid in json format'
runs:
using: 'docker'
image: 'ghcr.io/github/KustoSchemaToolsAction:main'
entrypoint: 'dotnet'
args:
- '/app/KustoSchemaCLI.dll'
- '-m'
- ${{ inputs.mode }}
- '-p'
- ${{ inputs.path }}
- '-c'
- ${{ inputs.cluster }}
- '-d'
- ${{ inputs.database }}
- '-i'
- ${{ inputs.extract_columns }}