Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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.

Rebuild the docs as a MkDocs site

1f8afe73515d58c14774878f30f33bfe318d0c3b · Keenan Nemetz · 21d ago · parent 7c02af12

Rebuild the docs as a MkDocs site

Replace the mdBook configuration with MkDocs and a local theme that uses
Vole's Everforest dark/medium palette. Move the contents order into nav,
make docs/index.md the homepage, and carry the install, quickstart,
deployment, and reference pages into the new tree.

Add the docs build to verify, with pinned requirements and python3-venv in
the image, so a broken nav entry or theme asset fails before a pages
deploy.

docs/workflows.md +10−18

@@ -264,25 +264,17 @@ jobs:
264 264 - run: go test ./...
265 265 ```
266 266
267 `image-file: go` resolves `.vole/images/go.yaml`. For the complete definition
268 schema, see the [Image reference](reference/image-reference.md). A definition has:
269
270 | Field | Meaning |
271 |---|---|
272 | `version` | Required; currently `1` |
273 | `from` | Required base image reference |
274 | `env` | Optional environment variables for the image |
275 | `run` | Optional build commands; each becomes a `RUN` |
276
277 Definitions are validated when the workflow is pushed, including definitions
278 that are not referenced, and they are pinned with the run. The runner builds the
279 image locally and tags it by the definition digest, so later jobs with the same
267 `image-file: go` resolves `.vole/images/go.yaml`, which needs `version: 1`, a
268 base `from`, and optionally `env` and `run`. The [Image
269 reference](reference/image-reference.md) has the whole schema, the limits, and a
270 complete example.
271
272 A definition is validated when the workflow is pushed, including definitions that
273 are not referenced, and it is pinned with the run. The runner builds the image
274 locally and tags it by the definition digest, so later jobs with the same
280 275 definition reuse the build. See [Runners § Images](runner.md#images-and-image-builds)
281 for the execution, caching, and security details.
282
283 An image definition is code: its build runs on the runner through the OCI
284 builder, so approving a contributor tip that changes a definition also approves
285 that build. Prefer rootless Podman and pin the base image by digest.
276 for the execution, caching, and security details, including why a definition that
277 changes on a contributor branch is a build worth reviewing.
286 278
287 279 The image is the dependency manifest. It should contain the toolchains and system
288 280 packages the builds need, plus `/bin/sh` and a POSIX `sleep` (Vole runs shell steps