Compare commits

..

2 Commits

Author SHA1 Message Date
5be6b3e723 Merge pull request 'update giteaHost, fix redundant boolean' (#72) from feature/self-hydra into main
All checks were successful
Check flake.lock / Check health of `flake.lock` (push) Successful in 11s
Check Nix formatting / Perform Nix format checks (push) Successful in 2m37s
Check Nix flake / Perform Nix flake checks (push) Successful in 7m39s
Update flakes / update_lockfile (push) Successful in 27m8s
Reviewed-on: #72
2025-03-31 15:14:00 -04:00
309c0128e9
update giteaHost, fix redundant boolean
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 8s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 2m41s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 9m25s
2025-03-31 15:04:05 -04:00

View File

@ -44,7 +44,7 @@ let
emailoverride = "";
};
giteaHost = "ssh://nayeonie.com:2222";
giteaHost = "ssh://gitea@nayeonie.com:2222";
repo = "ahuston-0/nix-dotfiles";
# # Create a hydra job for a branch
jobOfRef =
@ -66,8 +66,8 @@ let
name = if info.draft then "draft-${id}" else "pr-${id}";
value = makeJob {
description = "PR ${id}: ${info.title}";
flake = "git+ssh://gitea@nayeonie.com:2222/${info.head.repo.full_name}?ref=${info.head.ref}";
enabled = if info.state == "open" then 1 else 0;
flake = "git+${giteaHost}/${repo}?ref=${info.head.ref}";
enabled = info.state == "open";
};
};