Add CRM stub flag, deploy/backup scripts, CI and prod runbook #10

Merged
lauadmin merged 1 commits from feature/safe-local-dev into main 2026-09-25 18:08:52 +00:00
Owner
  • CRM_USE_STUB: local runs no longer reach the live CRM. With only the
    Checkbox stub, a stub receipt would still move the real order to PACKED.
    Refused in production, same as CHECKBOX_USE_STUB.
  • scripts/deploy.sh: backup, fast-forward main, build, health check and
    code rollback on failure. scripts/backup.sh: pg_dump with verification
    and 14-day rotation (used by cron and deploy.sh).
  • Gitea Actions CI: ruff + pytest, oxlint + build.
  • DEPLOY.md runbook; CLAUDE.md rules for safe local development.
- CRM_USE_STUB: local runs no longer reach the live CRM. With only the Checkbox stub, a stub receipt would still move the real order to PACKED. Refused in production, same as CHECKBOX_USE_STUB. - scripts/deploy.sh: backup, fast-forward main, build, health check and code rollback on failure. scripts/backup.sh: pg_dump with verification and 14-day rotation (used by cron and deploy.sh). - Gitea Actions CI: ruff + pytest, oxlint + build. - DEPLOY.md runbook; CLAUDE.md rules for safe local development.
lauadmin added 1 commit 2026-09-25 18:08:39 +00:00
Add CRM stub flag, deploy/backup scripts, CI and prod runbook
CI / backend (pull_request) Successful in 3m7s
CI / frontend (pull_request) Failing after 15m55s
2b7a92645a
- CRM_USE_STUB: local runs no longer reach the live CRM. With only the
  Checkbox stub, a stub receipt would still move the real order to PACKED.
  Refused in production, same as CHECKBOX_USE_STUB.
- scripts/deploy.sh: backup, fast-forward main, build, health check and
  code rollback on failure. scripts/backup.sh: pg_dump with verification
  and 14-day rotation (used by cron and deploy.sh).
- Gitea Actions CI: ruff + pytest, oxlint + build.
- DEPLOY.md runbook; CLAUDE.md rules for safe local development.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lauadmin merged commit c2d0505a67 into main 2026-09-25 18:08:52 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lauadmin/lux_fiscal#10