Commit Graph

5 Commits

Author SHA1 Message Date
root
b275653d3a Update secret ID to match Dockerfile changes
Update from gitea_npm_token to gitea_npm_token_v2 to match
Dockerfile changes and bypass BuildKit secret cache.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 05:14:46 +00:00
root
5d55bd1720 Add interactive menu and package checks to deployment script
- Add interactive numbered menu for manual deployments (7 options)
- Add --no-cache flag support for forcing Docker rebuilds
- Add package publication verification before Docker build
- Display configuration summary before deployment
- Maintain backward compatibility with CLI arguments

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-12 03:39:39 +00:00
root
72b678b9c7 feat(deploy): bake build metadata (commit/branch/timestamp) into images
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
deploy-invttrdg.sh passes git-derived build args to backend and web Dockerfiles
via a build_image() helper. These surface in the new /api/devops/info endpoint
and the DevOps tab in Settings.

Auto-resolves GITEA_NPM_TOKEN from /opt/bytelyst/.gitea_token if unset, and
switches to direct docker build (--secret) instead of docker compose build
(which doesn't support --secret).

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 04:58:22 +00:00
root
bdf0fba468 fix(deployment): correct repo paths for deployment scripts when run from devops-tools directory 2026-05-09 21:49:49 +00:00
root
ca085ce63e Add production deployment scripts for ByteLyst services
- deploy-invttrdg.sh: Single-repo deployment for trading platform
  * Dirty checks (uncommitted changes, unpushed commits)
  * Pre-deployment smoke tests (backend contracts, web DOM tests)
  * Docker build and deployment (backend + web)
  * Post-deployment validation (health checks, endpoint verification)
  * Comprehensive smoke testing for production-grade deployment

- deploy-all.sh: Multi-repo deployment orchestration
  * Deploy all 4 production repos or specific ones
  * Same safety checks and deployment process for each repo
  * Health checks for all services

- DEPLOYMENT_GUIDE.md: Complete deployment documentation
  * Usage instructions for both scripts
  * Service endpoint mappings
  * Troubleshooting guide
  * Docker management commands

These scripts enable safe, tested production deployments with
comprehensive validation at every stage.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-09 21:42:58 +00:00