Git migration

This commit is contained in:
Lyes Saadi 2026-04-05 12:33:55 +02:00
parent c33a558fee
commit f068d74916
Signed by: lyes
GPG key ID: 55A1D803917CF39A
3 changed files with 22 additions and 18 deletions

View file

@ -21,25 +21,29 @@
services.gitea-actions-runner = {
package = pkgs.forgejo-runner;
instances.default = {
enable = true;
name = "ptigoron";
url = "https://git.lyes.eu";
# Obtaining the path to the runner token file may differ
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
tokenFile = config.age.secrets.ptigoron-token.path;
labels = [
"fedora-rawhide:docker://quay.io/fedora/fedora:rawhide"
"fedora-latest:docker://quay.io/fedora/fedora:latest"
"ubuntu-rolling:docker://ubuntu:rolling"
"ubuntu-latest:docker://ubuntu:latest"
"nixos-latest:docker://nixos/nix"
## optionally provide native execution on the host:
# "native:host"
];
instances = {
ptigoron = {
enable = true;
name = "ptigoron";
url = "https://git.minish.link";
# Obtaining the path to the runner token file may differ
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
tokenFile = config.age.secrets.ptigoron-token.path;
labels = [
"fedora-rawhide:docker://quay.io/fedora/fedora:rawhide"
"fedora-latest:docker://quay.io/fedora/fedora:latest"
"ubuntu-rolling:docker://ubuntu:rolling"
"ubuntu-latest:docker://ubuntu:latest"
"nixos-latest:docker://nixos/nix"
## optionally provide native execution on the host:
# "native:host"
];
};
};
};
systemd.services.gitea-runner-ptigoron.after = [ "forgejo.service" ];
age.secrets.ptigoron-token = {
file = ../../../secrets/zora/services/ptigoron-token.age;
owner = "gitea-runner";