Skip to main content

Cicd Pipeline Setup

Build CI/CD pipeline with automated testing, building, deployment, rollback capability, and deployment gates.

Complexity: Complex | Duration: 30m+ | Category: Devops

Tags: infrastructure cicd deployment automation

Workflow Diagram

Steps

Step 1: Pipeline design

Agent: devops

engineer - Define stages (test, build, deploy)

Step 2: CI configuration

Agent: devops

engineer - Configure GitHub Actions/GitLab CI/Jenkins

Step 3: Test stage

Agent: testing

specialist - Run unit, integration, e2e tests

Step 4: Build stage

Agent: devops

engineer - Build Docker image, tag with commit SHA

Step 5: Push to registry

Agent: devops

engineer - Push to Docker Hub/GCR/ECR

Step 6: Deploy to staging

Agent: devops

engineer - Auto-deploy to staging environment

Step 8: Deploy to production

Agent: devops

engineer - Blue-green or canary deployment

Usage

To execute this workflow:

/workflow devops/cicd-pipeline-setup.workflow

See other workflows in this category for related automation patterns.