Fix connection to woodpecker

This commit is contained in:
Charlotte 🦝 Delenk 2023-04-08 19:52:11 +01:00
parent 25cb6722c5
commit 8bf1bb9b0b
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 9 additions and 2 deletions

View file

@ -10,7 +10,7 @@
services.woodpecker-agents.agents.main = { services.woodpecker-agents.agents.main = {
enable = true; enable = true;
environment = { environment = {
WOODPECKER_SERVER = "https://woodpecker.int.chir.rs/"; WOODPECKER_SERVER = "woodpecker.int.chir.rs:9000";
WOODPECKER_BACKEND = "docker"; WOODPECKER_BACKEND = "docker";
DOCKER_HOST = "unix:///run/docker.sock"; DOCKER_HOST = "unix:///run/docker.sock";
}; };

View file

@ -84,6 +84,12 @@
"src": ["tag:devDevice"], "src": ["tag:devDevice"],
"dst": ["tag:nas:8384", "tag:nas:631"] "dst": ["tag:nas:8384", "tag:nas:631"]
} }
// Woodpecker agents
{
"action": "accept",
"src": ["tag:woodpeckerRunner"],
"dst": ["tag:nas:9000"]
}
], ],
"tagOwners": { "tagOwners": {
@ -97,6 +103,7 @@
"tag:buildserver": ["DarkKirb@github"], "tag:buildserver": ["DarkKirb@github"],
"tag:devDevice": ["DarkKirb@github"], "tag:devDevice": ["DarkKirb@github"],
"tag:server": ["DarkKirb@github"], "tag:server": ["DarkKirb@github"],
"tag:syncthing": ["DarkKirb@github"] "tag:syncthing": ["DarkKirb@github"],
"tag:woodpeckerRunner": ["DarkKirb@github"],
} }
} }