From 0ca649b715884dbc69177a549cb0b46884f4c65b Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 11 Apr 2023 12:59:21 +0200 Subject: [PATCH] Add nos-v gitlab runner --- gitlab-runner.nix | 11 +++++++++++ secrets.nix | 1 + secrets/nosv-token.age | Bin 0 -> 501 bytes 3 files changed, 12 insertions(+) create mode 100644 secrets/nosv-token.age 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 0000000000000000000000000000000000000000..b26d482ab5e0522be3058a61ea400bb213e6c327 GIT binary patch literal 501 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCUl4R$k5NmuYR)7OqH zFE2E%tn$fnDGf48iHs;qcPdQH&dx4K@lOm44h&0;@~Skd$mTN532^rh^f1cvHa1W5 z%}GiN@ia=zat!pS3NA`_%nppqbBd_)O7r*2h(x!|BhsicC|#jI-_)n5+}toUFsGz2 z%GtRrDyyi(Da1I{E8NsE&)c-bEW*q=&(GK_Ba|z}peozPGAPV4!p|opEZH%|-_zAC zBsIf3B&a0NB&W*LAXq!7v`9bSEE!~5s$X(Su)DEtdQoa(ajJr9X{J(SrJ)N~R7F;D zluvQGfxfwGx@W4kQ<`B!NpOCVaYSNLR90T9X}*`Gd4^@8TUJF>xtDg8mtkU1L4H!W zqi=epXH{A*7niQCu7YtzK%|e0dwQ;~cYbcJqiIM*uA^^xx?i}DMW8{LWp<%