Compare commits

...

4 Commits

Author SHA1 Message Date
22c44a9705 Merge pull request 'add hydraJobs back in' (#62) from feature/add-typhon into main
Some checks failed
Check flake.lock / Check health of `flake.lock` (push) Successful in 8s
Check Nix formatting / Perform Nix format checks (push) Successful in 2m28s
Check Nix flake / Perform Nix flake checks (push) Failing after 7m41s
Update flakes / update_lockfile (push) Successful in 15m24s
Reviewed-on: #62
2025-03-26 16:08:42 -04:00
5696ef5660
allow IFD
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 11s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 4m42s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 6m34s
2025-03-26 15:54:39 -04:00
ef94163933
set enable state based on pr status
Some checks failed
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 10s
Check Nix flake / Perform Nix flake checks (pull_request) Failing after 2m39s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 2m31s
2025-03-26 15:09:02 -04:00
4824c265f9
add hydraJobs back in
Some checks failed
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 13s
Check Nix flake / Perform Nix flake checks (pull_request) Failing after 2m32s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 2m20s
2025-03-26 13:49:13 -04:00
2 changed files with 5 additions and 2 deletions

View File

@ -18,6 +18,7 @@
"nix-cache:trR+y5nwpQHR4hystoogubFmp97cewkjWeqqbygRQRs="
];
trusted-users = [ "root" ];
allow-import-from-derivation = true;
};
inputs = {
@ -157,7 +158,7 @@
rec {
inherit lib; # for allowing use of custom functions in nix repl
#hydraJobs = import ./hydra/jobs.nix { inherit inputs outputs systems; };
hydraJobs = import ./hydra/jobs.nix { inherit inputs outputs systems; };
formatter = forEachSystem (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style);
nixosConfigurations = genSystems inputs outputs src (src + "/systems");

View File

@ -27,6 +27,7 @@ let
keepnr ? 3,
description,
flake,
enabled ? 1,
}:
{
inherit
@ -34,8 +35,8 @@ let
flake
schedulingshares
keepnr
enabled
;
enabled = 1;
type = 1;
hidden = false;
checkinterval = 300; # every 5 minutes
@ -64,6 +65,7 @@ let
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;
};
};