mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 21:05:22 +00:00
85 lines
2.5 KiB
JSON
85 lines
2.5 KiB
JSON
|
|
{
|
||
|
|
"type": "object",
|
||
|
|
"description": "Environment variable overrides.",
|
||
|
|
"title": "EnvironmentOverrides",
|
||
|
|
"not": {
|
||
|
|
"$comment": "List of environment variables that are not allowed to be overridden.",
|
||
|
|
"anyOf": [
|
||
|
|
{
|
||
|
|
"required": [
|
||
|
|
"CONFIG_PATH"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"patternProperties": {
|
||
|
|
"^[a-zA-Z0-9_-]+$": {
|
||
|
|
"oneOf": [
|
||
|
|
{
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"type": {
|
||
|
|
"const": "token"
|
||
|
|
},
|
||
|
|
"value": {
|
||
|
|
"$ref": "./shared.json#/definitions/Token"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"type",
|
||
|
|
"value"
|
||
|
|
],
|
||
|
|
"additionalProperties": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"type": {
|
||
|
|
"const": "string"
|
||
|
|
},
|
||
|
|
"value": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"type",
|
||
|
|
"value"
|
||
|
|
],
|
||
|
|
"additionalProperties": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"type": {
|
||
|
|
"const": "number"
|
||
|
|
},
|
||
|
|
"value": {
|
||
|
|
"type": "number"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"type",
|
||
|
|
"value"
|
||
|
|
],
|
||
|
|
"additionalProperties": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"type": {
|
||
|
|
"const": "boolean"
|
||
|
|
},
|
||
|
|
"value": {
|
||
|
|
"type": "boolean"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"type",
|
||
|
|
"value"
|
||
|
|
],
|
||
|
|
"additionalProperties": false
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|