feat: Migrate CI to gitea
This commit is contained in:
committed by
Hunter Halloran
parent
d205211c7d
commit
a23ec91c9c
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user