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

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

上级 2b35abf7
......@@ -3,7 +3,7 @@ services:
trainsys-app-web:
image: dstimage
ports:
- "80:80"
- "50100:80"
networks:
- agent_network
environment:
......
......@@ -55,6 +55,34 @@
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
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>
</hudson.tasks.Shell>
</builders>
......
......@@ -55,6 +55,15 @@
"showBusyIndicator" : true,
"id" : "DRTAB"
},
"getPSDEDRTabPages" : [ {
"caption" : "学员信息清单",
"name" : "dritem1",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoStuInfoList.json",
"viewType" : "DEGRIDVIEW"
}
} ],
"modelid" : "fa1370490e24654b68f76899ff0a5688",
"modeltype" : "PSDEDRTAB"
}, {
......
......@@ -1237,6 +1237,25 @@
"showBusyIndicator" : true,
"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,
"modelid" : "fa1370490e24654b68f76899ff0a5688",
"modeltype" : "PSDEDRBAR"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册