From 51b596ea83813c57ff247ff3bc648b6c457a4212 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 7 Apr 2024 13:47:49 +0200 Subject: [PATCH] service: gitea register --- modules/services/dmz/gitea_runner.nix | 18 +++++++++++++----- secrets/services/gitea/homerunner-token.age | Bin 1189 -> 1189 bytes 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/modules/services/dmz/gitea_runner.nix b/modules/services/dmz/gitea_runner.nix index 5a874f4..cf2869b 100644 --- a/modules/services/dmz/gitea_runner.nix +++ b/modules/services/dmz/gitea_runner.nix @@ -7,6 +7,10 @@ autoPrune.enable = true; dockerCompat = true; }; + containers.containersConf.settings = { + # podman seems to not work with systemd-resolved + containers.dns_servers = [ "8.8.8.8" "8.8.4.4" ]; + }; }; services.gitea-actions-runner.instances = { @@ -18,17 +22,21 @@ labels = [ "home" "debian-latest:docker://node:18-bullseye" + "ubuntu-latest:docker://node:16-bullseye" + "ubuntu-22.04:docker://node:16-bullseye" + "ubuntu-20.04:docker://node:16-bullseye" + "ubuntu-18.04:docker://node:16-buster" "native:host" - "alpine-latest:docker://alpine:latest" - "nix-master:docker://nix:master" ]; hostPackages = with pkgs; [ bash - curl - gitMinimal coreutils - wget + curl + gawk + gitMinimal gnused + nodejs + wget ]; }; }; diff --git a/secrets/services/gitea/homerunner-token.age b/secrets/services/gitea/homerunner-token.age index fb5974c95c1c2b2a137f0eca5aa0792f0f1ee8ff..97529417924bea0e9bcccdbc1262ab7a68e99bc1 100644 GIT binary patch literal 1189 zcmY+DyX)fw0DwV|gSa@|CKMb)&7*lPV%oH6npg8|8U@Mwou+vF2f?Sa0DuUCYiPdFMgB_?+)i6M#fAFXNKh1F$Ttpd@Wzd{=p(|x&A@-Bx@m?n|N zZYoQK63|PKP4ub<CA0Ky7*@%Ju#&4jyU491 zVO31!^1vu&ugAG`8RoX#mm813zm6a?VJo=NQxL}(eQ3M3>s#F;fD4ggNcg5l*zAEK{FOZ%Z~3{|B1A@<&$%dQ z8&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