infra/homelab/woodpecker.nix
Gabriel Simmer 9904a81806
Some checks failed
--> Linted: GITLEAKS No errors were found in the linting process
--> Linted: JSCPD No errors were found in the linting process
--> Linted: NATURAL_LANGUAGE No errors were found in the linting process
Lint / lint (push) Successful in 25s
ci/woodpecker/push/woodpecker Pipeline failed
Woodpecker config
2024-05-16 21:36:48 +01:00

40 lines
853 B
Nix

{
lib,
config,
kubenix,
...
}: {
kubernetes.helm.releases.woodpecker = {
namespace = "woodpecker";
chart = kubenix.lib.helm.fetch {
repo = "https://woodpecker-ci.org/";
chart = "woodpecker";
version = "1.3.0";
sha256 = "sha256-BGMZJdXMVVBKQHWQ7GgSa8AmFh6JuVO0dvolxqF9k4I=";
};
values = {
server = {
env = {
WOODPECKER_ADMIN = "woodpecker,admin,arch";
WOODPECKER_HOST = "https://ci.gmem.ca";
WOODPECKER_DATABASE_DRIVER = "postgres";
};
ingress = {
enabled = true;
hosts = [
{
host = "ci.gmem.ca";
paths = [ { path = "/"; } ];
}
];
tls = [
{
hosts = ["ci.gmem.ca"];
}
];
};
};
};
};
}