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 93229fbf
authored
Mar 10, 2021
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update start.sh
1 parent
f7505d8d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
start.sh
start.sh
View file @
93229fb
...
@@ -37,7 +37,7 @@ echo "清空seetaas旧的工作空间"
...
@@ -37,7 +37,7 @@ echo "清空seetaas旧的工作空间"
rm -rf
$seetaas_workspace
rm -rf
$seetaas_workspace
echo
"为后端创建src目录"
echo
"为后端创建src目录"
test
-d
$seetaas_workspace
/src
||
mkdir
$seetaas_workspace
/src/ -pv
test
-d
$seetaas_workspace
/src
||
mkdir
$seetaas_workspace
/src/ -pv
echo
"拉取
autodl-core代码,并且编译"
echo
"拉取
$autodl_core_branch
分支的
autodl-core代码,并且编译"
git clone -b
$autodl_core_branch
git@gitlab.seetatech.com:autodl.com/autodl-core.git
$seetaas_workspace
/src/autodl-core
&&
cd
$seetaas_workspace
/src/autodl-core/
&&
export
GOPATH
=
$seetaas_workspace
&&
sed_proxy
&&
make build
mode
=
dev
||
echo
"重新尝试"
&&
make build
mode
=
dev
git clone -b
$autodl_core_branch
git@gitlab.seetatech.com:autodl.com/autodl-core.git
$seetaas_workspace
/src/autodl-core
&&
cd
$seetaas_workspace
/src/autodl-core/
&&
export
GOPATH
=
$seetaas_workspace
&&
sed_proxy
&&
make build
mode
=
dev
||
echo
"重新尝试"
&&
make build
mode
=
dev
}
}
...
@@ -47,28 +47,25 @@ git clone -b $kpl_frontend_branch git@gitlab.seetatech.com:seetaas/seetaas-v3.g
...
@@ -47,28 +47,25 @@ git clone -b $kpl_frontend_branch git@gitlab.seetatech.com:seetaas/seetaas-v3.g
}
}
kpl_backend
(){
kpl_backend
(){
echo
"拉
取master
分支 seetaas-backend代码,并且编译"
echo
"拉
$kpl_backend_branch
分支 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
}
}
kpl_stream
(){
kpl_stream
(){
echo
"拉取
master
分支 kpl-stream代码,并且编译"
echo
"拉取
$kpl_stream_branch
分支 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
(){
echo
"拉取
master
分支 kpl-launcher代码,并且编译"
echo
"拉取
$kpl_launcher_branch
分支 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
(){
kpl_iot
(){
echo
"拉取master 分支 kpl-iot代码,并且编译"
echo
"拉取
$kpl_iot_branch
分支的kpl-iot代码,并且编译"
echo
"检查11:
${
11
}
"
echo
"当前分支为:
$kpl_iot_branch
"
echo
"kpl launcher分支为:
$kpl_launcher_branch
"
git clone -b
$kpl_iot_branch
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
git clone -b
$kpl_iot_branch
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
...
@@ -91,10 +88,10 @@ wget https://2019-10-1.oss-cn-huhehaote.aliyuncs.com/private_debs/apt-1804/debs-
...
@@ -91,10 +88,10 @@ wget https://2019-10-1.oss-cn-huhehaote.aliyuncs.com/private_debs/apt-1804/debs-
build_seetaas
(){
build_seetaas
(){
autodl_core
autodl_core
#
kpl_frontend
kpl_frontend
#
kpl_backend
kpl_backend
#
kpl_stream
kpl_stream
#
kpl_launcher
kpl_launcher
kpl_iot
kpl_iot
}
}
echo
$kpl_version
&&
sleep 4
echo
$kpl_version
&&
sleep 4
...
...
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