17 Commits

Author SHA1 Message Date
Savannah Savings 2089395699 Merge pull request 'fix(ci): migrate Docker registry from GHCR to Gitea' (#14) from barcode-betty/ghcr-to-gitea-registry into dev
CI / deploy-uat (push) Has been skipped
CI / deploy-dev (push) Failing after 41s
CI / lint (push) Successful in 5s
CI / grype (push) Has been skipped
CI / test (push) Successful in 9s
CI / build-and-push (push) Failing after 8s
2026-05-24 18:51:46 +00:00
Savannah Savings a197ab0530 {{.PullRequestTitle}}
CI / deploy-uat (push) Has been skipped
CI / test (push) Successful in 13s
CI / lint (push) Successful in 3s
CI / lint (pull_request) Successful in 3s
CI / test (pull_request) Successful in 14s
CI / build-and-push (push) Failing after 8s
CI / build-and-push (pull_request) Has been skipped
CI / grype (push) Has been skipped
CI / grype (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / deploy-dev (push) Failing after 30s
2026-05-24 18:48:28 +00:00
Barcode Betty da9e1e9af1 ci: migrate GHCR → Gitea registry, use REGISTRY_TOKEN
CI / lint (pull_request) Successful in 5s
CI / deploy-dev (pull_request) Has been skipped
CI / test (pull_request) Successful in 24s
CI / build-and-push (pull_request) Has been skipped
CI / grype (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
Fixes CAR-1009.

- REGISTRY already git.farh.net (via CAR-964)
- Change GITEA_TOKEN → REGISTRY_TOKEN for consistency

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-24 18:39:33 +00:00
Barcode Betty 1cf7f92b6b fix(ci): migrate Docker registry from GHCR to Gitea
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / build-and-push (pull_request) Has been cancelled
CI / grype (pull_request) Has been cancelled
CI / deploy-dev (pull_request) Has been cancelled
CI / deploy-uat (pull_request) Has been cancelled
- Change REGISTRY from ghcr.io to git.farh.net
- Replace GHCR login with Gitea Container Registry login using REGISTRY_TOKEN
- Move workflow from .github/workflows to .gitea/workflows

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-24 18:25:39 +00:00
Savannah Savings 0bd6b87ffd Merge pull request 'fix(ci): push Docker images to git.farh.net registry (CAR-964)' (#13) from barcode-betty/car-964-gitea-registry-v2 into dev
CI / lint (push) Successful in 3s
CI / test (push) Successful in 12s
CI / build-and-push (push) Failing after 6s
CI / grype (push) Has been skipped
CI / deploy-uat (push) Has been skipped
CI / deploy-dev (push) Failing after 34s
2026-05-24 18:08:54 +00:00
Flea Flicker 703a279f97 fix(ci): push Docker images to git.farh.net registry (CAR-964)
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / lint (pull_request) Failing after 1m33s
CI / test (pull_request) Failing after 1m32s
CI / grype (pull_request) Has been skipped
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-23 16:07:51 +00:00
Coupon Carl ef5102aad9 Merge pull request 'chore: move workflows from .github to .gitea (CAR-900)' (#8) from carl/car-900-move-workflows-to-gitea into dev
CI / test (push) Successful in 8s
CI / build-and-push (push) Has been skipped
CI / lint (push) Failing after 3s
CI / deploy-uat (push) Has been skipped
CI / grype (push) Has been skipped
CI / deploy-dev (push) Failing after 32s
CI / test (pull_request) Failing after 1m34s
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / lint (pull_request) Failing after 1m27s
CI / grype (pull_request) Has been skipped
CI / build-and-push (pull_request) Has been skipped
chore: move workflows from .github to .gitea (CAR-900)
2026-05-21 18:56:01 +00:00
Savannah Savings f63f6c613d chore: move workflows from .github to .gitea
CI / deploy-uat (pull_request) Has been skipped
CI / lint (pull_request) Successful in 3s
CI / test (pull_request) Successful in 8s
CI / build-and-push (pull_request) Has been skipped
CI / grype (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
Part of Gitea migration (CAR-900 / CAR-894).

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-21 18:54:46 +00:00
Savannah Savings 377f8428c5 Merge pull request 'ci: convert GitHub Actions to Gitea Actions (ubuntu-latest)' (#6) from betty/car-876-gitea-actions-receiptwitness into dev
CI / lint (push) Successful in 4s
CI / test (push) Successful in 9s
CI / lint (pull_request) Successful in 5s
CI / test (pull_request) Successful in 7s
CI / build-and-push (push) Failing after 6s
CI / build-and-push (pull_request) Has been skipped
CI / grype (push) Has been skipped
CI / deploy-uat (push) Has been skipped
CI / grype (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-dev (push) Failing after 30s
ci: convert GitHub Actions to Gitea Actions (ubuntu-latest)

CTO-approved. QA passed. Mechanical CI migration.

cc @cpfarhood
2026-05-21 11:55:48 +00:00
Flea Flicker 340b974532 ci: convert GitHub Actions to Gitea Actions (ubuntu-latest)
CI / deploy-dev (pull_request) Has been skipped
CI / build-and-push (pull_request) Has been skipped
CI / grype (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / lint (pull_request) Successful in 4s
CI / test (pull_request) Successful in 13s
- Replace runs-on: runners-cartsnitch with runs-on: ubuntu-latest
- Replace GitHub App token auth with secrets.GITEA_TOKEN for cross-repo checkout
- Remove actions/create-github-app-token steps from deploy-dev and deploy-uat

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-21 04:13:14 +00:00
cartsnitch-engineer[bot] 2fd2cdca71 feat: migrate receiptwitness to standalone repo with inlined common
Migrates receiptwitness to a standalone repo with inlined common models. Includes SQLite test compatibility fixes (server_default stripping for gen_random_bytes, relationship stubs for SQLAlchemy mapper).

QA PASS (cartsnitch-qa): lint  test  306/306 passed.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-04 21:01:21 +00:00
savannah-savings-cto[bot] 8128b3a76f chore: promote uat to main — receiptwitness migration CI fixes
Merged to production. UAT regression and security review both passed.

- UAT: PASS (Deal Dottie — CAR-733)
- Security: PASS (Stockboy Steve)
- Code CI (lint + test): PASS on uat commit f159d50f

Note: build-and-push has a GHCR permission_denied failure (write_package) — separate infra issue, does not affect code correctness.
2026-04-19 14:02:18 +00:00
cartsnitch-ceo[bot] f159d50f7c Merge pull request #4 from cartsnitch/dev
chore: promote dev to uat — receiptwitness migration CI fixes
2026-04-19 13:25:40 +00:00
cartsnitch-ceo[bot] c4880d3553 Merge pull request #3 from cartsnitch/betty/car-724-ci-fix
fix: resolve CI failures — SQLite incompatibility and ruff lint errors
2026-04-19 13:25:16 +00:00
Barcode Betty 873f53b9fc fix: resolve CI failures — SQLite incompatibility and ruff lint errors
- Remove PostgreSQL-specific server_default from User.email_inbound_token.
  The column has a Python-side default (secrets.token_urlsafe) that works
  for both SQLite and PostgreSQL. The gen_random_bytes() server_default
  caused sqlite table creation to fail.

- Add missing back_populates relationships to stub models so SQLAlchemy
  mapper configuration succeeds. Purchase.user and Store.user_accounts
  were missing, causing "has no property" errors during Base.metadata.create_all.

- Auto-fix ruff import sorting (I001) across all source and test files.

- Manually fix line-too-long (E501) in config.py.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-19 13:06:47 +00:00
Barcode Betty f47da487da feat: migrate receiptwitness to standalone repo with inlined common
Extract receiptwitness/ from the monorepo into cartsnitch/receiptwitness.
Inline the consumed modules from cartsnitch-common so there is no
cross-repo dependency.

- Add src/receiptwitness/shared/ with inlined models, schemas, constants, database
- Update all imports from cartsnitch_common to receiptwitness.shared
- Remove cartsnitch-common dependency from pyproject.toml
- Copy and update Alembic config (alembic.ini, alembic/)
- Update Dockerfile for standalone build context, add migration CMD
- Add CI workflow with lint, test, build, grype scan, deploy-dev, deploy-uat
- Add .grype.yaml

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-19 12:18:11 +00:00
cartsnitch-ceo[bot] bf7cabc9d8 release: fix HIGH-severity CVEs in receiptwitness image (UAT+Security PASS)
release: fix HIGH-severity CVEs in receiptwitness image (UAT+Security PASS)
2026-04-19 02:40:14 +00:00