Commit Graph

14 Commits

Author SHA1 Message Date
parsa aghaei
4f3db08bdb fix(ci): use node:20-alpine container with inline openssh-client installation
Some checks failed
Deploy Canina / deploy (push) Failing after 15s
2026-08-01 16:39:25 +03:30
parsa aghaei
776829e099 fix: seed command ESM compatibility and CI/CD timeout increase
All checks were successful
Deploy Canina / deploy (push) Successful in 10m5s
- Fix prisma seed command: use node --loader ts-node/esm (nodenext module needs ESM loader)
- Increase CI/CD timeout from 15m to 40m to accommodate Docker build + VPN time
- Prisma env vars already in compose files for OpenSSL 3.0.x binary selection
2026-07-29 14:00:00 +03:30
parsa aghaei
501addc909 fix: CI/CD pipeline, dynamic API URLs, Dockerfile fixes
All checks were successful
Deploy Canina / deploy (push) Successful in 5m39s
- Backend Dockerfile: add chown for node_modules (Prisma permissions fix)
- Frontend Dockerfile: add ARG/ENV for NEXT_PUBLIC_API_URL, VITE_API_URL
- nginx.conf: template with __PLACEHOLDERS__ for per-env substitution
- deploy.yml: SSH keepalive, sudo for VPN
- api.ts: dynamic API URL via env vars instead of hardcoded
- next.config.ts: rewrite only in development mode
- scripts: deploy.sh, compose.stage.yml, compose.prod.yml
2026-07-28 16:37:05 +03:30
parsa aghaei
fecc3cfb65 ci(deploy): increase job timeout to 15m and configure buildkit fast build
Some checks failed
Deploy Canina / deploy (push) Failing after 15m3s
2026-07-27 16:57:42 +03:30
parsa aghaei
885ec72f25 ci(deploy): configure CI/CD for develop (stage.canina.ir) and main (canina.ir) domains
Some checks failed
Deploy Canina / deploy (push) Failing after 3m3s
2026-07-27 16:52:19 +03:30
DevOps
3c8f7729c2 ci: use sh shell instead of bash for ci-runner (Alpine based)
Some checks failed
Deploy Canina / deploy (push) Failing after 1m45s
2026-07-14 03:32:53 +00:00
DevOps
783a60890d ci: add DEPLOY_KEY secret for canina repo
Some checks failed
Deploy Canina / deploy (push) Failing after 2s
2026-07-13 13:17:29 +00:00
DevOps
a5b1b31ef8 ci: trigger deploy after SSH config fix
Some checks failed
Deploy Canina / deploy (push) Failing after 1s
2026-07-13 13:13:52 +00:00
DevOps
f4dea1f1b0 fix: use canina runner with pre-installed SSH
Some checks failed
Deploy Canina / deploy (push) Failing after 2s
2026-07-13 13:03:47 +00:00
DevOps
d8806542c2 fix: use HTTP Alpine repos for SSH install in CI
Some checks failed
Deploy Canina / deploy (push) Failing after 8m3s
2026-07-13 12:02:10 +00:00
DevOps
1396ad3bd8 fix: use dynamic host IP for SSH in CI
Some checks failed
Deploy Canina / deploy (push) Failing after 3s
2026-07-13 11:50:28 +00:00
DevOps
24000f60dd ci: use canina runner label with pre-installed SSH
Some checks failed
Deploy Canina / deploy (push) Failing after 3s
2026-07-13 11:46:12 +00:00
DevOps
8cda55a36b fix: production URLs, seed __dirname, CI/CD runner with pre-installed SSH
Some checks failed
Deploy Canina / deploy (push) Failing after 3s
2026-07-13 11:38:22 +00:00
parsa aghaei
d953bc4124 chore: prepare for production deployment
Some checks failed
Deploy Canina / deploy (push) Failing after 1m53s
2026-07-12 15:16:34 +03:30