You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.4 KiB
64 lines
1.4 KiB
6 months ago
|
{
|
||
|
"name": "/nervui/nervui-mobile-application",
|
||
|
"version": 1,
|
||
|
"inputs": [
|
||
|
{
|
||
|
"name": "server_ip",
|
||
|
"type": "string",
|
||
|
"required": true,
|
||
|
"description": "应用安装IP地址",
|
||
|
"inputType": "ipSelectType"
|
||
|
},
|
||
|
{
|
||
|
"name": "version",
|
||
|
"type": "string",
|
||
|
"required": true,
|
||
|
"description": "软件版本",
|
||
|
"inputType": "versionSelectType"
|
||
|
},
|
||
|
{
|
||
|
"name": "install_dir",
|
||
|
"type": "string",
|
||
|
"required": true,
|
||
|
"defaultValue": "/data",
|
||
|
"inputType": "textInputType",
|
||
|
"description": "安装目录"
|
||
|
}
|
||
|
],
|
||
|
"nodes": [
|
||
|
{
|
||
|
"name": "nervui-mobile-application",
|
||
|
"type": "/nerv/nerv-orchestrator/cluster/Nervui",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"name": "file_repository",
|
||
|
"value": "${nerv_file_repository}"
|
||
|
},
|
||
|
{
|
||
|
"name": "install_dir",
|
||
|
"value": "${install_dir}"
|
||
|
},
|
||
|
{
|
||
|
"name": "pkg_url",
|
||
|
"value": "/api/pkg/nerv/nervui-mobile-application/${version}/nervui-mobile-application-${version}.tgz"
|
||
|
}
|
||
|
],
|
||
|
"dependencies": [
|
||
|
{
|
||
|
"type": "contained",
|
||
|
"target": "host"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "host",
|
||
|
"type": "/nerv/nerv-orchestrator/compute/Host",
|
||
|
"parameters": [
|
||
|
{
|
||
|
"name": "address",
|
||
|
"value": "${server_ip}"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|