提交 975af4e9 编写于 作者: sq3536's avatar sq3536

init

上级 6ebc63cd
......@@ -76,7 +76,7 @@ services:
<#if dockerimage!=''>
image: ${dockerimage}
<#else>
image: registry.cn-shanghai.aliyuncs.com/ibizsys/${pub.getCodeName()?lower_case}-boot:latest
image: dstimage
</#if>
ports:
- "${httpPort}:${httpPort}"
......
......@@ -148,6 +148,8 @@ TARGET=PSSYSTEM
<#if sysrun.getRunMode() == "STARTMSAPI">
<#if depapi.getUserParam("dockerimage","")?? && depapi.getUserParam("dockerimage","")!="">
cd ${pub.getCodeName()?lower_case}-boot
sed -i "s#dstimage#$para5#g" pom.xml
sed -i "s#dstimage#$para5#g" src/main/docker/${pub.getCodeName()?lower_case}-boot-${pub.getPSSysServiceAPI().getCodeName()?lower_case}.yaml
docker -H $para1 stack deploy --compose-file=src/main/docker/${pub.getCodeName()?lower_case}-boot-${pub.getPSSysServiceAPI().getCodeName()?lower_case}.yaml ${depplatform.getName()} --with-registry-auth
<#else>
cd ${pub.getCodeName()?lower_case}-boot
......@@ -161,7 +163,9 @@ TARGET=PSSYSTEM
mvn package -Pboot
<#if pub.getPSDeployCenter().getCDType()?? && (pub.getPSDeployCenter().getCDType()=="SWARM") >
cd ${pub.getCodeName()?lower_case}-boot
<#if depapi.getUserParam("multiplatform","")?? && depapi.getUserParam("multiplatform","")=="true">
sed -i "s#dstimage#$para5#g" pom.xml
sed -i "s#dstimage#$para5#g" src/main/docker/${pub.getCodeName()?lower_case}-boot-${pub.getPSSysServiceAPI().getCodeName()?lower_case}.yaml
<#if depapi.getUserParam("multiplatform","")?? && depapi.getUserParam("multiplatform","")=="true">
mvn -Pboot exec:exec@prepare
mvn -Pboot exec:exec@buildpush
<#else>
......@@ -171,7 +175,9 @@ TARGET=PSSYSTEM
docker -H $para1 stack deploy --compose-file=src/main/docker/${pub.getCodeName()?lower_case}-boot-${pub.getPSSysServiceAPI().getCodeName()?lower_case}.yaml ${depplatform.getName()} --with-registry-auth
<#elseif pub.getPSDeployCenter().getCDType()?? && (pub.getPSDeployCenter().getCDType()=="K8S") >
cd ${pub.getCodeName()?lower_case}-boot
<#if depapi.getUserParam("multiplatform","")?? && depapi.getUserParam("multiplatform","")=="true">
sed -i "s#dstimage#$para5#g" pom.xml
sed -i "s#dstimage#$para5#g" src/main/docker/${pub.getCodeName()?lower_case}-boot-${pub.getPSSysServiceAPI().getCodeName()?lower_case}-k8s.yaml
<#if depapi.getUserParam("multiplatform","")?? && depapi.getUserParam("multiplatform","")=="true">
mvn -Pboot exec:exec@prepare
mvn -Pboot exec:exec@buildpush
<#else>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册