Gitlab Runner NixOS Setup in nix-community

I wanted to discuss if it makes sense to put the gitlab runner podman-execturor which serves as a more complex VM test with a quite elaborate runner setup (podman sandboxed, daemon runs in podman as well, 3 image job types etc, its used in production)
into the nix-community project as a demonstration on how one would run such a Gitlab Runner setup.

The more complex VM test is still in nixpkgs and on the maintenance PR
I cannot go forward because there are concerns for maintainability.

So the question is:

  • Could I take out the complex VM test and maintain it in gitlab-runner-nix in nix-community?
  • Docs: maybe leave a link in the current NixOS documentation which points to the example in nix-community repo.
  • Beeing able for more users to contribute and upstream different configuration examples or maintain the original etc.

@Mic92, @adisbladis, @mdaniels5757, @zimbatm, @zowoq

A first good start might be to create a repository with a NixOS module and than take it from there?

2 Likes

I am working on pushing the more elaborate test of the podman-executor to this repository:

the shell-executor should stay in NixOS such that the runner has some very simple VM test.

@Mic92 , @adisbladis, @zimbatm The repository above is finished. Could it be moved to nix-community?

PR take it out from nixpkgs: nixosTest.gitlab.runner: remove podman-executor from tests as too complicated by gabyx · Pull Request #566173 · NixOS/nixpkgs · GitHub
I think the other gitlab maintainers hopefully are
more happy with this approach.