Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
auto-update-configmap
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 c158ef75
authored
Mar 24, 2021
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化增加jenkins选择configmap分支,
1 parent
cf8b8b5e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
update_configmap.sh
update_configmap.sh
View file @
c158ef7
#!/bin/bash
branch
=
master
configmap_branch
=
$1
seetaas_deploy_workspace
=
/root/seetaas-deploy
echo
"开始判断configmap-kpl目录是否在目标位置"
sleep 3
...
...
@@ -10,7 +10,7 @@ rm -rf /root/configmap-kpl
fi
echo
"#################下载新版本的configmap配置模板#################"
sleep 3
git clone -b
$branch
git@gitlab.seetatech.com:tingweiwang/configmap-kpl.git /root/configmap-kpl
git clone -b
$
configmap_
branch
git@gitlab.seetatech.com:tingweiwang/configmap-kpl.git /root/configmap-kpl
echo
"###########执行ansible roles渲染configmap配置文件#############"
cd
$seetaas_deploy_workspace
&&
sh script/feature/update-config.sh ksy
#该脚本调用三个roles,包括修改及创建kpl autodl的configmap模板。以及批量修改Makefile
...
...
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