gitlab-ci
Installation
SKILL.md
When to use this skill
Use this skill whenever the user wants to:
- 编写或调试 GitLab CI 流水线 (
.gitlab-ci.yml) - 配置 GitLab Runner、stages、jobs、artifacts
- 设置 GitLab CI/CD 变量、secrets、environments
- 集成测试、构建、部署自动化
How to use this skill
- 流水线结构:YAML 中定义
stages、jobs;每个 job 属于某个 stage。 - Runner 配置:shared runner、specific runner、tags 选择。
- Artifacts 与缓存:在 jobs 间传递构建产物,使用 cache 加速。
- 环境与部署:使用
environment定义部署目标,配置only/except规则。