modules : added environment modifications from configuration file
This commit is contained in:
parent
d636b4fdde
commit
e993c17f89
@ -246,6 +246,13 @@
|
|||||||
'type': 'object',
|
'type': 'object',
|
||||||
'additionalProperties': False,
|
'additionalProperties': False,
|
||||||
'definitions': {
|
'definitions': {
|
||||||
|
'array_of_strings': {
|
||||||
|
'type': 'array',
|
||||||
|
'default': [],
|
||||||
|
'items': {
|
||||||
|
'type': 'string'
|
||||||
|
}
|
||||||
|
},
|
||||||
'dependency_selection': {
|
'dependency_selection': {
|
||||||
'type': 'string',
|
'type': 'string',
|
||||||
'enum': ['None', 'Direct', 'All']
|
'enum': ['None', 'Direct', 'All']
|
||||||
@ -273,7 +280,14 @@
|
|||||||
'prerequisites': {'$ref': '#/definitions/dependency_selection'},
|
'prerequisites': {'$ref': '#/definitions/dependency_selection'},
|
||||||
'environment': {
|
'environment': {
|
||||||
'type': 'object',
|
'type': 'object',
|
||||||
'default': {}
|
'default': {},
|
||||||
|
'additionalProperties': False,
|
||||||
|
'properties': {
|
||||||
|
'set-env': {'$ref': '#/definitions/array_of_strings'},
|
||||||
|
'unset-env': {'$ref': '#/definitions/array_of_strings'},
|
||||||
|
'prepend-path': {'$ref': '#/definitions/array_of_strings'},
|
||||||
|
'append-path': {'$ref': '#/definitions/array_of_strings'}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user