Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ksyun-CICD-test
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 c4d6578e
authored
May 06, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
1 parent
65742518
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
deploy.sh
deploy.sh
View file @
c4d6578
...
...
@@ -24,21 +24,27 @@ kubectl delete -f k8s_yaml
}
############################################
create_all
()
{
sed_yaml
kubectl apply -f k8s_yaml
recover_yaml
}
##########################################
deploy_test
()
redeploy
()
{
}
delt_all
create_all
}
case
$1
in
test
)
deploy_test
redeploy
)
redeploy
;;
dev
)
deploy_dev
private
)
private
;;
*
)
echo
"please input (
test|dev
)"
echo
"please input (
redeploy|private
)"
esac
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