summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2023-12-11 10:27:46 +0100
committerAdrian Kummerlaender2023-12-11 10:27:46 +0100
commit6ab3686a7c5065e153268af5e26455d8b7b1d3ea (patch)
treeac09126e39936fbc5546bf595987b460284e5d00
parentca94e4afca64f9dc3c2aafbafc9c4ff6cd353a65 (diff)
downloadnixos_system-6ab3686a7c5065e153268af5e26455d8b7b1d3ea.tar
nixos_system-6ab3686a7c5065e153268af5e26455d8b7b1d3ea.tar.gz
nixos_system-6ab3686a7c5065e153268af5e26455d8b7b1d3ea.tar.bz2
nixos_system-6ab3686a7c5065e153268af5e26455d8b7b1d3ea.tar.lz
nixos_system-6ab3686a7c5065e153268af5e26455d8b7b1d3ea.tar.xz
nixos_system-6ab3686a7c5065e153268af5e26455d8b7b1d3ea.tar.zst
nixos_system-6ab3686a7c5065e153268af5e26455d8b7b1d3ea.zip
atlas: Update Gitlab runners
-rw-r--r--host/atlas.nix6
-rw-r--r--host/software/server/runner.nix21
2 files changed, 6 insertions, 21 deletions
diff --git a/host/atlas.nix b/host/atlas.nix
index 1221a98..e7ce146 100644
--- a/host/atlas.nix
+++ b/host/atlas.nix
@@ -69,6 +69,12 @@
tagList = [ "nix" "has-gpu" ];
limit = 1;
};
+ openlb-ci-extra = {
+ executor = "shell";
+ registrationConfigFile = "/etc/gitlab-runner.conf";
+ tagList = [ "nix" "gcc" "clang" "mpi" "cuda" "has-flake" ];
+ limit = 4;
+ };
};
};
diff --git a/host/software/server/runner.nix b/host/software/server/runner.nix
deleted file mode 100644
index a9d5598..0000000
--- a/host/software/server/runner.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- services.gitlab-runner = {
- enable = true;
- services = {
- olbtest = {
- executor = "shell";
- registrationConfigFile = "/etc/gitlab-runner.conf";
- tagList = [ "nixos" ];
- };
- };
- };
-
- users.users.gitlab-runner = {
- isNormalUser = true;
- shell = pkgs.fish;
- };
-
- nix.allowedUsers = [ "gitlab-runner" ];
-}