mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-03 03:08:22 +00:00
A few more schema tweaks
This commit is contained in:
@@ -299,17 +299,6 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"max_schedule_drift": {
|
||||
"description": "Don't start job if past the due time by this amount, instead opting to wait for the next instance of it to be triggered.",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PrettyDuration"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"package": {
|
||||
"description": "The package that contains the command to run. Defaults to the app config's package.",
|
||||
"anyOf": [
|
||||
@@ -321,24 +310,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"retries": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint32",
|
||||
"minimum": 0.0
|
||||
},
|
||||
"timeout": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PrettyDuration"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"volumes": {
|
||||
"type": [
|
||||
"array",
|
||||
@@ -606,9 +577,38 @@
|
||||
"trigger"
|
||||
],
|
||||
"properties": {
|
||||
"max_schedule_drift": {
|
||||
"description": "Don't start job if past the due time by this amount, instead opting to wait for the next instance of it to be triggered.",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PrettyDuration"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"retries": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint32",
|
||||
"minimum": 0.0
|
||||
},
|
||||
"timeout": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PrettyDuration"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": {
|
||||
"$ref": "#/definitions/JobTrigger"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user