mirror of
https://github.com/Dvorinka/Bookra.git
synced 2026-06-03 20:13:00 +00:00
cleanup
This commit is contained in:
+10
-2
@@ -4,9 +4,9 @@
|
||||
|
||||
- CI runs in GitHub Actions from `.github/workflows/ci.yml`.
|
||||
- Frontend CD should stay on Vercel Git deployments.
|
||||
- Backend and auth-service CD should stay on Railway Git autodeploys.
|
||||
- Backend and auth-service can stay on Railway Git autodeploys, or consume GHCR images built by CI.
|
||||
|
||||
This avoids duplicate deployments from both GitHub Actions and platform-native Git integrations.
|
||||
This keeps Vercel/Railway Git deployment simple while still producing immutable backend images on every production push.
|
||||
|
||||
## CI coverage
|
||||
|
||||
@@ -16,6 +16,7 @@ Every pull request, push to `main`, and manual workflow run executes:
|
||||
2. backend `go test` + `go build`
|
||||
3. auth-service `go test` + `go build`
|
||||
4. Docker image builds for `apps/backend` and `apps/auth-service`
|
||||
5. GHCR publishing on push to `main` and manual workflow runs
|
||||
|
||||
Go is pinned to `1.26.2`, the latest stable release at time of setup.
|
||||
|
||||
@@ -51,6 +52,13 @@ Health checks:
|
||||
- backend: `/healthz`
|
||||
- auth-service: `/health`
|
||||
|
||||
Published images:
|
||||
|
||||
- `ghcr.io/<owner>/bookra-backend:<sha|branch|latest>`
|
||||
- `ghcr.io/<owner>/bookra-auth-service:<sha|branch|latest>`
|
||||
|
||||
Use SHA tags for production rollouts. `latest` is emitted only from the default branch.
|
||||
|
||||
## Local mirror of CI
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user