vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Replace the runner allowlist with a runner role
648cd81bde97042f682a528ebb9ce6353b95bf3f · Keenan Nemetz · 1d ago · parent ea92d754
docs/workflows.md +18−5
| @@ -276,8 +276,9 @@ A missing value leaves the variable unset and adds a note to the log. The shell | |||
| 276 | 276 | check above makes it required instead. Vole masks delivered values in logs, but | |
| 277 | 277 | not transformed values or files published as artifacts and sites. | |
| 278 | 278 | ||
| 279 | Anyone controlling a trusted runner can read secrets declared by its jobs. Allow | ||
| 280 | CI only for code you would trust with those values. See | ||
| 279 | Every account that may run this repository's jobs can read the secrets those jobs | ||
| 280 | declare. That is the `runner` role, plus maintainers and admins. Allow CI only for | ||
| 281 | code you would trust with those values. See | ||
| 281 | 282 | [`secrets`](reference/workflow-reference.md#secrets) and | |
| 282 | 283 | [runner trust](runner.md#the-runners-account). | |
| 283 | 284 | ||
| @@ -297,7 +298,9 @@ jobs: | |||
| 297 | 298 | ||
| 298 | 299 | A pattern that matches nothing fails the job. Vole also rejects duplicate base | |
| 299 | 300 | names. Run artifacts remain attached to their run and are separate from release | |
| 300 | artifacts. See [`artifacts`](reference/workflow-reference.md#artifacts). | ||
| 301 | artifacts. The runner that builds the job needs the `runner` role; `read` alone | ||
| 302 | cannot lease a job or upload an artifact. See | ||
| 303 | [`artifacts`](reference/workflow-reference.md#artifacts). | ||
| 301 | 304 | ||
| 302 | 305 | ## Build a release | |
| 303 | 306 | ||
| @@ -345,8 +348,18 @@ jobs: | |||
| 345 | 348 | ||
| 346 | 349 | Only one job in a workflow can publish the site. Vole refuses to deploy when the | |
| 347 | 350 | branch has moved beyond the commit the run built, preventing an older build from | |
| 348 | rolling the site back. Combined merge-result runs never deploy. See | ||
| 349 | [Sites](sites.md) and [`pages`](reference/workflow-reference.md#pages). | ||
| 351 | rolling the site back. Combined merge-result runs never deploy. | ||
| 352 | |||
| 353 | The runner that publishes must hold the `runner` role (maintainers and admins | ||
| 354 | count implicitly): | ||
| 355 | |||
| 356 | ```sh | ||
| 357 | vole admin acl set-role demo ci-runner-1 runner | ||
| 358 | ``` | ||
| 359 | |||
| 360 | That role, not `read`, authorizes the push to the instance's `pages_ref` branch. | ||
| 361 | It grants no other branch. See [Sites](sites.md) and | ||
| 362 | [`pages`](reference/workflow-reference.md#pages). | ||
| 350 | 363 | ||
| 351 | 364 | ## Dispatch and inspect runs | |
| 352 | 365 | ||