Commit graph

227 commits

Author SHA1 Message Date
Tracewebstudio Dev
f7e18cd4d6 feat: pricing packages with multi-select roles, lead requests, mock checkout 2026-04-13 01:36:13 +02:00
Tracewebstudio Dev
c433ab5fed feat(db): update service handlers and models for new schema
- Update leads service to use 'leads' table
- Update extension models to use user_role_profile_id
- Update ProfessionalRepository to work with new schema
- Create TracecoinWalletRepository for wallet operations
- Update all handlers to use new model fields
- Rename Application fields (job_seeker_id -> applicant_user_id)
- Update cron tasks for new schema
- Fix compilation errors across all services
2026-04-13 00:29:44 +02:00
Tracewebstudio Dev
2e283e5d67 feat(db): add complete migration and update extension models to use user_role_profile_id
- Add comprehensive migration script for database schema redesign
- Update all extension profile models to reference user_role_profile_id
- Create user_role_profiles as root table for all role profiles
- Remove external portfolio links (github_url, portfolio_url, reel_url)
- Rename applications→job_applications, requirements→leads
- Drop deprecated tables (professionals, onboarding_submissions, etc.)
2026-04-12 23:55:08 +02:00
Tracewebstudio Dev
03376b9567 feat: Add database redesign documentation and Phase 1-2 migrations
- Add schema_audit.md documenting current schema issues
- Add target_schema.md with complete target schema design
- Add old_to_new_mapping.md with table mapping
- Add migration_plan.md with phased migration strategy
- Add Phase 1 migrations (core infrastructure):
  - user_sessions table
  - users missing columns
  - departments updates
  - designations updates
  - employees updates
- Add Phase 2 migrations (profile domain - CRITICAL):
  - create user_role_profiles root table
  - backfill user_role_profiles from existing profiles
  - add user_role_profile_id to extension tables
  - remove forbidden external portfolio links
- Add user_role_profile Rust model
- Update photographer model to use user_role_profile_id
2026-04-12 23:21:11 +02:00
Tracewebstudio Dev
79fbba8107 chore(ci): trigger rebuild for jobs and leads services 2026-04-12 22:04:04 +02:00
Tracewebstudio Dev
1e6abd9397 feat: add separate jobs and leads services
- Create jobs service (port 9103) for job postings management
- Create leads service (port 9118) for lead/requirement management
- Update gateway to route /api/jobs to jobs service
- Update gateway to route /api/leads to leads service
- Add jobs and leads to Woodpecker CI matrix
2026-04-12 22:03:06 +02:00
Tracewebstudio Dev
81c00eca96 feat(db-migrate): add DROP_EXISTING_TABLES support
When DROP_EXISTING_TABLES=true, drop all existing tables before running migrations.
2026-04-12 21:58:57 +02:00
Tracewebstudio Dev
dade35b328 feat: add db-migrate tool for running SQL migrations
- Create db-migrate binary that runs all .up.sql migration files
- Add Dockerfile.migrate for building the migration image
- Add migration job to Woodpecker CI pipeline
- Image will be pushed to registry.nxtgauge.com:5000/nxtgauge-db-migrate
2026-04-12 21:57:28 +02:00
Tracewebstudio Dev
019613aa82 chore(ci): trigger rebuild after registry and backend fixes 2026-04-12 18:08:56 +02:00
Tracewebstudio Dev
8d920c4b34 fix(users): update Axum routes to 0.7 syntax for email templates 2026-04-12 16:58:07 +02:00
Ashwin Kumar
7ee2b21e74 fix(ci): use from_secret for REGISTRY_HOSTPORT in kaniko 2026-04-12 13:44:23 +02:00
Ashwin Kumar
ca9f9acf79 fix(ci): redirect docker-buildx to private registry
- Use REGISTRY_HOSTPORT for registry (not docker.io or ghcr.io)
- Use REGISTRY_USERNAME/REGISTRY_PASSWORD for auth
- Fix repo path to not include full URL or username prefix
2026-04-12 13:39:29 +02:00
Ashwin Kumar
588ddbef7e chore(ci): trigger pipeline with updated registry secrets 2026-04-12 12:40:51 +02:00
Ashwin Kumar
8a25eab1b4 fix(ci): use REGISTRY_HOSTPORT secret for private registry 2026-04-12 12:17:08 +02:00
Ashwin Kumar
614357cfa7 fix(ci): align backend image push target with node-resolvable registry endpoint 2026-04-11 21:59:49 +02:00
Ashwin Kumar
fd5287d95f chore(ci): trigger backend rebuild 2026-04-11 20:54:56 +02:00
Ashwin Kumar
a57e344bc4 fix(email): add lead acceptance/rejection compatibility methods for customers 2026-04-11 15:55:20 +02:00
Ashwin Kumar
1b42cd1f20 chore(ci): trigger woodpecker 2026-04-11 15:04:26 +02:00
Ashwin Kumar
f4515b22a2 fix(ci): standardize backend service/image naming to hyphen format 2026-04-11 15:04:15 +02:00
Ashwin Kumar
00629446a7 chore(ci): trigger woodpecker rebuild 2026-04-11 14:20:32 +02:00
Ashwin Kumar
21b42adeba fix(ci): use repo path only for kaniko destination 2026-04-11 13:58:07 +02:00
Ashwin Kumar
6510e52d46 fix(ci): switch to kaniko for http local registry push 2026-04-11 13:49:48 +02:00
Ashwin Kumar
0135abb3f8 fix(ci): qualify repo target and restore explicit registry push auth 2026-04-11 13:43:33 +02:00
Ashwin Kumar
555ea8ad6d fix(ci): force http local registry endpoint for buildx push 2026-04-11 13:32:34 +02:00
Ashwin Kumar
9f1db8286e fix(ci): restore working buildx settings pattern with registry push creds 2026-04-11 00:38:03 +02:00
Ashwin Kumar
58dc4ad059 fix(ci): fallback to dockerhub secrets and static registry host 2026-04-11 00:07:57 +02:00
Ashwin Kumar
58217222d6 fix(ci): quote secret guard command for valid yaml 2026-04-11 00:01:14 +02:00
Ashwin Kumar
231c2fc4f4 fix(ci): use dedicated REGISTRY_* secrets for docker login 2026-04-10 23:55:54 +02:00
Ashwin Kumar
1514451652 fix(ci): map registry login to dockerhub secrets 2026-04-10 23:30:01 +02:00
Ashwin Kumar
6842d8434e fix(ci): use docker cli build/push instead of buildx 2026-04-10 23:20:24 +02:00
Ashwin Kumar
a04a7e4ed4 fix(ci): normalize registry host and scoped repo settings 2026-04-10 23:13:23 +02:00
Ashwin Kumar
e56c099cae fix(ci): force http registry endpoint for buildx push 2026-04-10 22:43:03 +02:00
Ashwin Kumar
c24944920a fix(ci): push to scoped local registry with explicit login 2026-04-10 22:26:05 +02:00
Ashwin Kumar
0da084271e fix(ci): disable buildx cache to avoid https cache export 2026-04-10 22:08:03 +02:00
Ashwin Kumar
076d4d5a91 fix(ci): disable registry cache export/import for http registry 2026-04-10 22:05:50 +02:00
Ashwin Kumar
ffea038c13 fix(ci): use repo name with registry setting for insecure push 2026-04-10 21:58:02 +02:00
Ashwin Kumar
04a3087c7c chore(ci): revert to buildx plugin with local registry auth 2026-04-10 21:30:27 +02:00
Ashwin Kumar
33375eeeac fix(ci): configure kaniko auth for local registry 2026-04-10 21:18:27 +02:00
Ashwin Kumar
6f41a92dda fix(ci): switch to daemonless kaniko builds 2026-04-10 20:34:18 +02:00
Ashwin Kumar
9dd3449105 fix(ci): attach buildx to dind daemon 2026-04-10 20:28:33 +02:00
Ashwin Kumar
0d59e347f2 fix(ci): allow insecure local registry for buildx 2026-04-10 20:25:11 +02:00
Ashwin Kumar
7aeaeb18ab fix(ci): build single Rust service with workspace-safe Dockerfile 2026-04-10 20:19:53 +02:00
Ashwin Kumar
c237c417ef chore(ci): trigger woodpecker 2026-04-10 19:59:26 +02:00
Ashwin Kumar
a894c1be9c fix(woodpecker): remove detect-changes step - always build all services 2026-04-10 17:56:41 +02:00
Ashwin Kumar
08dde4f3e8 fix(woodpecker): handle shallow git clone for change detection 2026-04-10 17:42:53 +02:00
Ashwin Kumar
bce0f13f56 feat(woodpecker): use internal registry docker-registry.registry.svc.cluster.local:5000
- Update all woodpecker files to use internal registry

- Use Docker Hub credentials for base image pulls

- Add cache_from/cache_to for internal registry caching

- Remove GitHub Container Registry dependency
2026-04-10 17:39:26 +02:00
Ashwin Kumar
39107e4fa4 fix(woodpecker): use simple Dockerfile and reduce build complexity
- Replace complex caching with simple Dockerfile

- Remove cargo-chef complexity that was slowing builds

- Add .woodpecker-base.yml for separate base image builds

- Add Dockerfile.simple for faster builds

- Add Dockerfile.ultrafast for when base image exists
2026-04-10 12:56:28 +02:00
Ashwin Kumar
4f16b21b76 chore: trigger woodpecker build
Empty commit to re-trigger CI pipeline
2026-04-10 12:05:24 +02:00
Ashwin Kumar
c221173172 perf(build): ultra-fast builds with caching and optimized Dockerfiles
- Add Dockerfile.fast with cargo-chef and symbol stripping

- Add Dockerfile.superfast using pre-built base image

- Add Dockerfile.base for dependency caching

- Update Woodpecker with registry cache (cache_from/cache_to)

- Add fast-build.sh for local ultra-fast builds

- Add build-base-image.sh for one-time dependency build

- Enable BuildKit layer caching in CI
2026-04-10 05:43:34 +02:00
Ashwin Kumar
24021213b6 fix(woodpecker): remove deploy step - deployment handled externally
- Remove kubectl deploy step from woodpecker pipeline

- Keep only build-and-push step

- Deployment handled by ArgoCD or other GitOps tool
2026-04-10 05:34:44 +02:00