vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
Mask secret values in the log as it is written
e82bbe7ddc584dc54ee57c7ce3b97f933c9e9886 · Keenan Nemetz · 7d ago · parent 4ac42680
Mask secret values in the log as it is written A step that prints a secret by accident used to put it in the attempt log, and the log is streamed to the instance and kept. The runner now replaces every value it was given with *** before the bytes reach the log file, so the copy the server stores never holds one and a value split across two writes is still caught: the mask holds back the last longest-1 bytes and the runner flushes at the end of each step. ci/redact is the one implementation, so a local `vole workflow run` masks its terminal output the same way. Its own error text goes through the same mask, because "the runtime message does not contain a value" should be true rather than assumed. It is best effort, and the docs say where it stops: a re-encoded value does not match, a value shorter than four bytes is left alone because masking every occurrence of it would rewrite the log, and an artifact or a site file is published exactly as the step wrote it. Slice 3 of #154.
docs/cli.md +2−1
| @@ -275,7 +275,8 @@ vole workflow dispatch --remote <name|url> --workflow <path> [--ref <branch>] | |||
| 275 | 275 | `workflow run` executes steps in the working tree, in the job's image. It needs no | |
| 276 | 276 | runner, but it does read the secrets its jobs declare from the instance the | |
| 277 | 277 | checkout's `origin` names, using your key; a value it cannot read is left unset with | |
| 278 | a note. It needs a container runtime; there is no host mode. Both it and | ||
| 278 | a note, and the values it did read are masked in the output. It needs a container | ||
| 279 | runtime; there is no host mode. Both it and | ||
| 279 | 280 | `vole runner` reuse a job cache (see [Runners § Caching](runner.md#caching)). See | |
| 280 | 281 | [Workflows § Check and run a workflow locally](workflows.md#check-and-run-a-workflow-locally). | |
| 281 | 282 | ||