add more action runners
All checks were successful
All checks were successful
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
b794dbda7b
commit
70cbb2fdee
@ -8,27 +8,75 @@ let
|
|||||||
act_path = vars.primary_act;
|
act_path = vars.primary_act;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
virtualisation.oci-containers.containers.act-stable-latest-1 = {
|
virtualisation.oci-containers.containers = {
|
||||||
image = "gitea/act_runner:latest";
|
act-stable-latest-1 = {
|
||||||
extraOptions = [
|
image = "gitea/act_runner:latest";
|
||||||
"--stop-signal=SIGINT"
|
extraOptions = [
|
||||||
];
|
"--stop-signal=SIGINT"
|
||||||
labels = {
|
];
|
||||||
"com.centurylinklabs.watchtower.enable" = "true";
|
labels = {
|
||||||
"com.centurylinklabs.watchtower.scope" = "act-runner";
|
"com.centurylinklabs.watchtower.enable" = "true";
|
||||||
|
"com.centurylinklabs.watchtower.scope" = "act-runner";
|
||||||
|
};
|
||||||
|
ports = [ "8088:8088" ];
|
||||||
|
volumes = [
|
||||||
|
"${act_path}/stable-latest-1/config.yaml:/config.yaml"
|
||||||
|
"${act_path}/stable-latest-1/data:/data"
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
CONFIG_FILE = "/config.yaml";
|
||||||
|
GITEA_RUNNER_NAME = "stable-latest-1";
|
||||||
|
};
|
||||||
|
environmentFiles = [ config.sops.secrets."docker/act-runner".path ];
|
||||||
|
log-driver = "local";
|
||||||
};
|
};
|
||||||
ports = [ "8088:8088" ];
|
|
||||||
volumes = [
|
act-stable-latest-2 = {
|
||||||
"${act_path}/stable-latest-1/config.yaml:/config.yaml"
|
image = "gitea/act_runner:latest";
|
||||||
"${act_path}/stable-latest-1/data:/data"
|
extraOptions = [
|
||||||
"/var/run/docker.sock:/var/run/docker.sock"
|
"--stop-signal=SIGINT"
|
||||||
];
|
];
|
||||||
environment = {
|
labels = {
|
||||||
CONFIG_FILE = "/config.yaml";
|
"com.centurylinklabs.watchtower.enable" = "true";
|
||||||
GITEA_RUNNER_NAME = "stable-latest-1";
|
"com.centurylinklabs.watchtower.scope" = "act-runner";
|
||||||
|
};
|
||||||
|
ports = [ "8088:8088" ];
|
||||||
|
volumes = [
|
||||||
|
"${act_path}/stable-latest-2/config.yaml:/config.yaml"
|
||||||
|
"${act_path}/stable-latest-2/data:/data"
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
CONFIG_FILE = "/config.yaml";
|
||||||
|
GITEA_RUNNER_NAME = "stable-latest-2";
|
||||||
|
};
|
||||||
|
environmentFiles = [ config.sops.secrets."docker/act-runner".path ];
|
||||||
|
log-driver = "local";
|
||||||
|
};
|
||||||
|
|
||||||
|
act-stable-latest-3 = {
|
||||||
|
image = "gitea/act_runner:latest";
|
||||||
|
extraOptions = [
|
||||||
|
"--stop-signal=SIGINT"
|
||||||
|
];
|
||||||
|
labels = {
|
||||||
|
"com.centurylinklabs.watchtower.enable" = "true";
|
||||||
|
"com.centurylinklabs.watchtower.scope" = "act-runner";
|
||||||
|
};
|
||||||
|
ports = [ "8088:8088" ];
|
||||||
|
volumes = [
|
||||||
|
"${act_path}/stable-latest-3/config.yaml:/config.yaml"
|
||||||
|
"${act_path}/stable-latest-3/data:/data"
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
CONFIG_FILE = "/config.yaml";
|
||||||
|
GITEA_RUNNER_NAME = "stable-latest-3";
|
||||||
|
};
|
||||||
|
environmentFiles = [ config.sops.secrets."docker/act-runner".path ];
|
||||||
|
log-driver = "local";
|
||||||
};
|
};
|
||||||
environmentFiles = [ config.sops.secrets."docker/act-runner".path ];
|
|
||||||
log-driver = "local";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user