From eda9852f4268ab263ea4aff8f8b481d466eb45cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 12 Mar 2024 16:56:48 +0100 Subject: [PATCH 1/3] reduce number of actions runner --- modules/web01/gitea/actions-runner.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web01/gitea/actions-runner.nix b/modules/web01/gitea/actions-runner.nix index f28f18c..cf7d5b3 100644 --- a/modules/web01/gitea/actions-runner.nix +++ b/modules/web01/gitea/actions-runner.nix @@ -12,7 +12,7 @@ let mkdir -p $out/etc/ssl/certs cp -a "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" $out/etc/ssl/certs/ca-bundle.crt ''; - numInstances = 10; + numInstances = 2; in lib.mkMerge [{ # everything here has no dependencies on the store From e5da04c51eb71819dd44946fb59af94c40de3e34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 12 Mar 2024 17:01:23 +0100 Subject: [PATCH 2/3] web01: set targetHost --- targets/web01/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/web01/configuration.nix b/targets/web01/configuration.nix index 7368f9f..fc0568d 100644 --- a/targets/web01/configuration.nix +++ b/targets/web01/configuration.nix @@ -7,7 +7,7 @@ networking.hostName = "web01"; systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3080:418b::1"; - clan.networking.deploymentAddress = "root@clan.lol"; + clan.networking.targetHost = "root@clan.lol"; clan.networking.ipv4.address = "65.21.12.51"; clan.networking.ipv4.gateway = "65.21.12.1"; clan.networking.ipv6.address = config.systemd.network.networks."10-uplink".networkConfig.Address; From f4175fc9cb6ca4f6ca0ef7227110fa8fbbdaae1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 12 Mar 2024 17:33:43 +0100 Subject: [PATCH 3/3] limit eval worker --- .gitea/workflows/checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index a90c8e6..5671a16 100644 --- a/.gitea/workflows/checks.yaml +++ b/.gitea/workflows/checks.yaml @@ -8,4 +8,4 @@ jobs: runs-on: nix steps: - uses: actions/checkout@v3 - - run: nix run --refresh github:Mic92/nix-fast-build -- --no-nom + - run: nix run --refresh github:Mic92/nix-fast-build -- --no-nom --eval-workers 10