Commit Graph

52 Commits

Author SHA1 Message Date
Savannah Savings bb8d7f159c fix(ci): use direct docker login with github.token for registry auth (CAR-973)
CI / build-and-push (push) Failing after 6s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
docker/login-action@v3 fails with Gitea's automatic token.
Use direct docker login with github.token instead, which has
the necessary write:package scope for the container registry.

Related: CAR-1009 (CI registry token standardization)
2026-05-24 20:37:22 +00:00
Barcode Betty a92f578dcf chore: re-trigger CI after DNS fix (CAR-968)
CI / build-and-push (push) Failing after 5s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
2026-05-24 20:34:39 +00:00
Savannah Savings e36eaec97b Merge pull request 'promote: dev → uat (CAR-992 trustedOrigins fix)' (#19) from dev into uat
CI / build-and-push (push) Failing after 3s
CI / deploy-uat (push) Has been skipped
CI / deploy-dev (push) Has been skipped
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
promote: dev → uat (CAR-992 trustedOrigins fix) (#19)
2026-05-23 20:55:58 +00:00
Savannah Savings 9e6dfe1f9c Merge pull request 'fix: update trustedOrigins to match current domains' (#18) from cs_betty/auth:car992-fix into dev
CI / build-and-push (push) Failing after 6s
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
fix: update trustedOrigins to match current domains (#18)

Refs: CAR-992
2026-05-23 20:55:32 +00:00
Barcode Betty 9ae3161860 fix: update trustedOrigins to match current domains
CI / build-and-push (pull_request) Has been cancelled
CI / deploy-dev (pull_request) Has been cancelled
CI / deploy-uat (pull_request) Has been cancelled
Replace stale .farh.net subdomains with correct *.cartsnitch.com domains to fix
CORS Origin validation blocking UAT auth (403 on sign-up/sign-in).

Refs: CAR-992
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-23 20:43:31 +00:00
Checkout Charlie 5d2701ef52 chore: re-trigger CI for UAT registry verification (CAR-983)
CI / build-and-push (push) Failing after 5s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
2026-05-23 18:37:10 +00:00
Savannah Savings c06f7cf5a1 Merge pull request 'ci: promote dev to uat — Gitea container registry CI changes' (#13) from dev into uat
CI / build-and-push (push) Failing after 1m33s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
ci: promote dev to uat — Gitea container registry CI changes (#13)
2026-05-23 15:26:07 +00:00
Savannah Savings c1c89e4206 Merge pull request 'ci: switch Docker image push from GHCR to Gitea container registry' (#12) from barcode-betty/car-959-gitea-registry into dev
CI / build-and-push (pull_request) Has been skipped
CI / build-and-push (push) Failing after 4m18s
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
ci: switch Docker image push from GHCR to Gitea container registry (#12)
2026-05-23 15:25:44 +00:00
Flea Flicker 6d6c872962 ci: switch Docker image push from GHCR to Gitea container registry
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
- REGISTRY: ghcr.io -> git.farh.net
- Renamed login step to Gitea Container Registry
- kustomize rename form: ghcr.io/cartsnitch/auth=git.farh.net/cartsnitch/auth:TAG
- Removed GHA cache-from/cache-to (not guaranteed on Gitea runners)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-23 15:15:07 +00:00
Savannah Savings 34c5a85d49 Merge pull request 'chore: promote dev to uat (move workflows to .gitea)' (#10) from dev into uat
CI / build-and-push (push) Failing after 5s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
chore: promote dev to uat — move workflows to .gitea (#10)
2026-05-21 13:46:13 +00:00
Savannah Savings ebfefd6970 Merge pull request 'chore: move workflows from .github to .gitea' (#9) from barcode-betty/move-workflows-to-gitea into dev
CI / build-and-push (push) Failing after 6s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
CI / build-and-push (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
chore: move workflows from .github to .gitea (#9)

Merge PR: barcode-betty/move-workflows-to-gitea -> dev
Reviewed-by: Savannah Savings (CTO)
QA-by: Checkout Charlie
2026-05-21 13:45:52 +00:00
Flea Flicker 8bf7c08950 chore: move workflows from .github to .gitea
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
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-21 12:33:43 +00:00
Savannah Savings 6b8939fd7f Merge pull request 'chore: promote Gitea Actions fix to uat (CAR-892)' (#8) from dev into uat
CI / build-and-push (push) Failing after 6s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
chore: promote Gitea Actions fix to uat (CAR-892)

Dev→UAT promotion. GHCR login fix.

cc @cpfarhood
2026-05-21 11:55:50 +00:00
Barcode Betty f2a2673061 Merge pull request 'fix: use GITEA_TOKEN for GHCR login in Gitea Actions (CAR-892)' (#7) from betty/car-892-gitea-actions-ghcr-auth into dev
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
CI / build-and-push (pull_request) Has been skipped
CI / build-and-push (push) Failing after 6s
CI / deploy-uat (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
2026-05-21 11:33:27 +00:00
Barcode Betty dad3132fdb fix: use GITEA_TOKEN for GHCR login in Gitea Actions
CI / build-and-push (push) Failing after 6s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
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
Replace ${{ secrets.GITHUB_TOKEN }} with ${{ secrets.GITEA_TOKEN }}
for docker/login-action in Gitea Actions. GITHUB_TOKEN is not available
in Gitea Actions and was causing 'authentication required' failures for
ghcr.io push, leaving the auth service with a stale image on UAT.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-21 11:30:57 +00:00
Savannah Savings 934397a073 Merge pull request 'ci: promote Gitea Actions workflow changes to UAT' (#6) from dev into uat
CI / build-and-push (push) Failing after 6s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
ci: promote Gitea Actions workflow changes to UAT (#6)
2026-05-21 11:11:55 +00:00
Savannah Savings 80093752ae Merge pull request 'ci: convert GitHub Actions to Gitea Actions (ubuntu-latest)' (#5) from betty/car-869-gitea-actions-auth into dev
CI / build-and-push (push) Failing after 6s
CI / deploy-dev (push) Has been skipped
CI / deploy-uat (push) Has been skipped
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: convert GitHub Actions to Gitea Actions (ubuntu-latest) (#5)
2026-05-21 11:11:20 +00:00
Flea Flicker 791ac3156f ci: convert GitHub Actions to Gitea Actions (ubuntu-latest)
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
- Replace runs-on: runners-cartsnitch with runs-on: ubuntu-latest (3 jobs)
- Remove actions/create-github-app-token step from deploy-dev and deploy-uat
- Replace token in infra checkout with secrets.GITEA_TOKEN

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-21 04:01:09 +00:00
coupon-carl-ceo[bot] 7e89ab72bd Merge pull request #3 from cartsnitch/dev
chore: promote dev to uat — auth repo migration complete
2026-04-21 02:20:16 +00:00
coupon-carl-ceo[bot] 0409730d8c Merge pull request #1 from cartsnitch/add-ci-grype
Add CI workflow and Grype CVE ignores
2026-04-21 02:19:55 +00:00
coupon-carl-ceo[bot] 35dc518c53 chore: recreate GHCR package linked to cartsnitch/auth [CAR-732] 2026-04-21 02:15:46 +00:00
coupon-carl-ceo[bot] 745baada90 chore: trigger CI — GHCR package relink [CAR-732] 2026-04-20 14:36:46 +00:00
Barcode Betty 6ac7350d75 Add CI workflow and Grype CVE ignores
- Add .github/workflows/ci.yml with build/push and deploy-dev/uat jobs
- Add .grype.yaml with Python 3.12 CVE ignores

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-19 12:57:52 +00:00
cartsnitch-engineer[bot] b7b57d91b1 Merge pull request #2 from cartsnitch/main
feat: add CI workflow for build, push, and deploy
2026-04-19 12:45:21 +00:00
Barcode Betty bacd92f05d feat: add CI workflow for build, push, and deploy
- Build and push Docker image to GHCR on push to main/dev/uat
- Generate CalVer tags on main branch
- Auto-deploy to dev and uat overlays via infra repo

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-19 12:44:33 +00:00
cartsnitch-ceo[bot] b71f561a7f release: bcrypt cost factor 10→12, Grype CVE ignores, Dockerfile cache-bust (UAT+Security PASS)
release: bcrypt cost factor 10→12, Grype CVE ignores, Dockerfile cache-bust (UAT+Security PASS)
2026-04-19 00:24:10 +00:00
cartsnitch-cto[bot] b5638e7798 Merge pull request #225 from cartsnitch/dev
Promote dev to UAT: bcrypt cost factor fix
2026-04-19 00:04:07 +00:00
Barcode Betty c11a02773a fix: increase bcrypt cost factor from 10 to 12
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-15 21:50:09 +00:00
cartsnitch-ceo[bot] 1660fd338c chore: promote UAT to production (CAR-662, audit logging middleware)
chore: promote UAT to production (CAR-662, audit logging middleware)
2026-04-15 04:29:39 +00:00
cartsnitch-ceo[bot] 04f1022823 Merge branch 'main' into uat 2026-04-15 04:17:24 +00:00
cartsnitch-cto[bot] b15c9cb4d8 Merge pull request #213 from cartsnitch/dev
Promote to UAT: vite, mock-auth, Redis rate-limit, Redis cache, email verification
2026-04-15 03:33:42 +00:00
Barcode Betty e433cea908 feat(auth): enable email verification with Resend
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-15 03:30:44 +00:00
cartsnitch-cto[bot] 90e65a3672 Merge pull request #211 from cartsnitch/dev
Promote to UAT: bcrypt upgrade + Grype only-fixed filter (CAR-622)
2026-04-15 03:22:50 +00:00
cartsnitch-ceo[bot] 9bfd17b82e chore: promote uat to production (Grype image vulnerability scanning)
Merges Grype-based container image vulnerability scanning and Docker CVE remediation to production.

- CI workflow: build→scan→push pattern with only-fixed flag for all 4 Docker images
- Dockerfile hardening: apt-get/apk upgrade in all build and prod stages
- UAT: PASS (Deal Dottie), Security: PASS (Stockboy Steve)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-15 01:14:35 +00:00
Paperclip ee175e9b39 fix: upgrade bcrypt and filter unfixed CVEs in Grype scans 2026-04-15 00:51:53 +00:00
cartsnitch-cto[bot] 4f3e4588ea chore: promote dev to UAT (CAR-616 Docker CVE remediation) (#205)
chore: promote dev to UAT (CAR-616 Docker CVE remediation)
2026-04-14 23:57:52 +00:00
cartsnitch-cto[bot] 61433acef5 fix: remediate high-severity CVEs in Docker images (#204)
fix: remediate high-severity CVEs in Docker images
2026-04-14 23:57:40 +00:00
Paperclip 6492f60f15 fix: remediate high-severity CVEs in Docker images
- Add apk upgrade to frontend Dockerfile (build + prod stages)
- Add apk upgrade to auth Dockerfile (build + runtime stages)
- Add apt-get upgrade to api Dockerfile (build + prod stages)
- Add apt-get upgrade to receiptwitness Dockerfile (build + prod stages)
- Run npm audit fix for frontend and auth dependencies

Refs: CAR-616
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-14 23:51:42 +00:00
cartsnitch-cto[bot] bc482a588d Merge pull request #199 from cartsnitch/dev
chore: promote dev to uat (auth health check DB connectivity fix)
2026-04-14 16:39:50 +00:00
cartsnitch-cto[bot] 097cb6e5e4 Merge pull request #198 from cartsnitch/fix/car-608-auth-health-check
fix: restore DB connectivity check to auth health endpoint
2026-04-14 16:39:18 +00:00
Paperclip c7366f6254 fix: restore DB connectivity check to auth health endpoint
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-14 16:35:24 +00:00
cartsnitch-cto[bot] ab1f9c26ab Merge pull request #197: promote dev to uat (auth config validation + vite audit fix)
chore: promote dev to uat (auth config validation + vite audit fix)
2026-04-14 16:19:27 +00:00
cartsnitch-cto[bot] 1627887d20 Merge pull request #187 from cartsnitch/fix/auth-config-validation
fix: add startup validation to auth service config
2026-04-14 16:19:13 +00:00
Paperclip 85edc5c410 fix: add startup validation to auth service config
- Add DATABASE_URL validation after BETTER_AUTH_SECRET check
- Warn clearly when DATABASE_URL is not set (uses localhost default)
- Move pool declaration after validation blocks

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-14 16:03:37 +00:00
cartsnitch-ceo[bot] 9d41496f86 Release: domain tables migration + alembic fixes (UAT-verified)
Merging to production after full SDLC sign-off:
- UAT PASS: CAR-518 (Deal Dottie)
- UAT PASS: CAR-522 (Deal Dottie)
- Security PASS: CAR-518 PR #145 (Stockboy Steve)
- Security PASS: CAR-522 PR #148 (Stockboy Steve)
- CEO review: Coupon Carl

CI: lint  test  audit  e2e 
2026-04-05 02:55:12 +00:00
cartsnitch-qa[bot] 5c4f0d5c3b Merge pull request #116 from cartsnitch/dev
Promote to UAT: fix(auth) trustedOrigins + latest dev
2026-04-04 04:24:26 +00:00
cartsnitch-qa[bot] d26f25555a Merge pull request #115 from cartsnitch/betty/fix-uat-trustedorigins
fix(auth): add UAT hostname to trustedOrigins
2026-04-04 04:24:09 +00:00
Pawla Abdul bc091fc51b fix(auth): add UAT hostname to trustedOrigins
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-04 04:18:03 +00:00
cartsnitch-engineer[bot] be78b36702 fix(auth): add session table model mapping for plural table name
Better-Auth defaults to singular "session" table name, but our DB uses
the plural "sessions" table (created by migration 002). Add modelName and
snake_case field mappings to match the existing pattern for user,
account, and verification models.

Co-authored-by: Stockboy Steve <steve@cartsnitch.com>
Co-authored-by: Paperclip <noreply@paperclip.ing>
Co-authored-by: cartsnitch-ceo[bot] <269712056+cartsnitch-ceo[bot]@users.noreply.github.com>
2026-03-31 03:42:26 +00:00
Stockboy Steve 201606bef8 fix: generate auth/package-lock.json for Docker build
The auth Dockerfile runs npm ci --omit=dev in the production stage
but there was no lock file, causing Docker build to fail.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-29 19:59:51 +00:00