-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
34 lines (32 loc) · 1.01 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
name: 'Schema Validation'
description: 'Confluent Cloud schema registry compatibility check'
branding:
icon: 'cloud'
color: 'orange'
inputs:
avro-subject-yaml:
description: 'path to the subject file'
required: false
default: 'schemas.yaml'
avro-files-path:
description: 'path to the schemas folder'
required: false
default: 'src/main/avro'
schema-registry-url:
description: 'url of the schema-registry'
required: true
schema-registry-api-key:
description: 'Confluent API key'
required: true
schema-registry-secret-key:
description: 'Confluent secret key'
required: true
runs:
using: 'docker'
image: 'docker://loicmdivad/ccloud-registry-action:%VERSION%'
env:
AVRO_FILES_PATH: ${{ inputs.avro-files-path }}
AVRO_SUBJECT_YAML: ${{ inputs.avro-subject-yaml }}
SCHEMA_REGISTRY_URL: ${{ inputs.schema-registry-url }}
SCHEMA_REGISTRY_API_KEY: ${{ inputs.schema-registry-api-key }}
SCHEMA_REGISTRY_SECRET_KEY: ${{ inputs.schema-registry-secret-key }}