Elias Coppens
e8d8e8ccff
Some checks failed
Check workflows / check_workflows (pull_request) Failing after 0s
Build all the nodes / ap01 (pull_request) Failing after 0s
Build all the nodes / bridge01 (pull_request) Failing after 0s
Build all the nodes / build01 (pull_request) Failing after 0s
Build all the nodes / hypervisor01 (pull_request) Failing after 0s
Build all the nodes / hypervisor02 (pull_request) Failing after 0s
Build all the nodes / hypervisor03 (pull_request) Failing after 0s
Build all the nodes / netcore02 (pull_request) Failing after 0s
Build all the nodes / rescue01 (pull_request) Failing after 0s
Build all the nodes / storage01 (pull_request) Failing after 0s
Build all the nodes / tower01 (pull_request) Failing after 0s
Build all the nodes / vault01 (pull_request) Failing after 0s
Build all the nodes / web01 (pull_request) Failing after 0s
Build all the nodes / web02 (pull_request) Failing after 0s
Build all the nodes / web03 (pull_request) Failing after 0s
Check meta / check_dns (pull_request) Successful in 21s
Run pre-commit on all files / pre-commit (pull_request) Failing after 0s
Check meta / check_meta (pull_request) Successful in 26s
Run pre-commit on all files / pre-commit (push) Successful in 45s
Build all the nodes / compute01 (pull_request) Failing after 54s
Build all the nodes / geo01 (pull_request) Failing after 53s
Build all the nodes / geo02 (pull_request) Failing after 53s
Build the shell / build-shell (pull_request) Successful in 43s
48 lines
872 B
Nix
48 lines
872 B
Nix
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
#
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
_:
|
|
|
|
let
|
|
url = "https://git.dgnum.eu";
|
|
|
|
mkRunner =
|
|
{
|
|
labels,
|
|
name,
|
|
token,
|
|
}:
|
|
{
|
|
enable = true;
|
|
|
|
inherit
|
|
name
|
|
labels
|
|
token
|
|
url
|
|
;
|
|
|
|
settings.container = {
|
|
network = "host";
|
|
options = "--cpus=4";
|
|
};
|
|
};
|
|
in
|
|
{
|
|
services.gitea-actions-runner.instances = builtins.mapAttrs (_: mkRunner) {
|
|
runner01 = {
|
|
token = "qT9nZXKgLcb3fWOj7VTj3S58raiCWwF0weuIIKlY";
|
|
name = "storage01 [debian]";
|
|
|
|
labels = [ "debian-latest:docker://node:20-bookworm" ];
|
|
};
|
|
|
|
runner02 = {
|
|
token = "m0rUDBxxkMb6xLTmPFwIieHswJFROqPFByPlT3V9";
|
|
name = "storage01 [debian]";
|
|
|
|
labels = [ "debian-latest:docker://node:20-bookworm" ];
|
|
};
|
|
};
|
|
}
|