Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
deploy-project-archive
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 858f9a8b
authored
Feb 02, 2021
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加提前删除包的逻辑
1 parent
9e13d024
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
start.sh
start.sh
View file @
858f9a8
...
@@ -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
\ No newline at end of file
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