Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
sumeiqiao
Project
Project
Details
Activity
Releases
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
xuchentao
sumeiqiao
Commits
b428809f
Commit
b428809f
authored
Jul 23, 2026
by
xuchentao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: target production runner by tag
parent
4baa296e
Pipeline
#407
failed with stages
in 2 minutes and 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
.gitlab-ci.yml
.gitlab-ci.yml
+9
-0
No files found.
.gitlab-ci.yml
View file @
b428809f
...
...
@@ -9,6 +9,7 @@
# - 不使用 resource_group
# - 不使用 cache:policy
# 仅使用 only、stages、script、when 等基础语法。
# Runner 注册时请使用标签:sumeiqiao-prod
variables
:
DEPLOY_ROOT
:
"
/root/sumeiqiao"
...
...
@@ -34,6 +35,8 @@ stages:
# ── 1. 准备独立 release ───────────────────────────────
prepare
:
stage
:
prepare
tags
:
-
sumeiqiao-prod
only
:
-
main
script
:
...
...
@@ -57,6 +60,8 @@ prepare:
# release 尚未启用,安装失败不会影响线上服务,也不需要占用 CMS 构建锁。
install
:
stage
:
install
tags
:
-
sumeiqiao-prod
only
:
-
main
script
:
...
...
@@ -72,6 +77,8 @@ install:
# 常规失败会在锁内自动恢复上一成功版本。
deploy
:
stage
:
deploy
tags
:
-
sumeiqiao-prod
only
:
-
main
script
:
...
...
@@ -87,6 +94,8 @@ deploy:
# when: always 用于输出最终状态;生产健康检查和自动回退已经在 deploy 的共享锁内完成。
verify
:
stage
:
verify
tags
:
-
sumeiqiao-prod
only
:
-
main
when
:
always
...
...
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