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; unstable = inputs.nixpkgs-nixos-unstable;
package = unstable.legacyPackages."${system}".gitea-actions-runner; package = unstable.legacyPackages."${system}".forgejo-runner;
in { in {
disabledModules = ["services/continuous-integration/gitea-actions-runner.nix"];
disabledModules =
[ "services/continuous-integration/gitea-actions-runner.nix" ];
imports = [ imports = [
"${unstable}/nixos/modules/services/continuous-integration/gitea-actions-runner.nix" "${unstable}/nixos/modules/services/continuous-integration/gitea-actions-runner.nix"
]; ];
@ -27,6 +31,9 @@ in {
url = "https://git.cyplo.dev"; url = "https://git.cyplo.dev";
tokenFile = config.sops.secrets."gitea-runner-token".path; tokenFile = config.sops.secrets."gitea-runner-token".path;
name = "cupsnet local"; name = "cupsnet local";
settings = {
runner.capacity = 2;
};
hostPackages = with pkgs; [ hostPackages = with pkgs; [
bash bash
coreutils coreutils