This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/hydra/jobsets.nix
Charlotte 🦝 Delenk b2fce51845
Some checks failed
Hydra papermc Hydra build #12356 of nix-packages:aarch64-linux-master-pr1:papermc
Hydra emoji-volpeon-blobfox-flip Hydra build #12357 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-blobfox-flip
Hydra python-rtf-tokenize Hydra build #12358 of nix-packages:aarch64-linux-master-pr1:python-rtf-tokenize
Hydra fairfax-hd Hydra build #12359 of nix-packages:aarch64-linux-master-pr1:fairfax-hd
Hydra emoji-volpeon-drgn Hydra build #12360 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-drgn
Hydra lotte-art Hydra build #12361 of nix-packages:aarch64-linux-master-pr1:lotte-art
Hydra emoji-volpeon-bunhd-flip Hydra build #12362 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-bunhd-flip
Hydra attic-client Hydra build #12363 of nix-packages:aarch64-linux-master-pr1:attic-client
Hydra python-plover-stroke Hydra build #12364 of nix-packages:aarch64-linux-master-pr1:python-plover-stroke
Hydra emoji-volpeon-fox Hydra build #12365 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-fox
Hydra kreative-square Hydra build #12366 of nix-packages:aarch64-linux-master-pr1:kreative-square
Hydra emoji-volpeon-gphn Hydra build #12367 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-gphn
Hydra nasin-nanpa Hydra build #12368 of nix-packages:aarch64-linux-master-pr1:nasin-nanpa
Hydra fairfax Hydra build #12369 of nix-packages:aarch64-linux-master-pr1:fairfax
Hydra mautrix-discord Hydra build #12370 of nix-packages:aarch64-linux-master-pr1:mautrix-discord
Hydra python-instagram Hydra build #12371 of nix-packages:aarch64-linux-master-pr1:python-instagram
Hydra python-tulir-telethon Hydra build #12372 of nix-packages:aarch64-linux-master-pr1:python-tulir-telethon
Hydra mautrix-cleanup Hydra build #12373 of nix-packages:aarch64-linux-master-pr1:mautrix-cleanup
Hydra mautrix-signal Hydra build #12374 of nix-packages:aarch64-linux-master-pr1:mautrix-signal
Hydra plover-plugin-tapey-tape Hydra build #12375 of nix-packages:aarch64-linux-master-pr1:plover-plugin-tapey-tape
Hydra emoji-caro Hydra build #12376 of nix-packages:aarch64-linux-master-pr1:emoji-caro
Hydra constructium Hydra build #12377 of nix-packages:aarch64-linux-master-pr1:constructium
Hydra plover-plugin-emoji Hydra build #12378 of nix-packages:aarch64-linux-master-pr1:plover-plugin-emoji
Hydra mautrix-whatsapp Hydra build #12379 of nix-packages:aarch64-linux-master-pr1:mautrix-whatsapp
Hydra admin-fe Hydra build #12380 of nix-packages:aarch64-linux-master-pr1:admin-fe
Hydra plover-plugin-rkb1-hid Hydra build #12381 of nix-packages:aarch64-linux-master-pr1:plover-plugin-rkb1-hid
Hydra mautrix-telegram Hydra build #12382 of nix-packages:aarch64-linux-master-pr1:mautrix-telegram
Hydra plover-plugin-yaml-dictionary Hydra build #12383 of nix-packages:aarch64-linux-master-pr1:plover-plugin-yaml-dictionary
Hydra matrix-media-repo Hydra build #12384 of nix-packages:aarch64-linux-master-pr1:matrix-media-repo
Hydra plover-plugins-manager Hydra build #12385 of nix-packages:aarch64-linux-master-pr1:plover-plugins-manager
Hydra emoji-volpeon-bunhd Hydra build #12386 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-bunhd
Hydra pleroma-fe Hydra build #12387 of nix-packages:aarch64-linux-master-pr1:pleroma-fe
Hydra emoji-volpeon-raccoon Hydra build #12388 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-raccoon
Hydra emoji-volpeon-blobfox Hydra build #12389 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-blobfox
Hydra plover-dict-didoesdigital Hydra build #12390 of nix-packages:aarch64-linux-master-pr1:plover-dict-didoesdigital
Hydra emoji-lotte Hydra build #12391 of nix-packages:aarch64-linux-master-pr1:emoji-lotte
Hydra plover-plugin-machine-hid Hydra build #12392 of nix-packages:aarch64-linux-master-pr1:plover-plugin-machine-hid
Hydra old-homepage Hydra build #12393 of nix-packages:aarch64-linux-master-pr1:old-homepage
Hydra element-web Hydra build #12394 of nix-packages:aarch64-linux-master-pr1:element-web
Hydra python-simplefuzzyset Hydra build #12395 of nix-packages:aarch64-linux-master-pr1:python-simplefuzzyset
Hydra rpi4Kernel Hydra build #12396 of nix-packages:aarch64-linux-master-pr1:rpi4Kernel
Hydra akkoma Hydra build #12397 of nix-packages:aarch64-linux-master-pr1:akkoma
Hydra attic Hydra build #12398 of nix-packages:aarch64-linux-master-pr1:attic
Hydra python-mautrix Hydra build #12399 of nix-packages:aarch64-linux-master-pr1:python-mautrix
Hydra emoji-volpeon-vlpn Hydra build #12400 of nix-packages:aarch64-linux-master-pr1:emoji-volpeon-vlpn
Hydra plover Hydra build #12401 of nix-packages:aarch64-linux-master-pr1:plover
Hydra alco-sans Hydra build #12402 of nix-packages:aarch64-linux-master-pr1:alco-sans
Hydra miifox-net Hydra build #12403 of nix-packages:aarch64-linux-master-pr1:miifox-net
Hydra attic-server Hydra build #12404 of nix-packages:aarch64-linux-master-pr1:attic-server
it’s value not url
2023-04-08 13:50:36 +01:00

110 lines
3.3 KiB
Nix

{
prsJSON,
nixpkgs,
}: let
pkgs = import nixpkgs {};
prs = builtins.fromJSON (builtins.readFile prsJSON);
systems = ["x86_64-linux" "aarch64-linux"];
nixpkgs_version = ["master"];
mkJobsets = system: version:
(builtins.listToAttrs (
map (
info: {
name = "${system}-${version}-pr${toString info.number}";
value = {
enabled = info.state == "open";
hidden = info.state != "open";
description = "PR ${toString info.number} (${system}-${version}): ${info.title}";
nixexprinput = "nix-packages";
nixexprpath = "hydra/default.nix";
checkinterval = 3600;
schedulingshares = 100;
enableemail = false;
emailoverride = "";
keepnr = 1;
inputs = {
nix-packages = {
type = "git";
value = "${info.head.repo.clone_url} ${info.head.ref}";
emailresponsible = false;
};
nixpkgs = {
type = "git";
value = "https://github.com/NixOS/nixpkgs.git ${version}";
emailresponsible = false;
};
system = {
type = "string";
value = system;
};
gitea_status_repo = {
type = "string";
value = "nix-packages";
emailresponsible = false;
};
gitea_repo_owner = {
type = "string";
value = "${info.head.repo.owner.login}";
emailresponsible = false;
};
gitea_repo_name = {
type = "string";
value = "${info.head.repo.name}";
emailresponsible = false;
};
};
};
}
)
prs
))
// {
"${system}-${version}" = {
enabled = 1;
hidden = false;
description = "nix-packages ${system}-${version}";
nixexprinput = "nix-packages";
nixexprpath = "hydra/default.nix";
checkinterval = 0;
schedulingshares = 100;
enableemail = false;
emailoverride = "";
keepnr = 1;
inputs = {
nix-packages = {
type = "git";
value = "https://git.chir.rs/darkkirb/nix-packages main";
emailresponsible = false;
};
nixpkgs = {
type = "git";
value = "https://github.com/NixOS/nixpkgs.git ${version}";
emailresponsible = false;
};
system = {
type = "string";
value = system;
};
gitea_status_repo = {
type = "string";
value = "nix-packages";
emailresponsible = false;
};
gitea_repo_owner = {
type = "string";
value = "darkkirb";
emailresponsible = false;
};
gitea_repo_name = {
type = "string";
value = "nixos-config";
emailresponsible = false;
};
};
};
};
concatAttrs = pkgs.lib.foldr (a: b: a // b) {};
jobsets =
concatAttrs (pkgs.lib.concatMap (system: map (version: mkJobsets system version) nixpkgs_version) systems);
in {jobsets = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets);}