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
a7b1b134
Commit
a7b1b134
authored
Jan 08, 2018
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
0fcb42bd
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
31 deletions
+0
-31
dfas::q
dfas::q
+0
-0
:x
qa_shell_script/base_script/:x
+0
-31
No files found.
dfas::q
deleted
100644 → 0
View file @
0fcb42bd
This diff is collapsed.
Click to expand it.
qa_shell_script/base_script/:x
deleted
100644 → 0
View file @
0fcb42bd
#!/bin/bash
project_name
=
$1
is_public_ip
=
$2
ip
=
$3
pwd_path
=
"/home/qa-deploy-utils/qa_shell_script"
config_shell_path
=
"
$pwd_path
"
config_server
=
"
$pwd_path
/config_server"
project_type
=
`
node
$config_server
/get_project_config.js
-name
$project_name
-attr
type
`
project_path
=
`
cat
$config_server
/project_path.sh
`
config_path
=
`
cat
$config_server
/config_path.sh
`
if
[
-z
"
$project_name
"
]
;
then
echo
"清输入项目名称"
exit
-1
fi
cd
$project_path
/
$project_name
echo
`
pwd
`
if
[
"
$project_type
"
=
"java"
]
;
then
sh
$pwd_path
/base_script/restartJava.sh
$project_name
$config_server
$project_path
$ip
# restartJavaProject $project_name $3
elif
[
"
$project_type
"
=
"node"
]
;
then
sh
$pwd_path
/base_script/restartNode.sh
$project_name
$config_server
$project_path
$ip
# restartNodeProject $project_name $3
elif
[
"
$project_type
"
=
"python"
]
;
then
sh
$pwd_path
/base_script/restartPython.sh
$project_name
$config_server
$project_path
$ip
# restartPythonProject $project_name $3
elif
[
"
$project_type
"
=
"ui"
]
;
then
sh
$pwd_path
/base_script/restartUi.sh
$project_name
$config_server
$project_path
$ip
# restartUiProject $project_name $3
fi
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