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

  1. 流水线结构:YAML 中定义 stagesjobs;每个 job 属于某个 stage。
  2. Runner 配置:shared runner、specific runner、tags 选择。
  3. Artifacts 与缓存:在 jobs 间传递构建产物,使用 cache 加速。
  4. 环境与部署:使用 environment 定义部署目标,配置 only/except 规则。

Best Practices

Installs
21
GitHub Stars
1
First Seen
Jun 7, 2026
gitlab-ci — full-statck-skills/devops-skills