@winner-fed/winner-deploy 3.3.3 → 3.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winner-fed/winner-deploy",
3
- "version": "3.3.3",
3
+ "version": "3.3.6",
4
4
  "description": "Generate a publication deployed by the See platform",
5
5
  "keywords": [
6
6
  "winner",
@@ -29,7 +29,11 @@
29
29
  <variables describe="集群基本参数">
30
30
  <field name="user" label="安装用户" type="input">root</field>
31
31
  <field name="workspace" label="前端安装目录" type="input" tooltip="IAR上存放前端根目录">/usr/local/nginx/html</field>
32
+ <% if (type === "bizframe") { %>
32
33
  <field name="webAppName" label="前端应用名" type="input" tooltip="前端部署完成后访问的站点名称;需要与IAR中的location前端目录名称保持一致">{{ name }}</field>
34
+ <% } else { %>
35
+ <field name="webAppName" label="前端应用名" type="hidden" tooltip="前端部署完成后访问的站点名称;需要与IAR中的location前端目录名称保持一致">{{ name }}</field>
36
+ <% } %>
33
37
 
34
38
  {{ variables }}
35
39
  </variables>
@@ -15,7 +15,7 @@
15
15
  <system id="{{ name }}" type="" name="{{ name }}" mode="cluster" front="">
16
16
  <variables describe="集群基本参数">
17
17
  <field name="user" label="安装用户" type="input">root</field>
18
- <field name="workspace" label="前端安装目录" type="hidden" tooltip="IAR上存放前端目录" >/home/hsiar/hsiar-green/html</field>
18
+ <field name="workspace" label="前端安装目录" tooltip="IAR上存放前端目录" type="input">/html</field>
19
19
 
20
20
  <!-- K8S部署配置 -->
21
21
  <field name="division_k8s" label="K8S部署配置" type="division" fold="false">
@@ -29,7 +29,11 @@
29
29
  <variables describe="集群基本参数">
30
30
  <field name="user" label="安装用户" type="input">root</field>
31
31
  <field name="workspace" label="前端安装目录" type="input" tooltip="IAR上存放前端根目录">/usr/local/nginx/html</field>
32
+ <% if (type === "bizframe") { %>
32
33
  <field name="webAppName" label="前端应用名" type="input" tooltip="前端部署完成后访问的站点名称;需要与IAR中的location前端目录名称保持一致">{{ name }}</field>
34
+ <% } else { %>
35
+ <field name="webAppName" label="前端应用名" type="hidden" tooltip="前端部署完成后访问的站点名称;需要与IAR中的location前端目录名称保持一致">{{ name }}</field>
36
+ <% } %>
33
37
 
34
38
  {{ variables }}
35
39
  </variables>