add Drone validation
This commit is contained in:
parent
740537224c
commit
10aae586b9
17
drone.yml
Normal file
17
drone.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: validate-json
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: validate ucDevices.json
|
||||||
|
image: fftdf/docker-json-validate
|
||||||
|
commands:
|
||||||
|
- jsonlint ucDevices.json
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
|
||||||
|
- name: validate Devices.json
|
||||||
|
image: fftdf/docker-json-validate
|
||||||
|
commands:
|
||||||
|
- jsonlint devices.json
|
||||||
|
when:
|
||||||
|
event: push
|
Loading…
Reference in New Issue
Block a user