Gitlab runner: Difference between revisions

imported from old wiki
Gabyx (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
As of 20.09 NixOS comes with a revamped gitlab-runner module which provides the capabilities to set up custom to meet your needs.
As of 20.09 NixOS comes with a revamped gitlab-runner module which provides the capabilities to set up custom to meet your needs.
The {{nixos:option|services.gitlab-runner.services}} documents a number of typical setups and this article gives an overview of some of the more complex setups.
The {{nixos:option|services.gitlab-runner.services}} documents a number of typical setups and this article gives an overview of some of the more complex setups.
The NixOS manual [https://nixos.org/manual/nixos/unstable/#module-services-gitlab-runner gives an extensive runner example (the VM test)] which demonstrates the following features:
* a <code>docker</code>-executor using <code>podman</code> and serving a containerized Nix Store daemon among all jobs.
* Multiple Gitlab job container images which work with <code>nix</code>.
The following examples give some motivations for the above.


== Configuring a caching dockerized gitlab build runner ==
== Configuring a caching dockerized gitlab build runner ==