stages/shell.init: add top-level files property
Add a top level property "files" to the schema and move the rest of the existing schema one level down. This way we can support adding global properties in the future if we ever need to expand the scope of the stage.
This commit is contained in:
parent
eb903a9596
commit
d3229dc929
3 changed files with 70 additions and 58 deletions
|
|
@ -394,25 +394,27 @@
|
|||
{
|
||||
"type": "org.osbuild.shell.init",
|
||||
"options": {
|
||||
"test_env": {
|
||||
"env": [
|
||||
{
|
||||
"key": "VAR",
|
||||
"value": "val"
|
||||
}
|
||||
]
|
||||
},
|
||||
"test_env.2": {
|
||||
"env": [
|
||||
{
|
||||
"key": "ONE",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"key": "TWO",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
"files": {
|
||||
"test_env": {
|
||||
"env": [
|
||||
{
|
||||
"key": "VAR",
|
||||
"value": "val"
|
||||
}
|
||||
]
|
||||
},
|
||||
"test_env.2": {
|
||||
"env": [
|
||||
{
|
||||
"key": "ONE",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"key": "TWO",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,25 +51,27 @@
|
|||
{
|
||||
"type": "org.osbuild.shell.init",
|
||||
"options": {
|
||||
"test_env": {
|
||||
"env": [
|
||||
{
|
||||
"key": "VAR",
|
||||
"value": "val"
|
||||
}
|
||||
]
|
||||
},
|
||||
"test_env.2": {
|
||||
"env": [
|
||||
{
|
||||
"key": "ONE",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"key": "TWO",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
"files": {
|
||||
"test_env": {
|
||||
"env": [
|
||||
{
|
||||
"key": "VAR",
|
||||
"value": "val"
|
||||
}
|
||||
]
|
||||
},
|
||||
"test_env.2": {
|
||||
"env": [
|
||||
{
|
||||
"key": "ONE",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"key": "TWO",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue