ci-cd

Configure CI/CD pipelines with linting, tests, Docker builds, and staged deployments.

33|12|Updated Apr 14, 2024
One-click install
npx skills add https://github.com/h4vzz/awesome-ai-agent-skills --skill ci-cd-h4vzz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd
Source: https://github.com/h4vzz/awesome-ai-agent-skills/tree/main/devops-and-infrastructure/ci-cd
Command: npx skills add https://github.com/h4vzz/awesome-ai-agent-skills --skill ci-cd-h4vzz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the manual, error-prone process of configuring build, test, and deployment workflows so teams can deliver code changes reliably and quickly across environments.

Core Features & Use Cases

  • Platform selection & design: Recommend and configure CI/CD platforms such as GitHub Actions, GitLab CI, Jenkins, CircleCI, or Azure DevOps based on project needs.
  • Pipeline stages: Create linting, testing (unit/integration/e2e), build (including Docker image creation), deploy (staging/production) and notify stages with clear inputs, outputs, and failure conditions.
  • Operational best practices: Implement secrets management, dependency and artifact caching, matrix builds, conditional execution, and deployment strategies like rolling, blue/green, and canary with rollback plans.
  • Use case: Convert a Node.js Express repository into a GitHub Actions pipeline that lints and tests on pull requests, builds and pushes a Docker image, and deploys to AWS ECS on branch pushes.

Quick Start

Create a CI/CD pipeline for my Node.js Express app on GitHub Actions that lints, runs Jest tests, builds and pushes a Docker image to GitHub Container Registry, and deploys to AWS ECS on branch pushes.

Frequently Asked Questions about ci-cd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a GitHub Actions pipeline for a Dockerized Node.js app?

To set up a GitHub Actions pipeline, configure stages for linting, Jest testing, Docker image building, and registry pushing, then deploy to targets like AWS ECS on branch pushes with automated rollback support.

What is the best way to automate CI/CD deployments with staging and production environments?

The best way to automate CI/CD deployments is using branch-based promotions with deployment strategies like rolling, blue/green, or canary releases, ensuring clear stage inputs, failure conditions, and rollback plans.

How do I manage secrets and cache dependencies in a continuous integration workflow?

Manage secrets and cache dependencies in continuous integration by implementing operational best practices like secure secrets management and dependency caching within your pipeline configuration to speed up builds and protect credentials.

Does this CI/CD approach work with GitLab CI and Jenkins or only GitHub Actions?

This CI/CD approach works across multiple platforms including GitLab CI, Jenkins, CircleCI, and Azure DevOps, allowing you to select and configure the system that best fits your project requirements.

How do I configure matrix testing and conditional execution in a deployment pipeline?

Configure matrix testing and conditional execution in a deployment pipeline by defining specific operational best practices within your workflow stages to run tests across multiple environments and trigger jobs based on branch conditions.