Deployment
xTrakt services deploy to Google Cloud Run through GitHub Actions workflows.
Branch Model
| Branch | Environment |
|---|---|
main | Development deployment |
release/* | Production deployment |
Backend Deployment
- Backend services use a root multi-stage Dockerfile.
- Each service receives configuration from environment variables and GCP Secret Manager.
- Internal NuGet packages are restored from GitHub Packages during CI.
Frontend Deployment
- Frontend builds use
node:20-alpine. - Runtime uses
nginx:alpineon port8080. - The nginx SPA fallback uses
try_files $uri $uri/ /index.html.
Release Checklist
- Confirm the target branch.
- Confirm secrets exist for the target environment.
- Confirm package restore can access GitHub Packages.
- Build and test the changed service.
- Monitor Cloud Run startup and logs after deployment.