Allows (advanced) configuration of GitLab CI using Nix. https://nix-gitlab-ci.projects.tf
Find a file
2023-12-15 15:39:28 +00:00
ci-image fix: try installing bashInteractive in the image directly 2023-12-15 15:39:28 +00:00
daemon feat!: add daemon to build & especially cache 2023-06-09 16:36:29 +02:00
.gitignore feat!: add daemon to build & especially cache 2023-06-09 16:36:29 +02:00
.gitlab-ci.yml fix(CI): specify correct paths 2023-08-14 15:14:46 +02:00
docker-compose.yml feat!: add daemon to build & especially cache 2023-06-09 16:36:29 +02:00
gitlab-runner-example.toml feat!: add daemon to build & especially cache 2023-06-09 16:36:29 +02:00
README.md feat!: add daemon to build & especially cache 2023-06-09 16:36:29 +02:00

Gitlab Nix Docker Image

Image: technofab/nix-gitlab-ci:latest

This simple image tries to start a Nix devShell from a flake.nix in the repository. It uses the devShell named ci (optionally just link to the default shell, see below).

...
rec {
    default = devenv.lib.mkShell {};
    ci = default;
};
...

Daemon

For caching this uses a separate docker container where a nix-daemon runs in