Files
orangecat/docs/devops/README.md
T
Your Name 94bfe613b6 chore: deploy local snapshot
Commit current local state for production deploy.
2025-12-10 16:56:40 +01:00

22 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DevOps Overview
This is the authoritative, up-to-date guide for OrangeCat DevOps. It summarizes environments, CI/CD, infrastructure, observability, security, and runbooks for both human engineers and AI coding agents.
- Read first: Deployment guide – docs/operations/DEPLOYMENT.md
- CI/CD Pipeline – docs/devops/ci-cd.md
- Infrastructure (Vercel + optional self-hosted) – docs/devops/infrastructure.md
- Observability (Health, Metrics, Logs) – docs/devops/observability.md
- Runbooks (Backups/Restores) – docs/devops/runbooks/backup-restore.md
- Supabase Connectivity – docs/devops/supabase.md
Source of truth notes:
- Node.js: v20 across workflows and Docker.
- Tests and type-checks are blocking in CI with pragmatic coverage gates.
- Security: strict headers + CSP (reporting enabled), SVG disabled unless sanitized.
## Environment Files Policy (Local)
- `.env.local` is developer-owned and MUST NOT be deleted or overwritten by scripts or agents.
- Automated backups live in `.env-backups/`; use `scripts/utils/env-manager.js` to backup/restore.
- Prefer `env-manager validate` and `setup` over copying `.env.example` onto an existing file.
- CI uses Vercel-managed env; GitHub Actions must not write to `.env.local`.