diff --git a/gitlab-runner.nix b/gitlab-runner.nix index a63fbe7..ecb5118 100644 --- a/gitlab-runner.nix +++ b/gitlab-runner.nix @@ -2,6 +2,7 @@ { age.secrets."secrets/ovni-token".file = ./secrets/ovni-token.age; + age.secrets."secrets/nosv-token".file = ./secrets/nosv-token.age; services.gitlab-runner = { enable = true; @@ -24,6 +25,16 @@ 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"; + }; + }; }; }; diff --git a/secrets.nix b/secrets.nix index 425f8c8..7c5aea7 100644 --- a/secrets.nix +++ b/secrets.nix @@ -5,4 +5,5 @@ let in { "secrets/ovni-token.age".publicKeys = systems; + "secrets/nosv-token.age".publicKeys = systems; } diff --git a/secrets/nosv-token.age b/secrets/nosv-token.age new file mode 100644 index 0000000..b26d482 Binary files /dev/null and b/secrets/nosv-token.age differ