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
3cc4bad2
Commit
3cc4bad2
authored
Aug 28, 2021
by
温海元
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add qa-platform-ui
parent
b9d07fcb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
deploy.sh
qa_shell_script/qa_platform_ui/deploy.sh
+1
-14
No files found.
qa_shell_script/qa_platform_ui/deploy.sh
View file @
3cc4bad2
...
@@ -5,21 +5,8 @@ target_ip='172.29.2.3'
...
@@ -5,21 +5,8 @@ target_ip='172.29.2.3'
target_dir
=
"/home/quant_group/
${
project_name
}
"
target_dir
=
"/home/quant_group/
${
project_name
}
"
deploy_dir
=
"/home/quant_group/qa-deploy-utils"
deploy_dir
=
"/home/quant_group/qa-deploy-utils"
qaapi
=
'http://172.30.220.22:3003'
git_path
=
`
curl
-s
"
${
qaapi
}
/proconfig/get_info?system_name=
${
project_name
}
&key=git_path"
`
build_command
=
`
curl
-s
"
${
qaapi
}
/proconfig/get_info?system_name=
${
project_name
}
&key=build_command"
`
cd
${
deploy_dir
}
ssh
${
target_user
}
@
${
target_ip
}
"cd
${
target_dir
}
"
if
[
!
-d
"
$deploy_dir
"
]
;
then
echo
"not exist"
git clone
${
git_path
}
else
echo
"exist"
git pull
fi
ssh
${
target_user
}
@
${
target_ip
}
"cd /home/quant_group/qa-platform-ui "
ssh
${
target_user
}
@
${
target_ip
}
"git pull"
ssh
${
target_user
}
@
${
target_ip
}
"git pull"
ssh
${
target_user
}
@
${
target_ip
}
"npm install"
ssh
${
target_user
}
@
${
target_ip
}
"npm install"
ssh
${
target_user
}
@
${
target_ip
}
"npm run build"
ssh
${
target_user
}
@
${
target_ip
}
"npm run build"
...
...
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