git: Remove gitlab docker runner workaround

This commit is contained in:
Charlotte Van Petegem 2023-08-19 12:46:26 +02:00
parent 290514f206
commit 84793d2759
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 99 additions and 4 deletions

View file

@ -13,7 +13,6 @@
services = {
nix = {
registrationConfigFile = config.age.secrets."passwords/services/gitlab-runner/registration".path;
registrationFlags = [ "--docker-host" "tcp://127.0.0.1:2375" ];
dockerImage = "alpine";
dockerVolumes = [
"/nix/store:/nix/store:ro"
@ -48,7 +47,6 @@
};
docker-images = {
registrationConfigFile = config.age.secrets."passwords/services/gitlab-runner/registration".path;
registrationFlags = [ "--docker-host" "tcp://127.0.0.1:2375" ];
dockerImage = "docker:stable";
dockerVolumes = [
"/var/run/docker.sock:/var/run/docker.sock"
@ -58,7 +56,6 @@
};
default = {
registrationConfigFile = config.age.secrets."passwords/services/gitlab-runner/registration".path;
registrationFlags = [ "--docker-host" "tcp://127.0.0.1:2375" ];
dockerImage = "debian:stable";
};
};
@ -66,7 +63,6 @@
virtualisation.docker = {
enable = true;
storageDriver = "zfs";
listenOptions = [ "/run/docker.sock" "127.0.0.1:2375" ];
};
age.secrets."passwords/services/gitlab-runner/registration" = {
file = ../../../secrets/passwords/services/gitlab-runner/registration.age;