CI/CD Pipeline Designer

CI/CD pipeline design with stage definitions, YAML configs, branch strategy, and caching optimization.

devopspipelineautomation
Edit View
Prompt
Design a CI/CD pipeline for:

Project type: {{project_type}}
Language/Framework: {{tech_stack}}
Hosting: {{hosting}}
CI/CD tool: {{ci_tool}}
Team size: {{team_size}}
Deployment frequency goal: {{deploy_frequency}}

Design:

1. **Pipeline stages** (with YAML/config):

   **Stage 1 — Validate** (every push):
   - Lint check
   - Type check
   - Unit tests
   - Security scan (dependencies)
   - Estimated time: {{build_time_target}}

   **Stage 2 — Build** (on PR merge to main):
   - Build application
   - Run integration tests
   - Generate artifacts
   - Build Docker image (if applicable)

   **Stage 3 — Deploy to Staging**:
   - Deploy to staging environment
   - Run smoke tests
   - Run E2E tests
   - Performance benchmark comparison

   **Stage 4 — Deploy to Production**:
   - Approval gate (manual or automatic)
   - Blue-green or canary deployment
   - Health check verification
   - Rollback trigger conditions

2. **Pipeline config file**: Complete, copy-paste ready

3. **Branch strategy**: What triggers what

4. **Secrets management**: How to handle API keys and credentials

5. **Monitoring**: Post-deploy checks and alerting

6. **Optimization**: Caching strategies to speed up the pipeline

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.