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
4780c3fe
Commit
4780c3fe
authored
Feb 14, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9b566547
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
2_get_code_by_name.sh
qa_shell_script/2_get_code_by_name.sh
+1
-1
2_get_code_by_type.sh
qa_shell_script/2_get_code_by_type.sh
+1
-1
3_link_config_file_by_name.sh
qa_shell_script/3_link_config_file_by_name.sh
+1
-1
3_link_config_file_by_type.sh
qa_shell_script/3_link_config_file_by_type.sh
+1
-1
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+1
-1
4_build_by_type.sh
qa_shell_script/4_build_by_type.sh
+1
-1
51_stop_by_type.sh
qa_shell_script/51_stop_by_type.sh
+1
-1
5_restart_by_name.sh
qa_shell_script/5_restart_by_name.sh
+1
-1
5_restart_by_type.sh
qa_shell_script/5_restart_by_type.sh
+1
-1
qa_shell_path.sh
qa_shell_script/config_server/qa_shell_path.sh
+1
-1
sub_shell.sh
qa_shell_script/sub_shell.sh
+1
-1
No files found.
qa_shell_script/2_get_code_by_name.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project_name
=
$1
project_name
=
$1
git_branch
=
$2
git_branch
=
$2
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
...
...
qa_shell_script/2_get_code_by_type.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project_type
=
$1
project_type
=
$1
git_branch
=
$2
git_branch
=
$2
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
...
...
qa_shell_script/3_link_config_file_by_name.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project
=
$1
project
=
$1
is_public_ip
=
$2
is_public_ip
=
$2
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
...
...
qa_shell_script/3_link_config_file_by_type.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project_type
=
$1
project_type
=
$1
is_public_ip
=
$2
is_public_ip
=
$2
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
...
...
qa_shell_script/4_build_by_name.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project_name
=
$1
project_name
=
$1
is_public_ip
=
$2
is_public_ip
=
$2
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
project_type
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
type
`
project_type
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
type
`
...
...
qa_shell_script/4_build_by_type.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project_type
=
$1
project_type
=
$1
is_public_ip
=
$2
is_public_ip
=
$2
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
...
...
qa_shell_script/51_stop_by_type.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project_type
=
$1
project_type
=
$1
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
...
...
qa_shell_script/5_restart_by_name.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project_name
=
$1
project_name
=
$1
is_public_ip
=
$2
is_public_ip
=
$2
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_shell_path
=
"
$pwd_path
"
config_shell_path
=
"
$pwd_path
"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_type
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
type
`
project_type
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
type
`
...
...
qa_shell_script/5_restart_by_type.sh
View file @
4780c3fe
#!/bin/bash
#!/bin/bash
project_type
=
$1
project_type
=
$1
is_public_ip
=
$2
is_public_ip
=
$2
pwd_path
=
"/home/qa_shell_script"
pwd_path
=
"/home/qa
-deploy-utils/qa
_shell_script"
config_shell_path
=
"
$pwd_path
"
config_shell_path
=
"
$pwd_path
"
config_server
=
"
$pwd_path
/config_server"
config_server
=
"
$pwd_path
/config_server"
project_path
=
`
cat
$config_server
/project_path.sh
`
project_path
=
`
cat
$config_server
/project_path.sh
`
...
...
qa_shell_script/config_server/qa_shell_path.sh
View file @
4780c3fe
/home/qa_shell_script
/home/qa-deploy-utils/qa_shell_script
\ No newline at end of file
\ No newline at end of file
qa_shell_script/sub_shell.sh
View file @
4780c3fe
...
@@ -4,7 +4,7 @@ public_ip="139.198.2.95"
...
@@ -4,7 +4,7 @@ public_ip="139.198.2.95"
mkdir
/home/sub_config_file_dont_rm
mkdir
/home/sub_config_file_dont_rm
for
ip_last_num
in
12 13 14 15 16 17 151
for
ip_last_num
in
12 13 14 15 16 17
24
151
do
do
cd
/home/sub_config_file_dont_rm
cd
/home/sub_config_file_dont_rm
mkdir
${
IP_host_first
}${
ip_last_num
}
mkdir
${
IP_host_first
}${
ip_last_num
}
...
...
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