gitlab-cicd-pipeline by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill gitlab-cicd-pipeline创建全面的 GitLab CI/CD 流水线,利用 GitLab Runner 基础设施和容器执行,自动化构建、测试和部署过程。
最小工作示例:
# .gitlab-ci.yml
image: node:18-alpine
variables:
DOCKER_DRIVER: overlay2
FF_USE_FASTZIP: "true"
stages:
- lint
- test
- build
- security
- deploy-review
- deploy-prod
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
- .npm/
lint:
stage: lint
script:
- npm install
// ... (完整实现请参阅参考指南)
references/ 目录下的详细实现:
| 指南 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 内容 |
|---|
| 完整流水线配置 | 完整流水线配置 |
| GitLab Runner 配置 | GitLab Runner 配置 |
| Docker 层缓存优化 | Docker 层缓存优化 |
| 多项目流水线 | 多项目流水线 |
| Kubernetes 部署 | Kubernetes 部署、性能测试阶段、带语义版本控制的发布流水线 |
only 和 except 实现条件执行needs: 处理作业依赖关系expire_in 清理制品only: [main]每周安装数
168
代码仓库
GitHub 星标数
116
首次出现
2026年1月21日
安全审计
安装于
opencode143
gemini-cli137
codex135
claude-code124
cursor121
github-copilot120
Create comprehensive GitLab CI/CD pipelines that automate building, testing, and deployment using GitLab Runner infrastructure and container execution.
Minimal working example:
# .gitlab-ci.yml
image: node:18-alpine
variables:
DOCKER_DRIVER: overlay2
FF_USE_FASTZIP: "true"
stages:
- lint
- test
- build
- security
- deploy-review
- deploy-prod
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
- .npm/
lint:
stage: lint
script:
- npm install
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Complete Pipeline Configuration | Complete Pipeline Configuration |
| GitLab Runner Configuration | GitLab Runner Configuration |
| Docker Layer Caching Optimization | Docker Layer Caching Optimization |
| Multi-Project Pipeline | Multi-Project Pipeline |
| Kubernetes Deployment | Kubernetes Deployment, Performance Testing Stage, Release Pipeline with Semantic Versioning |
only and exceptneeds: for job dependenciesexpire_inonly: [main] without proper controlsWeekly Installs
168
Repository
GitHub Stars
116
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode143
gemini-cli137
codex135
claude-code124
cursor121
github-copilot120
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
114,200 周安装
后端测试完整指南:从单元测试到API测试,掌握自动化测试最佳实践
1 周安装
UI/UX Pro Max:智能设计助手 - 配色、字体、图表、最佳实践一站式数据库
209 周安装
Binance VIP 借贷 API 使用指南 - 获取利率、抵押数据与借贷管理
209 周安装
用户认证系统搭建指南:JWT、OAuth、密码安全与多因素认证完整教程
1 周安装
PostgreSQL 数据库架构设计模板 - Claude 代码模板库,提升数据库设计效率
209 周安装
合规审查工具 - 自动检查业务计划、产品功能、营销活动的法律合规性 | GDPR/CCPA/HIPAA
209 周安装