viola: upstream
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
bcb7f2dcb0
commit
793b14918a
34 changed files with 1320 additions and 326 deletions
|
|
@ -1,19 +1,40 @@
|
|||
_: {
|
||||
{lib, ...}: {
|
||||
services = {
|
||||
woodpecker-server = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
environment = {
|
||||
WOODPECKER_OPEN = "true";
|
||||
WOODPECKER_OPEN = toString true;
|
||||
WOODPECKER_ADMINS = "s0me1newithhand7s";
|
||||
WOODPECKER_DATABASE_DRIVER = "postgres";
|
||||
WOODPECKER_DATABASE_DATASOURCE = "${pqsql_socket}";
|
||||
WOODPECKER_SERVER_ADDR = "${ciport1}";
|
||||
WOODPECKER_GRPC_ADDR = "${ciport1}";
|
||||
WOODPECKER_HOST = "https://cicd.hand7s.org";
|
||||
WOODPECKER_SERVER_ADDR = ":53351";
|
||||
WOODPECKER_GRPC_ADDR = ":53352";
|
||||
WOODPECKER_HOST = "https://woodpecker.hand7s.org";
|
||||
|
||||
WOODPECKER_FORGEJO = "true";
|
||||
WOODPECKER_AGENT_SECRET = lib.hashString "md5" "woodpeckerAgent";
|
||||
|
||||
WOODPECKER_FORGEJO = toString true;
|
||||
WOODPECKER_FORGEJO_URL = "https://git.hand7s.org";
|
||||
WOODPECKER_FORGEJO_CLIENT = "${cisecret1}";
|
||||
FORGEJO_SECRET = "${cisecret2}";
|
||||
WOODPECKER_FORGEJO_CLIENT = lib.hashString "md5" "replaceme1";
|
||||
WOODPECKER_FORGEJO_SECRET = lib.hashString "md5" "replaceme2";
|
||||
};
|
||||
};
|
||||
|
||||
woodpecker-agents = {
|
||||
agents = {
|
||||
"podman" = {
|
||||
enable = true;
|
||||
extraGroups = [
|
||||
"podman"
|
||||
];
|
||||
|
||||
environment = {
|
||||
WOODPECKER_AGENT_SECRET = lib.hashString "md5" "woodpeckerAgent";
|
||||
WOODPECKER_SERVER = "localhost:53352";
|
||||
WOODPECKER_MAX_WORKFLOWS = "4";
|
||||
WOODPECKER_BACKEND = "docker";
|
||||
DOCKER_HOST = "unix:///var/run/podman/podman.sock";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue