add rand_testsuite
All checks were successful
Hydra jobsets Hydra build #2621 of procyos:.jobsets:jobsets
All checks were successful
Hydra jobsets Hydra build #2621 of procyos:.jobsets:jobsets
This commit is contained in:
parent
4c8adba231
commit
bcad87b56a
2 changed files with 45 additions and 35 deletions
73
default.nix
73
default.nix
|
@ -1,10 +1,12 @@
|
|||
{
|
||||
nixpkgs,
|
||||
rand-testsuite-prs,
|
||||
rust-template-prs,
|
||||
}: let
|
||||
pkgs = import nixpkgs {};
|
||||
prs = with pkgs.lib;
|
||||
concatLists (map (f: attrValues (builtins.fromJSON (builtins.readFile f))) [
|
||||
rand-testsuite-prs
|
||||
rust-template-prs
|
||||
]);
|
||||
prJobsets = with pkgs.lib;
|
||||
|
@ -58,41 +60,44 @@
|
|||
prs);
|
||||
projectJobsets = with pkgs.lib;
|
||||
listToAttrs (map (repo: {
|
||||
name = repo;
|
||||
value = {
|
||||
enabled = true;
|
||||
visible = true;
|
||||
description = repo;
|
||||
nixexprinput = "component";
|
||||
nixexprpath = "default.nix";
|
||||
checkinterval = 3600;
|
||||
schedulingshares = 100;
|
||||
enableemail = false;
|
||||
emailoverride = "";
|
||||
keepnr = 1;
|
||||
inputs = {
|
||||
component = {
|
||||
type = "git";
|
||||
value = "https://git.chir.rs/ProcyOS/${repo} main";
|
||||
emailresponsible = false;
|
||||
};
|
||||
gitea_status_repo = {
|
||||
type = "string";
|
||||
value = "component";
|
||||
emailresponsible = false;
|
||||
};
|
||||
gitea_repo_owner = {
|
||||
type = "string";
|
||||
value = "ProcyOS";
|
||||
emailresponsible = false;
|
||||
};
|
||||
gitea_repo_name = {
|
||||
type = "string";
|
||||
value = repo;
|
||||
emailresponsible = false;
|
||||
name = repo;
|
||||
value = {
|
||||
enabled = true;
|
||||
visible = true;
|
||||
description = repo;
|
||||
nixexprinput = "component";
|
||||
nixexprpath = "default.nix";
|
||||
checkinterval = 3600;
|
||||
schedulingshares = 100;
|
||||
enableemail = false;
|
||||
emailoverride = "";
|
||||
keepnr = 1;
|
||||
inputs = {
|
||||
component = {
|
||||
type = "git";
|
||||
value = "https://git.chir.rs/ProcyOS/${repo} main";
|
||||
emailresponsible = false;
|
||||
};
|
||||
gitea_status_repo = {
|
||||
type = "string";
|
||||
value = "component";
|
||||
emailresponsible = false;
|
||||
};
|
||||
gitea_repo_owner = {
|
||||
type = "string";
|
||||
value = "ProcyOS";
|
||||
emailresponsible = false;
|
||||
};
|
||||
gitea_repo_name = {
|
||||
type = "string";
|
||||
value = repo;
|
||||
emailresponsible = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}) ["rust-template"]);
|
||||
}) [
|
||||
"rand_testsuite"
|
||||
"rust-template"
|
||||
]);
|
||||
jobsets = prJobsets // projectJobsets;
|
||||
in {jobsets = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets);}
|
||||
|
|
|
@ -35,10 +35,15 @@
|
|||
"value": "ci",
|
||||
"emailresponsible": false
|
||||
},
|
||||
"rand-testsuite-prs": {
|
||||
"type": "giteapulls",
|
||||
"value": "git.chir.rs ProcyOS rand_testsuite",
|
||||
"emailresponsible": false
|
||||
},
|
||||
"rust-template-prs": {
|
||||
"type": "giteapulls",
|
||||
"value": "git.chir.rs ProcyOS rust-template",
|
||||
"emailresponsible": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue