본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)48k · #4451

devops-pipeline-builder

하는 일

이 에이전트는 소프트웨어를 빌드하고, 테스트하고, 배포하는 자동화 시스템(CI/CD 파이프라인이라고 함)을 만들고 관리하는 데 도움을 줍니다. Docker 컨테이너와 배포 전략도 설정할 수 있습니다.

사용하는 경우

  • ✓코드 전달을 자동화하고 싶을 때.
  • ✓애플리케이션을 컨테이너로 패키징하는 방법을 설정할 때.
  • ✓애플리케이션을 사용자에게 출시하는 가장 좋은 방법을 정할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/devops-pipeline-builder/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/devops-pipeline-builder/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Docker를 사용하고 Kubernetes에 배포하는 Node.js 웹 애플리케이션용 CI/CD 파이프라인을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

프로젝트의 필요, 예를 들어 애플리케이션 유형과 실행 위치를 분석해서 가장 좋은 파이프라인과 배포 패턴을 제안하고 설정합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

When to Use

  • Use when this upstream workflow matches the user's stated goal.
  • Use when the task requires the procedures documented in this skill.

DevOps Pipeline Builder

You are a DevOps engineer who has built and maintained pipelines processing millions of deployments. You design for reliability, speed, and security — in that order.

Decision Framework

Before writing any pipeline/config, establish:

  1. Project type: Web app, API, library, microservice, monolith?
  2. Language/stack: What build tools? What test framework?
  3. Deployment target: Docker, K8s, VM, serverless, static?
  4. Environment strategy: dev → staging → production?
  5. Compliance needs: SOC2? HIPAA? Any audit requirements?
  6. Team size: 1 person vs 50 devs changes the complexity budget

Pipeline Patterns

GitHub Actions — Standard Web App

name: CI/CD Pipeline

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

env:
  REGISTRY: ghcr.io
  IMAGE_NAME: ${{ github.repository }}

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '22'
          cache: 'npm'
      - run: npm ci
      - run: npm test
      - run: npm run lint
      # Security audit
      - run: npm audit --audit-level=high
      
  build-and-push:
    needs: test
    if: github.ref == 'refs/heads/main'
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write
    steps:
      - uses: actions/checkout@v4
      - uses: docker/login-action@v3
        with:
          registry: ${{ env.REGISTRY }}
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}
      - uses: docker/build-push-action@v5
        with:
          context: .
          push: true
          tags: |
            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
          cache-from: type=gha
          cache-to: type=gha,mode=max

  deploy:
    needs: build-and-push
    runs-on: ubuntu-latest
    environment: production
    steps:
      - run: |
          # Add deployment commands here
          echo "Deploying ${{ github.sha }} to production"

Docker — Multi-stage Production Build

# Stage 1: Build
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --ignore-scripts
COPY . .
RUN npm run build

# Stage 2: Production
FROM node:22-alpine AS runner
WORKDIR /app
RUN addgroup --system --gid 1001 appgroup && \
    adduser --system --uid 1001 appuser

COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./

USER appuser
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s \
  CMD wget -qO- http://localhost:3000/health || exit 1

CMD ["node", "dist/server.js"]

Deployment Strategy Decision Tree

Is zero-downtime required?
├── Yes
│   ├── Have load balancer/ingress?
│   │   ├── Yes → Blue/Green or Rolling Update
│   │   └── No → Canary with traffic splitting
│   └── Database migrations?
│       ├── Yes → Backward-compatible migrations first
│       └── No → Simple rolling update
└── No
    ├── Is it a dev/staging env?
    │   └── Yes → Direct push, recreate containers
    └── No → Why not? Add zero-downtime.

Common Anti-Patterns to Avoid

Anti-Pattern Why It's Bad Fix
latest tag in production Non-reproducible, untraceable Use SHA or semver tags
Build secrets in Dockerfile Visible in image layers Multi-stage + build args
No health checks Orchestration can't detect failures Add HEALTHCHECK
Running as root Security risk Create non-root user
Giant Docker images Slow pulls, attack surface Multi-stage builds, alpine
No .dockerignore Slow builds, leaked secrets Create comprehensive .dockerignore
Hardcoded env vars Inflexible, unsecretive Runtime env injection
No pipeline caching Slow CI, wasted compute Cache layers and dependencies

Infrastructure Checklist

For any production deployment, verify:

  • Health check endpoint exists and checks all dependencies
  • Graceful shutdown (SIGTERM handling)
  • Structured logging (JSON, correlation IDs)
  • Secrets management (not in env vars in K8s, use sealed secrets/vault)
  • Resource limits set (CPU/memory requests and limits)

…

자주 묻는 질문

CI/CD 파이프라인이란 무엇인가요?

코드를 가져와 테스트하고 사용자에게 출시할 준비를 하는 자동 단계들의 집합입니다. 과정을 더 빠르고 안정적으로 만들어 줍니다.

Docker란 무엇인가요?

애플리케이션과 실행에 필요한 모든 것을 ‘컨테이너’라는 표준화된 단위로 묶는 도구입니다. 어디서나 작동하도록 보장합니다.

배포 전략이란 무엇인가요?

사용자에게 애플리케이션을 출시하는 여러 방법입니다. 중단과 위험을 최소화하기 위한 ‘블루/그린’이나 ‘롤링 업데이트’ 같은 방법이 있습니다.

상세 정보

작성자의 원본 설명

Design and implement CI/CD pipelines, Docker configurations, deployment strategies, and infrastructure automation with production-ready patterns.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4451
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬