Commit dc508fc4 by tingweiwang

Update start.sh

1 parent 871a57ab
Showing with 3 additions and 1 deletions
...@@ -43,13 +43,14 @@ git clone -b $kpl_frontend_branch git@gitlab.seetatech.com:seetaas/seetaas-v3.g ...@@ -43,13 +43,14 @@ git clone -b $kpl_frontend_branch git@gitlab.seetatech.com:seetaas/seetaas-v3.g
kpl_backend(){ kpl_backend(){
echo "拉取master 分支 seetaas-backend代码,并且编译" echo "拉取master 分支 seetaas-backend代码,并且编译"
git clone -b $kpl_backend_branch git@gitlab.seetatech.com:seetaas.com/seetaas-backend.git $seetaas_workspace/src/seetaas-backend && cd $seetaas_workspace/src/seetaas-backend/ && export GOPATH=$seetaas_workspace && sed_proxy && make build -j 7 || echo "重新尝试" && rm -rf $seetaas_workspace/pkg && make build mode=dev git clone -b $kpl_backend_branch git@gitlab.seetatech.com:seetaas.com/seetaas-backend.git $seetaas_workspace/src/seetaas-backend && cd $seetaas_workspace/src/seetaas-backend/ && export GOPATH=$seetaas_workspace && sed_proxy && make build -j 7 || echo "重新尝试" && rm -rf $seetaas_workspace/pkg && make build mode=dev
echo "删除pkg包" && rm -rf $seetaas_workspace/pkg
} }
kpl_stream(){ kpl_stream(){
echo "拉取master 分支 kpl-stream代码,并且编译" echo "拉取master 分支 kpl-stream代码,并且编译"
git clone -b $kpl_stream_branch git@gitlab.seetatech.com:seetaas.com/kpl-stream.git $seetaas_workspace/src/kpl-stream && cd $seetaas_workspace/src/kpl-stream/ && export GOPATH=$seetaas_workspace && sed_proxy && make build mode=dev || echo "重新尝试" && rm -rf $seetaas_workspace/pkg && make build mode=dev git clone -b $kpl_stream_branch git@gitlab.seetatech.com:seetaas.com/kpl-stream.git $seetaas_workspace/src/kpl-stream && cd $seetaas_workspace/src/kpl-stream/ && export GOPATH=$seetaas_workspace && sed_proxy && make build mode=dev || echo "重新尝试" && rm -rf $seetaas_workspace/pkg && make build mode=dev
} }
kpl_launcher(){ kpl_launcher(){
...@@ -121,6 +122,7 @@ if [[ $private_apt_debs == "true" ]];then ...@@ -121,6 +122,7 @@ if [[ $private_apt_debs == "true" ]];then
else else
echo "跳过收集private debs" echo "跳过收集private debs"
fi fi
echo "删除后端pkg" && rm -rf $seetaas_workspace/pkg ||exit 122
echo "打包收集到的数据目录并移动到本机archive目录" echo "打包收集到的数据目录并移动到本机archive目录"
cd $base_package_workspace && tar -cvzf $archive_package_workspace/deploy-$kpl_version-$date.tar.gz ./* cd $base_package_workspace && tar -cvzf $archive_package_workspace/deploy-$kpl_version-$date.tar.gz ./*
echo "将archive的压缩包上传到oss中" echo "将archive的压缩包上传到oss中"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!