Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
deploy-project-archive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 33911060
authored
Mar 10, 2021
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加kpl-iot
1 parent
5d2a1def
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
start.sh
start.sh
View file @
3391106
...
@@ -21,6 +21,15 @@ kpl_backend_branch=$7
...
@@ -21,6 +21,15 @@ kpl_backend_branch=$7
kpl_stream_branch
=
$8
kpl_stream_branch
=
$8
kpl_launcher_branch
=
$9
kpl_launcher_branch
=
$9
kpl_version
=
${
10
}
kpl_version
=
${
10
}
kpl_iot
=
${
11
}
#go_operator_name=${12}
#python_operator_name=${13}
sed_proxy
()
sed_proxy
()
{
{
find
$seetaas_workspace
-maxdepth 3 -type f -name Makefile |xargs sed -i s@go_proxy_server@
$go_proxy_server
@g
find
$seetaas_workspace
-maxdepth 3 -type f -name Makefile |xargs sed -i s@go_proxy_server@
$go_proxy_server
@g
...
@@ -58,6 +67,12 @@ echo "拉取master 分支 kpl-launcher代码,并且编译"
...
@@ -58,6 +67,12 @@ echo "拉取master 分支 kpl-launcher代码,并且编译"
git clone -b
$kpl_launcher_branch
git@gitlab.seetatech.com:tingweiwang/kpl-launcher.git
$seetaas_workspace
/src/kpl-launcher
git clone -b
$kpl_launcher_branch
git@gitlab.seetatech.com:tingweiwang/kpl-launcher.git
$seetaas_workspace
/src/kpl-launcher
}
}
kpl_iot
(){
echo
"拉取master 分支 kpl-iot代码,并且编译"
git clone -b
$kpl_iot
git@gitlab.seetatech.com:seetaas.com/kpl-iot.git
$seetaas_workspace
/src/kpl-iot
&&
cd
$seetaas_workspace
/src/kpl-iot/
&&
export
GOPATH
=
$seetaas_workspace
&&
sed_proxy
&&
make build
mode
=
dev
||
echo
"重新尝试"
&&
rm -rf
$seetaas_workspace
/pkg
&&
make build
mode
=
dev
}
private_img
(){
private_img
(){
wget https://2019-10-1.oss-cn-huhehaote.aliyuncs.com/private_images/images.tar.gz -P
$base_package_workspace
wget https://2019-10-1.oss-cn-huhehaote.aliyuncs.com/private_images/images.tar.gz -P
$base_package_workspace
}
}
...
@@ -79,12 +94,16 @@ kpl_frontend
...
@@ -79,12 +94,16 @@ kpl_frontend
kpl_backend
kpl_backend
kpl_stream
kpl_stream
kpl_launcher
kpl_launcher
kpl_iot
}
}
echo
$kpl_version
&&
sleep 4
echo
$kpl_version
&&
sleep 4
###################################
###################################
echo
"+++++++++++++++删除旧的seetaas项目+++++++++++++++++++++++"
rm -rf
$base_package_workspace
/seetaas
echo
"开始执行seetaas代码打包"
echo
"开始执行seetaas代码打包"
build_seetaas
build_seetaas
echo
"++++++++++++++删除
$base_package_workspace
/seetaas-deploy+++++++++++"
echo
"++++++++++++++删除
$base_package_workspace
/seetaas-deploy+++++++++++"
rm -rf
$base_package_workspace
/seetaas-deploy
rm -rf
$base_package_workspace
/seetaas-deploy
echo
"判断是否收集seetaas-deploy脚本"
echo
"判断是否收集seetaas-deploy脚本"
...
@@ -94,6 +113,7 @@ else
...
@@ -94,6 +113,7 @@ else
echo
"跳过seetaas-deploy任务"
echo
"跳过seetaas-deploy任务"
fi
fi
echo
"++++++++++++++删除
$base_package_workspace
/configmap-kpl +++++++++++"
echo
"++++++++++++++删除
$base_package_workspace
/configmap-kpl +++++++++++"
rm -rf
$base_package_workspace
/configmap-kpl
rm -rf
$base_package_workspace
/configmap-kpl
echo
"判断是否收集configmap-kpl"
echo
"判断是否收集configmap-kpl"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment