提交 1835f782 authored 作者: 刘旭's avatar 刘旭

修改

上级 573fdb7f
......@@ -15,7 +15,7 @@ server {
}
}
location /semiconductor {
proxy_pass http://semiconductor-system:8090;
location /integrate {
proxy_pass http://integrate-system:8090;
}
}
\ No newline at end of file
......@@ -2,14 +2,14 @@ import os, sys
import zipfile
import shutil
cmd = "git clone http://192.168.2.95:8090/xuxu/SEMI \t\n"
cmd += "cd SEMI \t\n"
cmd = "git clone http://192.168.0.27:8090/xuxu/integrate-admin \t\n"
cmd += "cd integrate \t\n"
cmd += "yarn install\t\n"
cmd += "yarn run build\t\n"
cmd += "docker build -t semi-portal .\t\n"
cmd += "docker tag semi-portal 192.168.2.141:5000/semi-portal\t\n"
cmd += "docker push 192.168.2.141:5000/semi-portal\t\n"
cmd += "docker build -t integrate-portal .\t\n"
cmd += "docker tag integrate-portal 192.168.0.26:5000/integrate-portal\t\n"
cmd += "docker push 192.168.0.26:5000/integrate-portal\t\n"
cmd += "cd .. \t\n"
cmd += "rm -r -f SEMI \t\n"
cmd += "rm -r -f integrate \t\n"
os.system(cmd)
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论