Vendor CI reusable workflows locally after infra/ci-workflows failed to resolve.
Remote uses: @v1 never scheduled jobs; keep thin callers against local workflow_call copies until collaborative owners include Trent.
This commit is contained in:
@@ -31,13 +31,17 @@ Unlike VigilCareClinical, there is no gateway service, and the frontend does not
|
||||
|
||||
## 2. CI
|
||||
|
||||
CI is a **thin caller** of shared reusable workflows in `infra/ci-workflows@v1`.
|
||||
Steps are not copied into this repo.
|
||||
CI is a **thin caller** of local reusable workflows
|
||||
(`.gitea/workflows/dotnet8-ci.yml`, `.gitea/workflows/node-ci.yml`). Those files
|
||||
are vendored from the shared `infra/ci-workflows` kit because this repo’s owner
|
||||
is not yet listed under that repo’s Actions **collaborative owners** — remote
|
||||
`uses: infra/ci-workflows/...@v1` fails in 0s with no runner/steps. Switch the
|
||||
caller back to `@v1` once access is granted.
|
||||
|
||||
| Job | Workflow |
|
||||
| --- | --- |
|
||||
| `backend` | `dotnet8-ci.yml@v1` — Postgres/Redis as `services:`, reached by DNS (`Host=postgres`, `redis:6379`) |
|
||||
| `frontend` | `node-ci.yml@v1` — typecheck → unit tests → `vite build` |
|
||||
| `backend` | `dotnet8-ci.yml` — Postgres/Redis as `services:`, reached by DNS (`Host=postgres`, `redis:6379`) |
|
||||
| `frontend` | `node-ci.yml` — typecheck → unit tests → `vite build` |
|
||||
|
||||
A local `changes` job path-filters so a frontend-only push does not start Postgres.
|
||||
`workflow_dispatch` forces both stacks.
|
||||
@@ -47,9 +51,6 @@ the caller maps those in `test_env` to the service containers. MinIO is not star
|
||||
in CI (tests do not drive object storage). Local deps still come from
|
||||
`docker compose up -d postgres redis minio`.
|
||||
|
||||
**Prerequisite:** `infra/ci-workflows` Settings → Actions → collaborative owners
|
||||
must include this repo’s owner.
|
||||
|
||||
---
|
||||
|
||||
## 3. Shared production infrastructure
|
||||
|
||||
Reference in New Issue
Block a user