migrate CI to gitea
All checks were successful
CI / Flake Check (push) Successful in 1m33s
CI / Format Check (push) Successful in 2s
CI / Evaluate Key Configurations (nix-builder) (push) Successful in 10s
CI / Evaluate Key Configurations (nix-desktop1) (push) Successful in 11s
CI / Evaluate Key Configurations (nix-laptop1) (push) Successful in 8s
CI / Build Artifacts (installer-iso-nix-laptop1) (push) Successful in 3m33s
CI / Build Artifacts (lxc-nix-builder) (push) Successful in 57s

This commit is contained in:
UGA Innovation Factory
2025-12-18 12:35:35 -05:00
parent 811eb1bd4b
commit 0ba0e854cf
13 changed files with 167 additions and 175 deletions

View File

@@ -97,27 +97,23 @@
nix-lxc = {
devices = {
"nix-builder" = {
# GitHub Actions self-hosted runner configuration
# Gitea Actions self-hosted runner configuration
athenix.sw = {
type = [
"headless"
"builders"
];
builders.githubRunner = {
builders.giteaRunner = {
enable = true;
url = "https://github.com/UGA-Innovation-Factory/nixos-systems";
# Token file must be created manually at this path with a GitHub PAT
# that has repo access. Generate at: https://github.com/settings/tokens
# echo "YOUR_TOKEN_HERE" | sudo tee /var/lib/github-runner-token > /dev/null
tokenFile = "/var/lib/github-runner-token";
url = "https://git.factory.uga.edu";
# Token file must be created manually at this path with a Gitea runner token
# Generate in repository settings: Settings > Actions > Runners > Create new Runner
# echo "YOUR_TOKEN_HERE" | sudo tee /var/lib/gitea-runner-token > /dev/null
tokenFile = "/var/lib/gitea-runner-token";
# Labels to identify this runner in workflows
extraLabels = [ "nix-builder" ];
# User to run the runner as
user = "engr-ugaif";
# Working directory for runner
workDir = "/var/lib/github-runner";
# Runner service name
name = "nixos-systems";
name = "athenix";
};
};
};