jx/internal/resource/schemas/command.schema.json
Matthew Rich bcf4e768ff
Some checks are pending
Lint / golangci-lint (push) Waiting to run
Declarative Tests / test (push) Waiting to run
Declarative Tests / build-fedora (push) Waiting to run
Declarative Tests / build-ubuntu-focal (push) Waiting to run
Fix an issue with the package resource where a missing package would cause a fatal error
WIP: add support container image build using local filesytem contexts or contextes generated from resource definitions
WIP: added support for the create command in the exec resource
Fix a type matching error in `types` package use of generics
2024-07-22 15:03:22 -07:00

32 lines
654 B
JSON

{
"$id": "command.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "command",
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "command path",
"minLength": 1
},
"args": {
"type": "array",
"description": "list of command args",
"items": {
"type": "string"
}
},
"split": {
"type": "boolean",
"description": "split command line args by space"
},
"failonerror": {
"type": "boolean",
"description": "Generate an error if the command fails",
"items": {
"type": "string"
}
}
}
}