learning_ai_common_plat/docs/devops
saravanakumardb1 d1bdcdd9a7 docs(devops): pivot to Gitea Actions as canonical CI; mark GitHub-runner doc as Plan B
Adds two new docs and a banner on the existing GitHub-runner doc.

WHY: the user already has Gitea Actions configured across all 20+
repos (.gitea/workflows/ci.yml). Building a parallel GitHub Actions
self-hosted runner pipeline is unnecessary work that also drags in
GitHub Organization migration pressure (with Vercel/Netlify pricing
side-effects on free tiers).

The canonical architecture instead:
- Each Gitea instance (corp Mac local + Hostinger VM) runs its own
  act_runner.
- A single publish-packages.yml workflow lives in every package-
  publishing repo.
- When the same git tag is pushed to both Giteas, each one builds
  inside the same pinned Docker image (node:20-bookworm@sha256:...)
  with the same lockfile, producing BYTE-IDENTICAL tarballs.
- No sync script is needed; the shared git tag IS the sync mechanism.
- Lockfile integrity hashes match across both registries, so corp Mac
  and personal Mac + Hostinger prod all see the same packages.

New: HOSTINGER_GITEA_ACT_RUNNER_SETUP.md
  - Codex-actionable prompt to install act_runner on the Hostinger VM
  - Pre-flight checks (arch detection, Docker daemon, Gitea reachable)
  - Idempotent user creation, SHA-verified binary download
  - Docker mode runner config with labels mapping ubuntu-latest to
    pinned Node image
  - Smoke test + full E2E with throwaway @bytelyst/_runner-e2e-test
    package
  - The architectural invariant check: cross-Gitea SHA comparison —
    same tag pushed to both must produce identical tarballs
  - Monitoring (Gitea UI, API, systemd journal)
  - Hardening, rollback, deliverables, guardrails, questions

New: GITEA_PACKAGES_PUBLISH_WORKFLOW.md
  - The actual publish-packages.yml triggered by v* tags
  - Docker image pinned by digest for build determinism
  - pnpm@9.12.0 pinned, --frozen-lockfile, host-network container
  - Token mounted as read-only secret file (not env var)
  - Concurrency cancel-in-progress: false (never cancel a publish)
  - Pack tarballs + SHA512 manifest as Gitea Release assets for audit
    trail
  - Two propagation strategies: reusable workflow (preferred) vs
    sync-publish-workflow.sh script
  - Operator runbook for cutting a release
  - Failure-mode table + remediation
  - Deliverables checklist

Updated: HOSTINGER_GITHUB_RUNNER_SETUP.md
  - Added 'PLAN B' banner at the top
  - Cross-links to the Gitea Actions docs
  - Kept the doc intact as a valid alternative if priorities ever
    shift to making GitHub Actions the publish driver
2026-05-24 18:15:48 -07:00
..
single_azure_vm refactor(scripts): move 5 Gitea scripts into scripts/gitea/ subdirectory 2026-04-13 00:02:55 -07:00
vercel feat(llm): add FallbackLLMProvider + release pipeline script 2026-04-13 04:21:12 +00:00
AZURE_KEY_VAULT_AND_SECRETS_ROTATION.md docs(devops): update stale mywisprai/MyWisprAI branding across 5 AKV docs 2026-03-21 09:15:30 -07:00
AZURE_PORTAL_SETUP.md docs(devops): update stale mywisprai/MyWisprAI branding across 5 AKV docs 2026-03-21 09:15:30 -07:00
AZURE_RESOURCE_INVENTORY.md docs(devops): update stale mywisprai/MyWisprAI branding across 5 AKV docs 2026-03-21 09:15:30 -07:00
CODING_AGENT_AUTOMATION_PLAYBOOK.md docs: consolidate learning_ai_smart_auth references into learning_ai_auth_app 2026-05-24 14:31:38 -07:00
ECOSYSTEM_DEPLOYMENT.md docs(devops): add canonical endpoint inventory 2026-04-03 17:29:46 -07:00
END_TO_END_ENCRYPTION_DESIGN.md docs(devops): fix 14 bugs/gaps in E2EE design + roadmap after codebase review 2026-03-21 09:01:35 -07:00
END_TO_END_ENCRYPTION_ROADMAP.md docs(e2ee): detailed SQLCipher + AKV implementation plan for LocalMemGPT Sprint 5.4 2026-03-21 13:39:01 -07:00
ENDPOINT_INVENTORY.md docs(devops): add canonical endpoint inventory 2026-04-03 17:29:46 -07:00
ENVIRONMENT_VARIABLES_AND_KEYVAULT_AUDIT.md docs(devops): update stale mywisprai/MyWisprAI branding across 5 AKV docs 2026-03-21 09:15:30 -07:00
GITEA_LOCAL_CI.md docs: consolidate learning_ai_smart_auth references into learning_ai_auth_app 2026-05-24 14:31:38 -07:00
GITEA_NPM_REGISTRY_MIGRATION.md docs: document Linux VM deployment, auto-publish timer, and bug fixes 2026-05-10 02:32:54 +00:00
GITEA_PACKAGES_PUBLISH_WORKFLOW.md docs(devops): pivot to Gitea Actions as canonical CI; mark GitHub-runner doc as Plan B 2026-05-24 18:15:48 -07:00
HOSTINGER_GITEA_ACT_RUNNER_SETUP.md docs(devops): pivot to Gitea Actions as canonical CI; mark GitHub-runner doc as Plan B 2026-05-24 18:15:48 -07:00
HOSTINGER_GITHUB_RUNNER_SETUP.md docs(devops): pivot to Gitea Actions as canonical CI; mark GitHub-runner doc as Plan B 2026-05-24 18:15:48 -07:00
KUBERNETES_ROADMAP.md fix(docs): restore valid helm template examples 2026-03-23 18:16:01 -07:00
REMOTE_DIAGNOSTICS_ROADMAP.md docs(roadmap): mark Phase 3.2 Session Detail View complete 2026-03-03 09:48:15 -08:00
SINGLE_VM_DEPLOYMENT.md refactor(scripts): move 5 Gitea scripts into scripts/gitea/ subdirectory 2026-04-13 00:02:55 -07:00
SINGLE_VM_ENHANCED_PLAN.md docs(devops): add phased VM stack recommendations 2026-03-31 06:52:01 +00:00
USER_ISSUE_REPORTING_ROADMAP.md docs(feedback): mark all TODOs as completed in roadmap 2026-03-03 07:20:56 -08:00