Commit graph

21 commits

Author SHA1 Message Date
Ashwin Kumar Sivakumar
c570d7df67 chore: remove the dead apps/leads microservice
apps/leads implemented its own, independent "lead request" system
(POST /api/leads, /api/lead-requests/send, accept/reject) with a
schema that never matched the live one (message vs remarks, no
professional_user_id, accepted_at/rejected_at instead of resolved_at —
see 20260721030000_create_lead_requests's commit message). Confirmed
unreachable: the frontend's live flows use apps/customers'
/api/customers/requirements and each profession's /leads/request
(crates/contracts::profession_shared), never anything under
apps/leads' own paths. Its /api/lead-requests/* endpoints weren't even
reachable through the gateway (wrong prefix, never matched
/api/leads or /api/admin/leads).

Removed:
- apps/leads/ entirely, and its Cargo.toml workspace membership
- the `leads` docker-compose service, its LEADS_SERVICE_URL env var on
  gateway, and gateway's depends_on entry
- the `leads` entry from both CI build matrices (.gitea/.forgejo)
- gateway's leads_url field/routing branch — gateway no longer hard-
  requires LEADS_SERVICE_URL to boot (.expect() would have panicked
  once the service was gone); /api/admin/leads now falls through to
  the customers service, which already had a matching (previously
  shadowed) branch for it

NOTE: this service may still have a live Deployment/Service in
nxtgauge-gitops (a separate repo not touched here) — that manifest
should be removed too, or the next deploy will reference an image that
no CI job builds anymore.
2026-07-21 04:19:56 +05:30
Ashwin Kumar Sivakumar
f5831da1f5 ci(forgejo): update backend build pipeline 2026-07-03 19:51:37 +05:30
Ashwin Kumar Sivakumar
1c9b4848a9 feat: Add Dockerfiles for jobs/leads services and build scripts
Some checks failed
build-all / build-users (push) Failing after 1s
build-all / build-cron (push) Failing after 2s
build-gateway / build (push) Failing after 4s
build-services / build-gateway (push) Failing after 3s
build-services / build-users (push) Failing after 5s
build-services / build-jobs (push) Failing after 3s
build-and-push / detect-changes (push) Successful in 8s
build-services / build-cron (push) Failing after 2s
build-services / build-leads (push) Failing after 4s
build-all-services / build (push) Failing after 3s
build-and-push / build (cron) (push) Failing after 5s
build-and-push / build (customers) (push) Failing after 3s
build-and-push / build (employees) (push) Failing after 3s
build-and-push / build (developers) (push) Failing after 3s
build-and-push / build (fitness-trainers) (push) Failing after 4s
build-and-push / build (gateway) (push) Failing after 3s
build-and-push / build (graphic-designers) (push) Failing after 3s
build-and-push / build (job-seekers) (push) Failing after 3s
build-and-push / build (jobs) (push) Failing after 2s
build-and-push / build (leads) (push) Failing after 2s
build-and-push / build (makeup-artists) (push) Failing after 2s
build-and-push / build (payments) (push) Failing after 2s
build-and-push / build (photographers) (push) Failing after 3s
build-and-push / build (social-media-managers) (push) Failing after 3s
build-and-push / build (tutors) (push) Failing after 3s
build-and-push / build (ugc-content-creators) (push) Failing after 2s
build-and-push / build (users) (push) Failing after 2s
build-and-push / build (video-editors) (push) Failing after 2s
build-and-push / build (companies) (push) Failing after 10m52s
build-and-push / build (catering-services) (push) Successful in 11m29s
Add build-images.yaml for Forgejo CI
tmp build.yaml
Add Dockerfiles for jobs and leads services
Add build-all.sh script for batch building
2026-06-13 18:31:34 +05:30
Ashwin Kumar Sivakumar
1b1d98ebee chore: migrate ci naming to forgejo 2026-06-11 17:17:42 +05:30
Tracewebstudio Dev
486d1a8848 fix(ci): always update gitops and ensure high-performance-latest tag push
- Change if: success() to if: always() on gitops update step
- Add final fallback push with no cache if all builds fail
- Ensure high-performance-latest is always pushed even on partial failures
2026-05-05 21:09:43 +02:00
Tracewebstudio Dev
09075087f0 ci: skip gitops update if GITEOPS_REPO secret not set 2026-05-01 18:45:57 +02:00
Tracewebstudio Dev
2a588b45d6 ci: update gitops with new SHA on each build (auto-deploy) 2026-05-01 11:04:12 +02:00
Tracewebstudio Dev
3703d70eb2 ci: add post-push registry prune (keep latest 1 SHA build) 2026-05-01 10:10:16 +02:00
Tracewebstudio Dev
4d168721dd fix(ci): retry docker registry login on TLS timeouts 2026-04-29 12:04:43 +02:00
Tracewebstudio Dev
4592e77e9f fix(ci): force full matrix on trigger commits 2026-04-29 11:56:40 +02:00
Tracewebstudio Dev
e7a1f346e8 fix(ci): retry buildx push and fallback without cache export 2026-04-29 10:39:56 +02:00
Tracewebstudio Dev
654754a107 fix(ci): make detect outputs compatible with gitea runner 2026-04-29 10:31:17 +02:00
Tracewebstudio Dev
1212ebf2fb fix(ci): force docker socket host in build steps 2026-04-29 10:10:07 +02:00
Tracewebstudio Dev
a95698cc94 ci: build only changed services with registry cache 2026-04-29 10:01:22 +02:00
Tracewebstudio Dev
acb817b9da fix(ci): use docker host socket in gitea workflow 2026-04-28 20:54:18 +02:00
Tracewebstudio Dev
695069f2cc ci: remove migrate job from workflow 2026-04-19 21:31:49 +02:00
Tracewebstudio Dev
769b837a7d ci: fix docker login with --password-stdin 2026-04-19 18:13:48 +02:00
Tracewebstudio Dev
a9f4ad3ed8 ci: add DOCKER_HOST for DinD, use high-performance-latest tag 2026-04-19 18:10:20 +02:00
Tracewebstudio Dev
6e2c0cac2b ci: use plain docker buildx commands 2026-04-19 18:06:52 +02:00
Tracewebstudio Dev
bd9bfcfbb7 ci: update Gitea Actions workflow with docker/build-push-action 2026-04-19 00:05:05 +02:00
Tracewebstudio Dev
aed8cf6802 ci: add Gitea Actions workflow 2026-04-19 00:03:00 +02:00