Back to catalog

DevOps Pipeline

Complete CI/CD stack — from commit to production. Containerization, orchestration, monitoring, and alerting.

Who This Stack Is For

For DevOps engineers, developers, and team leads who want to build a reliable code delivery pipeline.

What's Included

MCP Servers

GitLab — Git repositories and CI/CD. Pipelines, code reviews, release management, container registry.

Cloudflare — CDN and protection. DNS, SSL certificates, WAF, Workers for edge computing.

Sentry — error monitoring. Exception tracking, performance monitoring, release tracking.

Grafana — metrics visualization. Dashboards, alerts, integration with Prometheus and other data sources.

Skills

Python Developer — automation scripts. CI/CD pipelines, deployment utilities.

Rails Developer — production environment setup. Dockerfile, docker-compose, Procfile.

Agents

Research Agent — best practices research. Configuration analysis, optimal solution discovery.

Test Generator — testing automation. Unit tests, integration tests, e2e.

How to Use

  1. Set up GitLab CI/CD with Claude
  2. Create a Dockerfile and docker-compose.yml
  3. Connect monitoring via Sentry and Grafana
  4. Configure CDN and protection through Cloudflare

Example Prompt

Create a CI/CD pipeline for a Rails application:
- Stages: lint, test, build, deploy
- Docker images with multi-stage builds
- Production deployment via GitLab CI
- Slack notifications on build failure

Pipeline Architecture

Commit → Lint → Test → Build → Deploy → Monitor → Alert
   ↓       ↓       ↓       ↓       ↓        ↓        ↓
 GitLab  RuboCop  RSpec  Docker  GitLab  Sentry   Slack
         ESLint  Jest    Image    CI     Grafana

Typical .gitlab-ci.yml

stages:
  - lint
  - test
  - build
  - deploy

lint:
  stage: lint
  script:
    - bundle exec rubocop
    - yarn lint

test:
  stage: test
  script:
    - bundle exec rspec
    - yarn test

build:
  stage: build
  script:
    - docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA .
    - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA

deploy:
  stage: deploy
  script:
    - ./deploy.sh
  only:
    - main

Results

  • Automatic deployment on every commit to main
  • Containerized application
  • Error and performance monitoring
  • CDN with DDoS protection

Comments (0)

Sign In Sign in to leave a comment.