Migrate to runner authentication token

This commit is contained in:
Jakob Lechner 2024-11-19 22:09:41 +01:00
parent 920294917b
commit 71e302547a

View file

@ -17,13 +17,9 @@
description = "FabLab NEA Hetzner Cloud - labsync image builder";
limit = 5;
executor = "docker+machine";
registrationConfigFile = config.sops.secrets.gitlab-runner_fablab-nea-hcloud-labsync.path;
authenticationTokenConfigFile = config.sops.secrets.gitlab-runner_fablab-nea-hcloud-labsync.path;
dockerImage = "quay.io/official-images/alpine:latest";
dockerPrivileged = true;
tagList = [
"labsync-image"
];
maximumTimeout = 6 * 60 * 60;
registrationFlags = [
"--docker-tlsverify"
"--machine-idle-nodes 0"
@ -35,7 +31,7 @@
"--machine-machine-name gitlabrunner-%s"
] ++ (map (o: "--machine-machine-options=" + o) [
"hetzner-image=debian-12"
"hetzner-server-type=cx11"
"hetzner-server-type=cx22"
"hetzner-server-location=nbg1"
]);
};