automating-devops logo

automating-devops

DevOps knowledge reference covering Git workflows, testing strategies, DevSecOps, release pipeline orchestration (release.yml, multi-arch images, cosign integration), CI/CD pipelines, database management, observability, and performance optimization. Use when working with Git, CI/CD, release pipelines, ghcr image publishing, testing, monitoring, or infrastructure automation.

telagod/code-abyss0installs224starsAutomation

SKILL.md

Full skill instructions

炼器秘典 · DevOps

判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核 skills/_kernel/backend/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。

路由

意图秘典核心
版本控制git-workflowGit 分支策略、PR 流程、rebase vs merge
测试testing单元/集成/E2E、TDD、覆盖率
安全开发devsecopsCI/CD 安全、SAST/DAST、供应链
Release 编排release-pipelinesrelease.yml 多 job 骨架、metadata tag、cosign 集成、踩坑字典
数据库databaseSQL/NoSQL 选型、索引优化、迁移
性能performanceProfiling、火焰图、基准/负载测试
可观测observability日志/指标/追踪三支柱、SLO/SLI
成本cost-optimizationFinOps、右尺寸、Spot、自动伸缩

CI/CD 管道模式

阶段动作工具示例
Commitlint + unit test + SASTESLint、pytest、Semgrep
Build构建 + 镜像打包Docker、Buildpacks
Test集成测试 + E2EPlaywright、k6
SecurityDAST + 依赖扫描 + 密钥检测OWASP ZAP、Trivy、gitleaks
Deploy渐进发布(canary/blue-green)ArgoCD Rollouts、Flagger
Verify冒烟测试 + SLO 校验Prometheus、Grafana
Rollback自动回滚(SLO 违约)ArgoCD、Helm rollback

原则

自动化一切 | 快速反馈(<10min) | 主干开发短分支 | 不可变制品 | 环境即代码