6 mkFetchGithub = value: {
9 emailresponsible = false;
15 inherit (jobs) description;
19 schedulingshares = 100;
23 nixexprinput = "obelisk";
24 nixexprpath = "release.nix";
25 inputs = jobs.inputs // {
28 value = "https://github.com/NixOS/nixpkgs-channels nixos-unstable";
29 emailresponsible = false;
33 branchJobset = branch: defaults {
34 description = "obelisk-${branch}";
37 value = "https://github.com/obsidiansystems/obelisk ${branch}";
39 emailresponsible = false;
44 name = "obelisk-pr-${num}";
46 description = "#${num}: ${info.title}";
49 #NOTE: This should really use "pull/${num}/merge"; however, GitHub's
50 #status checks only operate on PR heads. This creates a race
51 #condition, which can currently only be solved by requiring PRs to be
52 #up to date before they're merged. See
53 #https://github.com/isaacs/github/issues/1002
54 value = "https://github.com/obsidiansystems/obelisk pull/${num}/head";
56 emailresponsible = false;
61 processedPrs = mapAttrs' makePr (builtins.fromJSON (builtins.readFile prs));
62 jobsetsAttrs = processedPrs //
63 genAttrs ["master"] branchJobset;
65 jobsets = pkgs.writeText "spec.json" (builtins.toJSON jobsetsAttrs);
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list