6 mkFetchGithub = value: {
9 emailresponsible = false;
15 inherit (jobs) description;
19 schedulingshares = 100;
23 nixexprinput = "obelisk";
24 nixexprpath = "test.nix";
25 inputs = jobs.inputs // {
28 value = "https://github.com/NixOS/nixpkgs-channels nixos-unstable";
29 emailresponsible = false;
34 value = "{ config.android_sdk.accept_license = true; }";
35 emailresponsible = false;
38 branchJobset = branch: defaults {
39 description = "obelisk-${branch}";
42 value = "https://github.com/obsidiansystems/obelisk ${branch}";
44 emailresponsible = false;
49 name = "obelisk-pr-${num}";
51 description = "#${num}: ${info.title}";
54 #NOTE: This should really use "pull/${num}/merge"; however, GitHub's
55 #status checks only operate on PR heads. This creates a race
56 #condition, which can currently only be solved by requiring PRs to be
57 #up to date before they're merged. See
58 #https://github.com/isaacs/github/issues/1002
59 value = "https://github.com/obsidiansystems/obelisk pull/${num}/head";
61 emailresponsible = false;
66 processedPrs = mapAttrs' makePr (builtins.fromJSON (builtins.readFile prs));
67 jobsetsAttrs = processedPrs //
68 genAttrs ["master"] branchJobset;
70 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