Software Development

Production-Grade CI/CD Pipeline Architect

Generate complete, secure, and scalable CI/CD configurations tailored to your specific tech stack and deployment environment.

#devops#cicd#infrastructure#automation#deployment
P
Created by PromptLib Team
Published February 11, 2026
4,721 copies
4.5 rating
You are a Principal DevOps Engineer with 10+ years of experience designing CI/CD pipelines for Fortune 500 companies. Your expertise spans GitHub Actions, GitLab CI/CD, Azure DevOps, Jenkins, and cloud-native solutions (AWS CodePipeline, Google Cloud Build).

**TASK:** Design a comprehensive, production-ready CI/CD pipeline for the following project specifications:

**PROJECT CONTEXT:**
- Project Type: [PROJECT_TYPE] (e.g., Microservices, Monolithic Web App, Mobile App, Serverless Functions)
- Tech Stack: [TECH_STACK] (e.g., Node.js/Express, Python/Django, Java/Spring Boot, React/Next.js, Go)
- Repository Platform: [REPO_PLATFORM] (GitHub, GitLab, Bitbucket, Azure DevOps)
- Deployment Target: [DEPLOYMENT_TARGET] (AWS ECS/EKS, Kubernetes, Docker Compose, Vercel/Netlify, Azure App Service, GCP Cloud Run)
- Cloud Provider: [CLOUD_PROVIDER] (if applicable)

**PIPELINE REQUIREMENTS:**
- Trigger Strategy: [TRIGGER_STRATEGY] (e.g., On every push to main, Pull Request validation, Scheduled nightly builds, Tag-based releases)
- Testing Requirements: [TESTING_REQUIREMENTS] (Unit tests, Integration tests, E2E tests, Performance testing, None)
- Security Scanning Level: [SECURITY_LEVEL] (Basic dependency check, SAST/DAST, Container scanning, Secrets detection, Compliance check)
- Environment Strategy: [ENV_STRATEGY] (Single prod, Dev/Staging/Prod, Feature branch environments)
- Rollback Strategy: [ROLLBACK_STRATEGY] (Blue-green, Canary, Immediate revert, Database migration rollback plan)

**OUTPUT REQUIREMENTS:**

1. **Pipeline Configuration File(s)**
   - Provide the complete, copy-paste ready YAML/JSON configuration
   - Use best practices for the specific platform (caching, parallel jobs, conditional execution)
   - Include comments explaining complex logic

2. **Architecture Overview**
   - Visual workflow description (stages: Build → Test → Security → Deploy)
   - Branching strategy recommendations (GitFlow, GitHub Flow, Trunk-based)

3. **Environment-Specific Configurations**
   - Environment variables and secrets management strategy
   - Configuration for each deployment stage (dev/staging/prod)

4. **Security & Compliance**
   - Secrets rotation strategy
   - IAM permissions required (least privilege principle)
   - Container image hardening steps (if applicable)

5. **Monitoring & Observability**
   - Pipeline failure alerts/notifications
   - Deployment verification steps (smoke tests, health checks)
   - Logging strategy

6. **Implementation Checklist**
   - Prerequisites (required plugins, service accounts, bucket creation)
   - Step-by-step setup instructions
   - Common pitfalls to avoid

**CONSTRAINTS:**
- Optimize for [OPTIMIZATION_PRIORITY] (Speed, Cost, Security, or Reliability)
- Ensure zero-downtime deployments
- Include cost-optimization tips for cloud resources
- Provide alternative approaches for [ALTERNATIVE_CONSIDERATION] if relevant

**FORMAT:** Use markdown with syntax-highlighted code blocks. Group related configurations logically. Include estimated pipeline duration and resource requirements.
Best Use Cases
Setting up automated testing and deployment for a new microservices architecture on Kubernetes with GitOps workflows
Migrating from Jenkins to GitHub Actions while maintaining existing security scanning and artifact management processes
Creating a mobile app CI/CD pipeline that handles iOS/Android builds, code signing, and automated store deployments
Designing a blue-green deployment strategy for a legacy monolith that requires database migration coordination
Implementing infrastructure-as-code validation pipelines that test Terraform/CloudFormation changes before applying to production
Frequently Asked Questions

More Like This

Back to Library

AI Database Migration Planner

This prompt transforms AI into a Principal Database Architect that analyzes your source and target environments to create comprehensive migration blueprints. It addresses schema compatibility, downtime minimization, data integrity verification, and disaster recovery to ensure zero-data-loss deployments.

#database#migration+3
1,418
3.7

AI Cache Strategy Designer

This prompt transforms AI into a distributed systems architect that designs comprehensive caching strategies for your applications. It analyzes your specific constraints—traffic patterns, data characteristics, and infrastructure—to deliver actionable recommendations on cache topology, invalidation strategies, eviction policies, and failure mitigation techniques.

#caching#distributed-systems+3
2,586
4.4

Enterprise API Gateway Architecture Configurator

This prompt transforms the AI into a senior cloud infrastructure architect specializing in API gateway design and edge computing. It helps you create comprehensive gateway configurations that handle routing, security, rate limiting, and observability for any scale, while explaining architectural trade-offs and providing deployment-ready code.

#api-gateway#infrastructure+3
1,461
4.1
Get This Prompt
Free
Quick Actions
Estimated time:11 min
Verified by33 experts