diff --git a/.drone.jsonnet b/.drone.jsonnet index 46bd6ad..b0a9988 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -74,6 +74,38 @@ local manifest() = { ], }; +local manifest() = { + kind: "pipeline", + type: "docker", + name: "validate json", + when: { + event: "push" + }, + + steps: [ + { + name: "validate ucDevices", + image: "fftdf/docker-json-validate", + commands: { + jsonlint ucDevices.json, + }, + when: { + event: "push" + }, + }, + { + name: "validate Devices", + image: "fftdf/docker-json-validate", + commands: { + jsonlint devices.json, + }, + when: { + event: "push" + }, + }, + ], +}; + [ pipeline("linux", "amd64"), // pipeline("linux", "arm64"),