chadtmiller.com/monolith
An atproto PDS
0
0
The nightly workflow may be asked for at a branch
.knotless/workflows/nightly.yml+4−2
| @@ -1,5 +1,7 @@ | ||
# The nightly gates, as `just nightly` runs them, on main's tip every night | ||
# at 10:00 UTC, and when the owner asks: the long crash runs, the server | ||
# at 10:00 UTC, and when the owner asks, on main or on a branch (`knotless | ||
# run rerun <repo> --ref refs/heads/<branch> --workflow nightly`), as for a | ||
# pull that changes how the server stores: the long crash runs, the server | ||
# killed while it writes every 15 steps over runs of 1000, several at once; | ||
# then the runs that time the server, alone. Too long to make every pull | ||
# wait on (gates.yml runs a short crashing run instead); a failure here is | ||
| @@ -12,7 +14,7 @@ runners: [runner.knotless.dev] | ||
on: | ||
schedule: | ||
- cron: '0 10 * * *' | ||
asked: {refs: [refs/heads/main]} | ||
asked: {refs: [refs/heads/*]} | ||
cache: [target, /usr/local/cargo/registry, /usr/local/rustup, /opt/node, harness/node_modules, web/node_modules] | ||
steps: | ||
- uses: chadtmiller.com/steps/node@1 | ||
docs/guide/contributing.md+3−1
| @@ -51,10 +51,12 @@ starts. | ||
The `nightly` workflow | ||
([`.knotless/workflows/nightly.yml`](../../.knotless/workflows/nightly.yml)) | ||
runs them on `main`'s tip every night at 10:00 UTC, and when the owner | ||
asks: | ||
asks, on `main` or on a branch, as for a pull that changes how the server | ||
stores: | ||
| ||
```sh | ||
knotless run rerun --ref main --workflow nightly | ||
knotless run rerun --ref refs/heads/<branch> --workflow nightly | ||
``` | ||
| ||
## The code gates | ||