gitlab-runner: Use new registration flow
This commit is contained in:
parent
78af051fd6
commit
8e87d6902c
2 changed files with 1 additions and 15 deletions
|
@ -12,7 +12,7 @@
|
||||||
settings.concurrent = 8;
|
settings.concurrent = 8;
|
||||||
services = {
|
services = {
|
||||||
nix = {
|
nix = {
|
||||||
registrationConfigFile = config.age.secrets."passwords/services/gitlab-runner/registration".path;
|
authenticationTokenConfigFile = config.age.secrets."passwords/services/gitlab-runner/registration".path;
|
||||||
dockerImage = "alpine";
|
dockerImage = "alpine";
|
||||||
dockerVolumes = [
|
dockerVolumes = [
|
||||||
"/nix/store:/nix/store:ro"
|
"/nix/store:/nix/store:ro"
|
||||||
|
@ -42,22 +42,8 @@
|
||||||
PATH = "/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin";
|
PATH = "/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/bin:/sbin:/usr/bin:/usr/sbin";
|
||||||
NIX_SSL_CERT_FILE = "/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt";
|
NIX_SSL_CERT_FILE = "/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt";
|
||||||
};
|
};
|
||||||
tagList = [ "nix" ];
|
|
||||||
requestConcurrency = 4;
|
requestConcurrency = 4;
|
||||||
};
|
};
|
||||||
docker-images = {
|
|
||||||
registrationConfigFile = config.age.secrets."passwords/services/gitlab-runner/registration".path;
|
|
||||||
dockerImage = "docker:stable";
|
|
||||||
dockerVolumes = [
|
|
||||||
"/var/run/docker.sock:/var/run/docker.sock"
|
|
||||||
];
|
|
||||||
tagList = [ "docker-images" ];
|
|
||||||
requestConcurrency = 8;
|
|
||||||
};
|
|
||||||
default = {
|
|
||||||
registrationConfigFile = config.age.secrets."passwords/services/gitlab-runner/registration".path;
|
|
||||||
dockerImage = "debian:stable";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue