Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
8ad90a8f
Commit
8ad90a8f
authored
Feb 21, 2017
by
GanSC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2c2941e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
2_get_code_by_type.sh
qa_shell_script/2_get_code_by_type.sh
+0
-6
deploy_project_by_name.sh
qa_shell_script/deploy_project_by_name.sh
+0
-4
No files found.
qa_shell_script/2_get_code_by_type.sh
View file @
8ad90a8f
...
@@ -21,12 +21,6 @@ function getCode()
...
@@ -21,12 +21,6 @@ function getCode()
git pull
git pull
if
[
-n
"
$git_branch
"
]
;
then
if
[
-n
"
$git_branch
"
]
;
then
git checkout
-f
$git_branch
git checkout
-f
$git_branch
if
[
$?
=
0
]
;
then
echo
"checkout branch
$git_branch
is ok"
else
echo
"Fail to checkout branch
$git_branch
"
exit
128
fi
fi
fi
git pull
git pull
else
else
...
...
qa_shell_script/deploy_project_by_name.sh
View file @
8ad90a8f
...
@@ -4,10 +4,6 @@ branch_name=$2
...
@@ -4,10 +4,6 @@ branch_name=$2
public_ip
=
$3
public_ip
=
$3
sh 2_get_code_by_name.sh
$project_name
$branch_name
sh 2_get_code_by_name.sh
$project_name
$branch_name
if
[[
$?
==
128
]]
;
then
echo
"Invalid argument to exit"
exit
fi
sh 3_link_config_file_by_name.sh
$project_name
$public_ip
sh 3_link_config_file_by_name.sh
$project_name
$public_ip
sh 4_build_by_name.sh
$project_name
$public_ip
sh 4_build_by_name.sh
$project_name
$public_ip
sh 5_restart_by_name.sh
$project_name
$public_ip
sh 5_restart_by_name.sh
$project_name
$public_ip
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment