Commit e3d2d8d4 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Kazuhiko Shiozaki

runner: update schema for parameters needing instance restart

parent f005215c
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"type": "string" "type": "string"
}, },
"instance-amount": { "instance-amount": {
"description": "number of slappart to deploy inside the runner", "description": "number of slappart to deploy inside the runner. Needs instance to be restarted.",
"type": "integer", "type": "integer",
"default": 10 "default": 10
}, },
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"description": "a relative path from the slapos git repo to a folder containing a software release, which will be automaticaly deployed while the runner instanciation, and only if the parameter auto-deploy is set to 'true'. For example: 'software/helloworld", "description": "a relative path from the slapos git repo to a folder containing a software release, which will be automaticaly deployed while the runner instanciation, and only if the parameter auto-deploy is set to 'true'. For example: 'software/helloworld",
"type": "string" "type": "string"
}, },
"auto-deploy": { "description": "authorizes the software declared with 'slapos-software' to be automatically deployed, or not", "auto-deploy": { "description": "authorizes the software declared with 'slapos-software' to be automatically deployed, or not. Needs instance to be restarted.",
"type": "boolean", "type": "boolean",
"default": "false" "default": "false"
}, },
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
"default": "master" "default": "master"
}, },
"auto-deploy-instance": { "auto-deploy-instance": {
"description": "prevent the runner from deploying and starting instances", "description": "prevent the runner from deploying and starting instances. Needs instance to be restarted.",
"type": "boolean", "type": "boolean",
"default": "true, but is set to false for instances of type 'import' in resiliency" "default": "true, but is set to false for instances of type 'import' in resiliency"
}, },
"autorun": { "autorun": {
"description": "let automaticaly build and run a declared software with 'slapos-software'. Only works if 'slapos-software' is set, and 'auto-deploy' is true", "description": "let automaticaly build and run a declared software with 'slapos-software'. Only works if 'slapos-software' is set, and 'auto-deploy' is true. Needs instance to be restarted.",
"type": "boolean", "type": "boolean",
"default": "false" "default": "false"
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment