This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
ci4s
/
ci4sManagement-cloud
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
1
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
修改部署文件部署华为云
pull/142/head
chenzhihang
1 year ago
parent
9b8d3a9221
commit
8f2add0820
1 changed files
with
7 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-4
k8s/build_and_deploy.sh
+ 7
- 4
k8s/build_and_deploy.sh
View File
@@ -3,10 +3,6 @@
#记录开始时间
startTime=$(date +%s)
# 登录到目标环境
baseDir="/data/code/manage-platform"
cd ${baseDir}
#build
# 默认参数
@@ -50,6 +46,13 @@ if [[ ! " ${valid_envs[@]} " =~ " $env " ]]; then
exit 1
fi
git stash
git checkout $branch
# 登录到目标环境
baseDir="/data/code/manage-platform"
cd ${baseDir}
echo "start build"
sh ${baseDir}/k8s/build.sh -b ${branch} -s ${service}
if [ $? -ne 0 ]; then
Write
Preview
Loading…
Cancel
Save