Added json Validation

This commit is contained in:
Stefan Hoffmann 2021-02-06 17:57:09 +01:00
parent c654507720
commit e7ef51ff21

View File

@ -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", "amd64"),
// pipeline("linux", "arm64"), // pipeline("linux", "arm64"),