Compare commits

..

3 commits

Author SHA1 Message Date
149b5c8da7 Run CI on nix
All checks were successful
CI / build (push) Successful in 2m29s
2024-10-03 14:54:51 +03:00
565bc286a3 Remove defunct nixos auto upgrade 2024-10-03 14:50:47 +03:00
84d85a5056 Use specific git forgejo CI 2024-10-03 14:50:47 +03:00

View file

@ -1,20 +1,7 @@
# Git CI Runner # Git CI Runner
Runner for the [Forgejo git instance](../git/README.md). Runner for the [Forgejo git instance](../git/README.md).
Currently registers a default runner with ubuntu OS.
## Default docker/ubuntu Runner
Registers a default runner with ubuntu OS or executes user's OCI container with podman.
## Nix runner
We provide a `runs-on: nix` runner which executes nix commands in a nix user environment on the build server.
Uses previously built derivations, which speeds up builds. Note that user-configured substitutors do not work (this is currently nix limitation of nix.)
⚠️ Builds use the system's nix-store in a unpriviledged mode, so derivations may be seen and used by other builds by this runner.
Consequentially, don't use to build nix things that should stay secret (which is a bad idea anyway).
## Create Secret Token ## Create Secret Token