Add runner for gitlab.bsc.es

This commit is contained in:
2023-09-28 14:11:30 +02:00
committed by rodarima
parent ebc5c4d84f
commit 9874da566d
3 changed files with 25 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
{
age.secrets.ovniToken.file = ../../secrets/ovni-token.age;
age.secrets.gitlabToken.file = ../../secrets/gitlab-bsc-es-token.age;
age.secrets.nosvToken.file = ../../secrets/nosv-token.age;
services.gitlab-runner = {
@@ -20,6 +21,18 @@
SHELL = "${pkgs.bash}/bin/bash";
};
};
gitlab-bsc-es-shell = {
registrationConfigFile = config.age.secrets.gitlabToken.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";
};
};
ovni-docker = {
registrationConfigFile = config.age.secrets.ovniToken.path;
dockerImage = "debian:stable";