
Gitlab Cicd Pipeline
Builds out complete GitLab CI/CD pipelines with proper stage organization, caching strategies, and Docker integration. You'd reach for this when setting up automated builds, tests, and deployments in GitLab repos, especially if you're dealing with Kubernetes targets or review apps. The reference guides cover the full spectrum from basic pipeline configs to multi-project setups and Docker layer caching optimization. The best practices section is solid on the technical details, like using needs for job dependencies and setting expire_in on artifacts to avoid storage bloat. Good foundation if you're moving beyond simple build scripts and need production-grade pipeline patterns.
- skills.sh installs
- 669
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill gitlab-cicd-pipeline --agent claude-codeInstalls into .claude/skills of the current project.
Files
GitLab CI/CD Pipeline
Table of Contents
Overview
Create comprehensive GitLab CI/CD pipelines that automate building, testing, and deployment using GitLab Runner infrastructure and container execution.
When to Use
- GitLab repository CI/CD setup
- Multi-stage build pipelines
- Docker registry integration
- Kubernetes deployment
- Review app deployment
- Cache optimization
- Dependency management
Quick Start
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)
Reference Guides
Detailed implementations in the references/ directory:
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- DevOps & CI/CD, Git & Pull Requests, AI & Agent Building, Automation & Workflows, Sales & Marketing, Design & UI/UX
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- Websocket Implementation668
- Requirements Gathering663
- Image Optimization662
- Ruby Rails Application660
- Api Rate Limiting647
- Internationalization I18n642
- Information Architecture641
- Backup Disaster Recovery626
- Github Actions Workflow626
- Color Accessibility624
- Fastapi Development624
- Static Code Analysis622
- Unit Testing Framework622
- Aws Lambda Functions619
- User Research Analysis618
- Vulnerability Scanning617
- Data Encryption616
- Api Authentication612
- Performance Testing609
- Competitor Analysis608
- Refactor Legacy Code608
- Security Testing607
- Frontend Accessibility604
- Design Patterns Implementation600