PromptsVault AI is thinking...
Searching the best prompts from our community
Searching the best prompts from our community
Prompts matching the #ci-cd tag
Visualize CI/CD test results. Layout: 1. Summary cards: Passed, Failed, Flaky, Total Time. 2. Searchable list of test cases with status icons. 3. Modal to view trace logs or screenshots of failed steps. 4. Performance over time chart. 5. Dark/Light mode support. Use DaisyUI's alert and progress components.
Implement zero-downtime deployments with Kubernetes. Setup: 1. Create blue and green deployment manifests with identical specs. 2. Configure service selector to route traffic between environments. 3. Implement health checks and readiness probes. 4. Set up Helm charts for version management. 5. Create CI/CD pipeline with automated testing gates. 6. Add rollback mechanism with previous version retention. 7. Implement traffic splitting for canary testing. 8. Monitor deployment metrics with Prometheus and Grafana. Include namespace isolation and resource quotas.
Design a basic CI/CD pipeline using GitHub Actions for a Python web application. The pipeline should be triggered on a push to the main branch. It should include steps for installing dependencies, running linters, executing unit tests, and deploying the application to a staging environment.
Set up effective CI/CD pipeline. Stages: 1. Source (code commit triggers pipeline). 2. Build (compile, dependency installation). 3. Test (unit, integration, e2e tests). 4. Code Quality (linting, code coverage, SonarQube). 5. Security Scan (dependency vulnerabilities, SAST). 6. Deploy to Staging (automated). 7. Deploy to Production (manual approval or automated). Tools: GitHub Actions, GitLab CI, Jenkins, CircleCI. Use Docker for consistent environments. Parallel jobs for speed. Fail fast. Notifications on failure. Blue-green or canary deployments. Infrastructure as Code (Terraform). Measure: deployment frequency, lead time, MTTR.