Fix connection to woodpecker
This commit is contained in:
parent
25cb6722c5
commit
8bf1bb9b0b
2 changed files with 9 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue