Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@chainguard.dev>
  • Loading branch information
xnox committed Apr 23, 2024
1 parent 78bc65a commit f611e9a
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions pkg/config/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -717,19 +717,7 @@
"Scriptlets": {
"properties": {
"trigger": {
"properties": {
"script": {
"type": "string"
},
"paths": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"$ref": "#/$defs/Trigger",
"description": "Optional: A script to run on a custom trigger"
},
"pre-install": {
Expand Down Expand Up @@ -840,6 +828,23 @@
"pipeline"
]
},
"Trigger": {
"properties": {
"script": {
"type": "string",
"description": "Optional: The script to run"
},
"paths": {
"items": {
"type": "string"
},
"type": "array",
"description": "Optional: The list of paths to monitor to trigger the script"
}
},
"additionalProperties": false,
"type": "object"
},
"Update": {
"properties": {
"enabled": {
Expand Down

0 comments on commit f611e9a

Please sign in to comment.