id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
id
title
category
status
canonical_id
aliases
duplicate_of
source_trust_level
confidence_score
verification_status
tags
raw_sources
last_reinforced
github_commit
tech_stack
wiki-2026-0508-ci-cd-pipeline
CI CD Pipeline
10_Wiki/Topics
verified
self
Continuous Integration / Delivery Pipeline
Build Pipeline
none
A
0.9
applied
2026-05-10
applied
language
framework
YAML
GitHub Actions/GitLab CI/Buildkite
CI CD Pipeline
매 한 줄
"매 commit 이 production 까지 도달하는 자동 경로가 CI/CD pipeline." . Pipeline 은 build → test → security → package → deploy → verify 의 매 ordered DAG. 2026 의 표준: GitHub Actions reusable workflow + OIDC 기반 cloud auth + supply-chain attestation (SLSA L3) + progressive delivery (Argo Rollouts/Flagger).
매 핵심
매 Pipeline Stage
Source : trigger on PR / push / tag.
Build : deterministic, hermetic — Bazel/Nx cache.
Test : unit / integration / e2e — parallel shards.
Security : SAST (Semgrep), SCA (Trivy), secret scan.
Package : container, helm chart, npm — sign (cosign).
Attest : SBOM (Syft) + SLSA provenance.
Deploy : env-progressive (dev → staging → prod).
Verify : smoke, canary metrics, auto-rollback.
매 Modern Best Practices 2026
OIDC over long-lived secrets (GitHub OIDC → AWS/GCP).
Reusable workflows — DRY across repos.
Matrix sharding — test parallelism.
Cache layers — Turborepo, Nx, Bazel remote cache.
Progressive delivery — canary, blue/green, feature flags.
GitOps — Argo CD / Flux — git as source of truth.
Supply chain — Sigstore cosign, SLSA L3 attestation.
매 응용
SaaS web app deploy.
Library publish (npm, PyPI, Maven).
Container image release.
Mobile (Fastlane).
ML model deploy (MLOps).
💻 패턴
GitHub Actions reusable workflow
OIDC to AWS (no long-lived keys)
Matrix test sharding
Container build + sign + SBOM
Argo Rollouts canary
Turborepo remote cache
매 결정 기준
상황
Tool
OSS / GitHub repo
GitHub Actions
GitLab native
GitLab CI
Monorepo many pipelines
Buildkite / Dagger
K8s GitOps
Argo CD + Argo Rollouts
Multi-cloud workflow
Dagger / Earthly
기본값 : 매 GitHub Actions + OIDC + reusable workflow + Argo Rollouts.
🔗 Graph
🤖 LLM 활용
언제 : workflow YAML drafting, failed-build log triage, retry-storm root-cause.
언제 X : 매 deterministic step (lint/test) — pipeline 자체가 검증.
❌ 안티패턴
Long-lived AWS keys in secret : 매 OIDC 사용.
if: always() 남용 : 매 fail 무시 — 신뢰 무너짐.
No cache : 매 매 build 30분.
Single-stage everything : 매 fail-fast 설계 안 됨.
No staging : 매 직접 prod — rollback 어려움.
🧪 검증 / 중복
Verified: GitHub Actions docs; SLSA spec v1.0; Argo Rollouts docs; DORA report 2024.
신뢰도 A.
🕓 Changelog
날짜
변경
2026-05-08
Phase 1
2026-05-10
Manual cleanup — pipeline stages + OIDC/SLSA/canary