提交 6075a70c 编写于 作者: ibizdev's avatar ibizdev

chitanda 部署微服务应用 [TrainSys,网页端]

上级 2b35abf7
...@@ -3,7 +3,7 @@ services: ...@@ -3,7 +3,7 @@ services:
trainsys-app-web: trainsys-app-web:
image: dstimage image: dstimage
ports: ports:
- "80:80" - "50100:80"
networks: networks:
- agent_network - agent_network
environment: environment:
......
...@@ -55,6 +55,34 @@ ...@@ -55,6 +55,34 @@
git clone -b master $para2 trainsys/ git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/ cd trainsys/
mkdir -p /var/lib/jenkins/appcache/A3064A91-F42D-4D7F-BC1C-4173A4F5772C
if [ -e app_Web/.dynamic ]
then
cd app_Web
else
cd app_Web/app
fi
sed -i "s#dstimage#$para5#g" swarm.yaml
if [[ $para3 = all ]];then
mv Dockerfile-ALL Dockerfile
sed -i "s#/api#/trainsys__web#g" src/environments/environment.ts
sed -i "s#outputDir#//outputDir#g" vue.config.js
yarn
ln -s /var/lib/jenkins/appcache/A3064A91-F42D-4D7F-BC1C-4173A4F5772C node_modules/.cache
yarn build
else
if [ -e .dynamic ]
then
mv ../trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web model
else
mv ../../trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web model
fi
sed -i "s#srcimagename#$para4#g" Dockerfile-MODEL
mv Dockerfile-MODEL Dockerfile
fi
docker build -t $para5 .
docker push $para5
docker -H $para1 stack deploy --compose-file=swarm.yaml ebsx --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -55,6 +55,15 @@ ...@@ -55,6 +55,15 @@
"showBusyIndicator" : true, "showBusyIndicator" : true,
"id" : "DRTAB" "id" : "DRTAB"
}, },
"getPSDEDRTabPages" : [ {
"caption" : "学员信息清单",
"name" : "dritem1",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoStuInfoList.json",
"viewType" : "DEGRIDVIEW"
}
} ],
"modelid" : "fa1370490e24654b68f76899ff0a5688", "modelid" : "fa1370490e24654b68f76899ff0a5688",
"modeltype" : "PSDEDRTAB" "modeltype" : "PSDEDRTAB"
}, { }, {
......
...@@ -1237,6 +1237,25 @@ ...@@ -1237,6 +1237,25 @@
"showBusyIndicator" : true, "showBusyIndicator" : true,
"id" : "DRBAR" "id" : "DRBAR"
}, },
"getPSDEDRBarGroups" : [ {
"caption" : "详细信息",
"name" : "详细信息",
"hidden" : false,
"id" : "DRGroup"
} ],
"getPSDEDRCtrlItems" : [ {
"caption" : "学员信息清单",
"name" : "dritem1",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoStuInfoList.json",
"viewType" : "DEGRIDVIEW"
},
"getPSDEDRBarGroup" : {
"modelref" : true,
"id" : "DRGroup"
}
} ],
"showTitle" : true, "showTitle" : true,
"modelid" : "fa1370490e24654b68f76899ff0a5688", "modelid" : "fa1370490e24654b68f76899ff0a5688",
"modeltype" : "PSDEDRBAR" "modeltype" : "PSDEDRBAR"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册