Commit c158ef75 by tingweiwang

优化增加jenkins选择configmap分支,

1 parent cf8b8b5e
Showing with 2 additions and 2 deletions
#!/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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!