CI runner capacity of 2 simultaneous jobs
Some checks failed
use nix / build (push) Failing after 6s
Some checks failed
use nix / build (push) Failing after 6s
This commit is contained in:
parent
238024c25a
commit
ae6ea8fe04
1 changed files with 14 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue