Experimenting with Woodpecker CI
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
--> Linted: YAML No errors were found in the linting process
Lint / lint (push) Successful in 27s
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Gabriel Simmer 2024-05-16 20:34:02 +01:00
parent 99ff6f1f96
commit ac6b7b2bb7
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ
3 changed files with 38 additions and 0 deletions

5
.woodpecker.yaml Normal file
View file

@ -0,0 +1,5 @@
steps:
- name: check
image: nixpkgs/nix-flakes
commands:
- nix flake check

View file

@ -26,5 +26,6 @@
(import ./nitter-bot.nix)
(import ./miniflux.nix)
# (import ./snikket.nix)
(import ./woodpecker.nix)
];
}

32
homelab/woodpecker.nix Normal file
View file

@ -0,0 +1,32 @@
{
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 = "";
};
values = {
server.ingress = {
enabled = true;
hosts = [
{
host = "ci.gmem.ca";
paths = [ { path = "/"; } ];
}
];
tls = [
{
hosts = ["ci.gmem.ca"];
}
];
};
};
};
}