Add nos-v gitlab runner

This commit is contained in:
Rodrigo Arias 2023-04-11 12:59:21 +02:00
parent 1b5e227095
commit 0ca649b715
3 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,7 @@
{ {
age.secrets."secrets/ovni-token".file = ./secrets/ovni-token.age; age.secrets."secrets/ovni-token".file = ./secrets/ovni-token.age;
age.secrets."secrets/nosv-token".file = ./secrets/nosv-token.age;
services.gitlab-runner = { services.gitlab-runner = {
enable = true; enable = true;
@ -24,6 +25,16 @@
http_proxy = "http://localhost:23080"; http_proxy = "http://localhost:23080";
}; };
}; };
nosv-docker = {
registrationConfigFile = config.age.secrets."secrets/nosv-token".path;
dockerImage = "debian:stable";
tagList = [ "docker" "xeon" ];
registrationFlags = [ "--docker-network-mode host" ];
environmentVariables = {
https_proxy = "http://localhost:23080";
http_proxy = "http://localhost:23080";
};
};
}; };
}; };

View File

@ -5,4 +5,5 @@ let
in in
{ {
"secrets/ovni-token.age".publicKeys = systems; "secrets/ovni-token.age".publicKeys = systems;
"secrets/nosv-token.age".publicKeys = systems;
} }

BIN
secrets/nosv-token.age Normal file

Binary file not shown.