Commit 858f9a8b by tingweiwang

增加提前删除包的逻辑

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