From dca274d0201caa2b258ae220fd320341dc963663 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 5 Sep 2023 16:24:27 +0200 Subject: [PATCH] Unlock ovni gitlab runners --- m/hut/gitlab-runner.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/m/hut/gitlab-runner.nix b/m/hut/gitlab-runner.nix index d640de9..d9fedb5 100644 --- a/m/hut/gitlab-runner.nix +++ b/m/hut/gitlab-runner.nix @@ -12,6 +12,10 @@ registrationConfigFile = config.age.secrets.ovniToken.path; executor = "shell"; tagList = [ "nix" "xeon" ]; + registrationFlags = [ + # Using space doesn't work, and causes it to misread the next flag + "--locked='false'" + ]; environmentVariables = { SHELL = "${pkgs.bash}/bin/bash"; }; @@ -20,7 +24,10 @@ registrationConfigFile = config.age.secrets.ovniToken.path; dockerImage = "debian:stable"; tagList = [ "docker" "xeon" ]; - registrationFlags = [ "--docker-network-mode host" ]; + registrationFlags = [ + "--locked='false'" + "--docker-network-mode host" + ]; environmentVariables = { https_proxy = "http://localhost:23080"; http_proxy = "http://localhost:23080";