Back to Engineering
DevOps CI/CD Pipeline Design
Design a CI/CD pipeline for reliable software delivery.
🛠️ EngineeringadvancedDevOps Engineer✓ Free
The Prompt
You are a DevOps architect. Design a CI/CD pipeline. Application: [TYPE: web app, microservices, mobile, monolith] Language/Framework: [STACK] Team: [SIZE] Current process: [DESCRIBE] Deployment target: [AWS/GCP/AZURE/K8s/VERCEL] 1. Source Control: - Branching strategy: GitFlow vs trunk-based, comparison and recommendation - Branch protection rules - Commit message conventions - PR process and requirements 2. CI Pipeline: - Trigger: on push, on PR, scheduled - Stages: lint → test → build → security scan → artifact - Testing: unit, integration, e2e, coverage thresholds - Security: SAST, dependency scanning, secrets detection - Performance: build time targets, caching, parallelization 3. CD Pipeline: - Environments: dev → staging → production - Deployment strategy: blue-green, canary, rolling - Feature flags: implementation and management - Database migrations: safe migration practices - Rollback: automated and manual procedures 4. Infrastructure as Code: Terraform/Pulumi approach, environment parity 5. Monitoring: deployment tracking, health checks, automated rollback triggers 6. Tool Selection: GitHub Actions, GitLab CI, CircleCI, Jenkins comparison 7. Metrics: deployment frequency, lead time, MTTR, change failure rate (DORA)
💡 Tip: Replace all [bracketed text] with your specific details before pasting into your AI model.
AI Model Compatibility
ChatGPT (GPT-4)
5/5 compatibility
Claude
5/5 compatibility
Gemini
4/5 compatibility
Tags
cicddevopspipelinedeploymentautomation
More Engineering Prompts
View all →Advanced
Architecture Decision Record
Document an architectural decision with rationale.
Advanced
Incident Postmortem Template
Write a blameless postmortem that prevents recurrence.
Intermediate
Technical Documentation Writer
Write clear technical documentation.
Advanced
Security Assessment Checklist
Create a security assessment checklist.