disable runner try out hydra
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Christoph Hollizeck 2024-12-28 11:16:22 +01:00
parent 80a42a1570
commit 7ca6dd60b0
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
2 changed files with 41 additions and 31 deletions

View file

@ -41,6 +41,8 @@ in
!**/appsettings.json !**/appsettings.json
''; '';
catppuccin.helix.enable = true;
programs.helix = { programs.helix = {
enable = true; enable = true;
package = helix-pkg; package = helix-pkg;

View file

@ -121,39 +121,47 @@ in
certificateScheme = "acme-nginx"; certificateScheme = "acme-nginx";
}; };
services.gitea-actions-runner = { services.hydra = {
package = pkgs.forgejo-actions-runner; enable = true;
instances.default = { hydraURL = "http://hydra.${domainName}:2000";
enable = true; notificationSender = "hydra@localhost";
name = "monolith"; buildMachinesFiles = [ ];
url = "https://git.${domainName}"; useSubstitutes = true;
tokenFile = config.sops.secrets."forgejo/runner/token".path;
labels = [
"native:host"
];
hostPackages = with pkgs; [
bash
coreutils
curl
gawk
gitMinimal
gnused
nodejs
wget
];
settings = {
log.level = "info";
runner = {
capacity = 1;
timeout = "3h";
shutdown_timeout = "3s";
fetch_timeout = "5s";
fetch_inteval = "2s";
};
};
};
}; };
# services.gitea-actions-runner = {
# package = pkgs.forgejo-actions-runner;
# instances.default = {
# enable = true;
# name = "monolith";
# url = "https://git.${domainName}";
# tokenFile = config.sops.secrets."forgejo/runner/token".path;
# labels = [
# "native:host"
# ];
# hostPackages = with pkgs; [
# bash
# coreutils
# curl
# gawk
# gitMinimal
# gnused
# nodejs
# wget
# ];
# settings = {
# log.level = "info";
# runner = {
# capacity = 1;
# timeout = "3h";
# shutdown_timeout = "3s";
# fetch_timeout = "5s";
# fetch_inteval = "2s";
# };
# };
# };
# };
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
forgejoPort forgejoPort
80 80