Compare commits

..

2 commits

Author SHA1 Message Date
c2392d759c
forgejo: init actions runner
All checks were successful
/ test (push) Successful in 1s
2023-10-05 14:45:45 -04:00
fbeb360a9c
ci: remove .woodpecker 2023-10-05 14:45:39 -04:00
2 changed files with 17 additions and 13 deletions

View file

@ -1,11 +0,0 @@
steps:
check:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix flake check
fmt:
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix run nixpkgs#alejandra -- -c .

View file

@ -1,4 +1,8 @@
{lib, ...}: {
{
lib,
config,
...
}: {
services.forgejo = {
enable = true;
stateDir = "/var/lib/forgejo";
@ -10,7 +14,7 @@
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "https://gitea.com";
DEFAULT_ACTIONS_URL = "https://code.forgejo.org";
};
server = {
HTTP_PORT = 3200;
@ -32,4 +36,15 @@
};
};
};
services.gitea-actions-runner.instances.main = {
enable = true;
name = config.networking.hostName;
url = "https://git.flake.sh";
token = "WJXKbVSyfUVpeJYiFpRlf04CyxDS0mYG7at8B9kX";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
};
}