host/istal: add runner for codeberg
This commit is contained in:
parent
53fca9c808
commit
9e7589ee36
4 changed files with 22 additions and 6 deletions
Binary file not shown.
|
@ -1,7 +1,11 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
NODE_OPTIONS = "--max_old_space_size=4096";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
age.secrets.forgejo-runner-docker-token.file = ./forgejo-runner-docker-token.age;
|
age.secrets.forgejo-runner-token-istal-docker.file = ./forgejo-runner-token-istal-docker.age;
|
||||||
|
age.secrets.forgejo-runner-token-codeberg-docker.file = ./forgejo-runner-token-codeberg-docker.age;
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
|
@ -12,13 +16,25 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "istal-docker";
|
name = "istal-docker";
|
||||||
url = "https://git.pleshevski.ru";
|
url = "https://git.pleshevski.ru";
|
||||||
labels = [];
|
labels = [ ];
|
||||||
tokenFile = config.age.secrets.forgejo-runner-docker-token.path;
|
tokenFile = config.age.secrets.forgejo-runner-token-istal-docker.path;
|
||||||
settings = {
|
settings = {
|
||||||
runner = {
|
runner = {
|
||||||
envs = {
|
envs = { inherit NODE_OPTIONS; };
|
||||||
NODE_OPTIONS="--max_old_space_size=4096";
|
|
||||||
};
|
timeout = "1h";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
codeberg-docker = {
|
||||||
|
enable = true;
|
||||||
|
name = "codeberg-docker";
|
||||||
|
url = "https://codeberg.org";
|
||||||
|
labels = [ ];
|
||||||
|
tokenFile = config.age.secrets.forgejo-runner-token-codeberg-docker.path;
|
||||||
|
settings = {
|
||||||
|
runner = {
|
||||||
|
envs = { inherit NODE_OPTIONS; };
|
||||||
|
|
||||||
timeout = "1h";
|
timeout = "1h";
|
||||||
};
|
};
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue