Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
antai-sport-http-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
antai-sport
antai-sport-http-server
Commits
74a89d1a
Commit
74a89d1a
authored
Apr 25, 2022
by
liming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加流水线部署脚本
parent
1f93e5c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
deploy-mobile-api.sh
deploy/deploy-mobile-api.sh
+3
-4
No files found.
deploy/deploy-mobile-api.sh
View file @
74a89d1a
#!/bin/bash
# 修改APP_NAME为云效上的应用名
APP_NAME
=
test-aliyun
APP_NAME
=
antai-sport-http-server-mobile-api
PROG_NAME
=
$0
ACTION
=
$1
BASE_HOME
=
/
aliyuntes
t
BASE_HOME
=
/
usr/local/project/mobile-api/mobile-api/targe
t
APP_START_TIMEOUT
=
30
# 等待应用启动的时间
APP_PORT
=
808
5
# 应用端口
APP_PORT
=
808
0
# 应用端口
HEALTH_CHECK_URL
=
http://127.0.0.1:
${
APP_PORT
}
# 应用健康检查URL
JAR_NAME
=
${
BASE_HOME
}
/
${
APP_NAME
}
.jar
# jar包的名字
...
...
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