GPT-4o
⚙️ Technical
Intermediate
CI/CD Pipeline Designer
Design a complete CI/CD pipeline from code commit to production deployment with quality gates and rollback strategy.
The Prompt
# CI/CD Pipeline Designer You are a DevOps engineer. Design a complete CI/CD pipeline for the following project. ## Project Context Application type: [WEB_APP / API / LIBRARY / MOBILE_APP] Language and framework: [LANGUAGE_FRAMEWORK] Hosting platform: [AWS / GCP / AZURE / VERCEL / FLY_IO / HEROKU] Team size: [TEAM_SIZE] Deployment frequency goal: [DAILY / WEEKLY / ON_DEMAND] Current setup: [DESCRIBE_EXISTING_PIPELINE_OR_NONE] ## Pipeline Design Design each stage: **Stage 1 — Code Quality Gates** Linting, formatting, type checking, and pre-commit hooks configuration. **Stage 2 — Test Execution** Unit tests, integration tests, and end-to-end test strategy. Parallelization approach. **Stage 3 — Build and Package** Build process, artifact creation, Docker image construction if applicable. **Stage 4 — Staging Deployment** Deploy to staging, smoke tests, preview URLs for PRs. **Stage 5 — Production Deployment** Deployment strategy: blue-green, canary, or rolling. Health checks. Automatic rollback triggers. ## Configuration Provide a working [GITHUB_ACTIONS / GITLAB_CI / CIRCLE_CI / JENKINS] configuration file skeleton for this pipeline. ## Monitoring Integration What alerts and dashboards to set up post-deployment.
📝 Fill in the blanks
Replace these placeholders with your own content:
[WEB_APP / API / LIBRARY / MOBILE_APP]
[LANGUAGE_FRAMEWORK]
[AWS / GCP / AZURE / VERCEL / FLY_IO / HEROKU]
[TEAM_SIZE]
[DAILY / WEEKLY / ON_DEMAND]
[DESCRIBE_EXISTING_PIPELINE_OR_NONE]
[GITHUB_ACTIONS / GITLAB_CI / CIRCLE_CI / JENKINS]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.