vole
Clone
Read only, no credentials:
https://rodent.software/git/vole.git
Write over SSH with a registered key:
git clone ssh://git@0.0.0.0:2222/vole.git
A free and open-source forge that lives in your Git repo.
Declare the network the repository's workflows need
029e1b9313ad7579c7c7a7b25993d2d9832893de · Keenan Nemetz · 5d ago · parent c1929d2f
.vole/workflows/release.yaml +5−4
| @@ -5,10 +5,10 @@ | |||
| 5 | 5 | # (git tag -a v0.2.0 -F notes.md). Every file below lands on that release page | |
| 6 | 6 | # through `release: true`; nothing is uploaded anywhere else. | |
| 7 | 7 | # | |
| 8 | # The runner must be able to reach the network: `go build` fetches modules, and a | ||
| 9 | # job container has no network unless the runner was started with | ||
| 10 | # `--container-network bridge`. The image build itself already needs the network; | ||
| 11 | # it carries the packaging tools (see .vole/images/release.yaml). | ||
| 8 | # The job declares network: bridge because `go build` fetches modules; it is only | ||
| 9 | # leased to a runner started with `--container-network bridge`. The image build | ||
| 10 | # itself already needs the network; it carries the packaging tools (see | ||
| 11 | # .vole/images/release.yaml). | ||
| 12 | 12 | # | |
| 13 | 13 | # No runs-on: the binaries are cross-compiled, so any runner that can start a | |
| 14 | 14 | # Linux container produces the same four packages. The image carries the cgo | |
| @@ -21,6 +21,7 @@ on: | |||
| 21 | 21 | jobs: | |
| 22 | 22 | release: | |
| 23 | 23 | image-file: release | |
| 24 | network: bridge | ||
| 24 | 25 | steps: | |
| 25 | 26 | # A tag can point at a commit that never passed branch CI. Fail before | |
| 26 | 27 | # anything is built, because release files cannot be removed afterwards. | |