Commit 858f9a8b by tingweiwang

增加提前删除包的逻辑

1 parent 9e13d024
Showing with 11 additions and 0 deletions
......@@ -84,6 +84,8 @@ kpl_launcher
echo "开始执行seetaas代码打包"
#build_seetaas
echo "++++++++++++++删除 $base_package_workspace/seetaas-deploy+++++++++++"
rm -rf $base_package_workspace/seetaas-deploy
echo "判断是否收集seetaas-deploy脚本"
if [[ $seetaas_deploy_archive == "true" ]];then
seetaas_deploy
......@@ -91,6 +93,8 @@ else
echo "跳过seetaas-deploy任务"
fi
echo "++++++++++++++删除 $base_package_workspace/configmap-kpl +++++++++++"
rm -rf $base_package_workspace/configmap-kpl
echo "判断是否收集configmap-kpl"
if [[ $configmap_kpl_archive == "true" ]];then
configmap_kpl
......@@ -98,6 +102,9 @@ else
echo "跳过收集configmap-kpl任务"
fi
echo "++++++++++++++删除 $base_package_workspace/images.tar.gz +++++++++++"
rm -rf $base_package_workspace/images.tar.gz
echo "判断是否收集private images"
if [[ $private_images_archive == "true" ]];then
private_img
......@@ -105,9 +112,13 @@ else
echo "跳过收集private images任务"
fi
echo "++++++++++++++删除 $base_package_workspace/debs-apt-1804.tar.gz+++++++++++"
rm -rf $base_package_workspace/debs-apt-1804.tar.gz
echo "判断是否收集private debs"
if [[ $private_apt_debs == "true" ]];then
private_debs
else
echo "跳过收集private debs"
fi
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!