Added json Validation
This commit is contained in:
parent
c654507720
commit
e7ef51ff21
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user