woodpecker works, but only with docker...

This commit is contained in:
Anish Lakhwara 2022-12-27 14:24:38 +10:00
parent 977c316049
commit c30f0f5e38

View file

@ -10,6 +10,7 @@
users.groups.woodpecker-runner = { };
# Allow the exec runner to write to build with nix
nix.settings.allowed-users = [ "woodpecker-runner" ];
virtualisation.docker.enable = true;
age.secrets.woodpecker-agent-secret.owner = "woodpecker-runner";
age.secrets.woodpecker-agent-secret.file = "${self}/secrets/woodpecker-agent-secret.age";
@ -37,12 +38,13 @@
Type = "simple";
Environment = [
"WOODPECKER_RUNNER_CAPACITY=6"
# "WOODPECKER_RUNNER_NAME=woodpecker-agent"
"WOODPECKER_SERVER=https://ci.sealight.xyz/"
# "WOODPECKER_HOSTNAME=mossnet"
# "WOODPECKER_BACKEND=local"
# "NIX_REMOTE=daemon"
# "PAGER=cat"
"WOODPECKER_RUNNER_NAME=woodpecker-agent"
"WOODPECKER_SERVER=ci.sealight.xyz:9000"
"WOODPECKER_HOSTNAME=mossnet"
"WOODPECKER_BACKEND=docker"
"NIX_REMOTE=daemon"
"PAGER=cat"
# "WOODPECKER_PROTO=https"
# "WOODPECKER_LOG_LEVEL=debug"
];
WorkingDirectory = "/var/lib/woodpecker";