CI runner capacity of 2 simultaneous jobs
Some checks failed
use nix / build (push) Failing after 6s

This commit is contained in:
Cyryl Płotnicki 2024-04-21 18:13:48 +01:00
parent 238024c25a
commit ae6ea8fe04

View file

@ -1,11 +1,15 @@
{ config, pkgs, inputs, lib, system, ... }:
let
{
config,
pkgs,
inputs,
lib,
system,
...
}: let
unstable = inputs.nixpkgs-nixos-unstable;
package = unstable.legacyPackages."${system}".gitea-actions-runner;
package = unstable.legacyPackages."${system}".forgejo-runner;
in {
disabledModules =
[ "services/continuous-integration/gitea-actions-runner.nix" ];
disabledModules = ["services/continuous-integration/gitea-actions-runner.nix"];
imports = [
"${unstable}/nixos/modules/services/continuous-integration/gitea-actions-runner.nix"
];
@ -17,7 +21,7 @@ in {
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
daemon.settings = { };
daemon.settings = {};
};
services.gitea-actions-runner = {
@ -27,6 +31,9 @@ in {
url = "https://git.cyplo.dev";
tokenFile = config.sops.secrets."gitea-runner-token".path;
name = "cupsnet local";
settings = {
runner.capacity = 2;
};
hostPackages = with pkgs; [
bash
coreutils