woodpecker works, but only with docker...
This commit is contained in:
parent
977c316049
commit
c30f0f5e38
|
@ -10,6 +10,7 @@
|
||||||
users.groups.woodpecker-runner = { };
|
users.groups.woodpecker-runner = { };
|
||||||
# Allow the exec runner to write to build with nix
|
# Allow the exec runner to write to build with nix
|
||||||
nix.settings.allowed-users = [ "woodpecker-runner" ];
|
nix.settings.allowed-users = [ "woodpecker-runner" ];
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
age.secrets.woodpecker-agent-secret.owner = "woodpecker-runner";
|
age.secrets.woodpecker-agent-secret.owner = "woodpecker-runner";
|
||||||
age.secrets.woodpecker-agent-secret.file = "${self}/secrets/woodpecker-agent-secret.age";
|
age.secrets.woodpecker-agent-secret.file = "${self}/secrets/woodpecker-agent-secret.age";
|
||||||
|
@ -37,12 +38,13 @@
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
Environment = [
|
Environment = [
|
||||||
"WOODPECKER_RUNNER_CAPACITY=6"
|
"WOODPECKER_RUNNER_CAPACITY=6"
|
||||||
# "WOODPECKER_RUNNER_NAME=woodpecker-agent"
|
"WOODPECKER_RUNNER_NAME=woodpecker-agent"
|
||||||
"WOODPECKER_SERVER=https://ci.sealight.xyz/"
|
"WOODPECKER_SERVER=ci.sealight.xyz:9000"
|
||||||
# "WOODPECKER_HOSTNAME=mossnet"
|
"WOODPECKER_HOSTNAME=mossnet"
|
||||||
# "WOODPECKER_BACKEND=local"
|
"WOODPECKER_BACKEND=docker"
|
||||||
# "NIX_REMOTE=daemon"
|
"NIX_REMOTE=daemon"
|
||||||
# "PAGER=cat"
|
"PAGER=cat"
|
||||||
|
# "WOODPECKER_PROTO=https"
|
||||||
# "WOODPECKER_LOG_LEVEL=debug"
|
# "WOODPECKER_LOG_LEVEL=debug"
|
||||||
];
|
];
|
||||||
WorkingDirectory = "/var/lib/woodpecker";
|
WorkingDirectory = "/var/lib/woodpecker";
|
||||||
|
|
Loading…
Reference in a new issue