Forgejo runners on nixos using disko for extra fast provisioning.
Find a file
2024-09-13 19:58:13 -05:00
.forgejo/workflows PR --> Build --> Merge --> Deploy 2024-08-07 20:09:36 -05:00
.taskfiles add profile 2024-09-13 19:58:13 -05:00
.vscode restructuring 2024-09-07 14:50:44 -05:00
cachix Build caching. 2024-05-23 12:22:57 -05:00
profiles fix file path 2024-09-13 18:27:50 -05:00
.editorconfig restructuring 2024-09-07 14:50:44 -05:00
.envrc Add shell for nix 2024-05-18 10:34:43 -05:00
.gitignore added automation scripts for easy agent rebuilds. 2024-09-13 17:16:21 -05:00
.sops.yaml replace sops key 2024-07-15 20:31:54 -05:00
cachix.nix Build caching. 2024-05-23 12:22:57 -05:00
disko-hetzner-cloud.nix Update device. 2024-05-14 12:33:41 -05:00
disko-shadowfax.nix restructuring 2024-09-07 14:50:44 -05:00
flake.lock flake lock update 2024-09-07 13:49:28 -05:00
flake.nix fix file path 2024-09-13 18:27:50 -05:00
README.md restructuring 2024-09-13 18:21:12 -05:00
renovate.json disable lockfile maint. by renovate. 2024-08-07 19:34:03 -05:00
shell.nix packages already in system 2024-08-07 19:40:21 -05:00
Taskfile.yaml Add sops taskfile 2024-05-14 12:48:04 -05:00

Incus VM Build and Deploy

Build

nix build .#nixosConfigurations.fj-lxc-vm-x86_64.config.system.build.qemuImage --print-out-paths
nix build .#nixosConfigurations.fj-lxc-vm-x86_64.config.system.build.metadata --print-out-paths

Deploy

incus image import --alias nixos-gen/custom/fj-lxc-vm-x86_64 ${metadatapath}/tarball/nixos-system-x86_64-linux.tar.xz ${qemuimageoutputpath}/nixos.qcow2
incus file push "$TOKEN_FILE" "$INCUS_INSTANCE/var/lib/forgejo/$TOKEN_FILE" --mode 400

Runner machine types

Notice: The runners only run on VMs. No baremetal runners are available.

Hetzner/x86 Hetzner/aarch64 lxc-vm/x86

Tags used

Runner Tags

tag description
docker docker nodes
docker-x86_64:docker://node:20-bullseye specifically the debian bullseye with node 20 docker image
x86_64 x86 builders only
aarch64 ARM builders only
linux Specify if linux
remote only use offsite runners
native-aarch64:host run on runner host -- not docker