Add Gitea CI/CD and Portainer stack templates
This commit is contained in:
16
README.md
16
README.md
@@ -106,6 +106,22 @@ docker compose run --rm production-orders-sync
|
||||
|
||||
The included `postgres` service is only a local example. In normal deployment, set `DATABASE_URL` to the existing Graphs Postgres database.
|
||||
|
||||
## Gitea Actions + Portainer
|
||||
|
||||
CI/CD is defined in `.gitea/workflows/ci-cd.yml`:
|
||||
|
||||
- run `npm test`
|
||||
- run `npm run check`
|
||||
- build and push the Docker image
|
||||
- trigger the Portainer stack webhook when `PORTAINER_WEBHOOK_URL` is configured
|
||||
|
||||
Portainer stack templates live in `deploy/`:
|
||||
|
||||
- `deploy/portainer-one-shot.yml` for first dry-run checks and backfills
|
||||
- `deploy/portainer-stack.yml` for the long-running recent polling stack
|
||||
|
||||
See `deploy/README.md` for required Gitea secrets and Portainer environment variables.
|
||||
|
||||
## Logs
|
||||
|
||||
The worker logs:
|
||||
|
||||
Reference in New Issue
Block a user