CI/CD Pipeline Configuration
Create a complete CI/CD pipeline for automated testing and deployment.
Prompt template
Create a complete CI/CD pipeline configuration for the following project: **Project Details:** - Repository platform: [GitHub Actions/GitLab CI/Jenkins/etc.] - Programming language: [LANGUAGE] - Framework: [FRAMEWORK] - Deployment target: [AWS/GCP/Azure/Kubernetes/etc.] **Pipeline Stages:** 1. **Build:** Compile code and create artifacts 2. **Lint:** Code quality and style checks 3. **Test:** Unit tests, integration tests, E2E tests (parallel where possible) 4. **Security:** Dependency scanning and SAST 5. **Build Image:** Create and push container image 6. **Deploy Staging:** Automatic deployment to staging 7. **Deploy Production:** Manually triggered deployment to production **Additional Requirements:** - Caching strategy for dependencies - Matrix builds for different versions - Secrets management - Notifications on failures (Slack/Email) - Rollback strategy Create the complete YAML configuration with comments.
Replace placeholders in [square brackets]: [GitHub Actions/GitLab CI/Jenkins/etc.][LANGUAGE][FRAMEWORK][AWS/GCP/Azure/Kubernetes/etc.]
How to use this template
Copy the prompt, replace the placeholders in square brackets with your details and paste it into the AI assistant of your choice. The more precise your details, the better the result.
Tips for better results
- Specify your CI/CD platform and deployment target
- Mention special requirements like compliance or approvals
- Ask for optimizations for faster pipeline run times
- Request a rollback strategy for failed deployments
Suitable open models
The selection names current open models as a starting point for your own tests. It is not a measurement for this template.
Keywords: #ci-cd #devops #automation #deployment