Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions jobsets/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
# generate jobsets.
#
# The arguments for this file come from spec.json.
# So also update that file when you add a repo here.
#
# You may also want to check and update the GitHub notifications list
# in modules/hydra-master-main.nix.
#
# Test this file locally with:
# jq . < $(nix-build --no-out-link jobsets/default.nix)
#
# See also the Hydra manual:
# https://github.com/NixOS/hydra/blob/master/doc/manual/declarative-projects.xml
Expand All @@ -26,6 +33,7 @@
, shellPrsJSON ? ./simple-pr-dummy.json
, walletPrsJSON ? ./simple-pr-dummy.json
, iohkNixPrsJSON ? ./simple-pr-dummy.json
, haskellNixPrsJSON ? ./simple-pr-dummy.json
}:

let pkgs = import nixpkgs {}; in
Expand Down Expand Up @@ -117,6 +125,13 @@ let
bors = true;
};

haskell-nix = {
description = "Haskell.nix Build System";
url = "https://github.com/input-output-hk/haskell.nix.git";
branch = "master";
prs = haskellNixPrsJSON;
};

cardano-wallet = {
description = "Cardano Wallet Backend";
url = "https://github.com/input-output-hk/cardano-wallet.git";
Expand Down
1 change: 1 addition & 0 deletions jobsets/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
,"nixpkgs": { "type": "git", "value": "https://github.com/NixOS/nixpkgs-channels.git nixos-18.09", "emailresponsible": false }
,"nixopsPrsJSON": { "type": "githubpulls", "value": "input-output-hk iohk-ops", "emailresponsible": false }
,"iohkNixPrsJSON": { "type": "githubpulls", "value": "input-output-hk iohk-nix", "emailresponsible": false }
,"haskellNixPrsJSON": { "type": "githubpulls", "value": "input-output-hk haskell.nix", "emailresponsible": false }
,"cardanoPrsJSON": { "type": "githubpulls", "value": "input-output-hk cardano-sl", "emailresponsible": false }
,"daedalusPrsJSON": { "type": "githubpulls", "value": "input-output-hk daedalus", "emailresponsible": false }
,"plutusPrsJSON": { "type": "githubpulls", "value": "input-output-hk plutus", "emailresponsible": false }
Expand Down
6 changes: 6 additions & 0 deletions modules/hydra-master-main.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ in {
excludeBuildFromContext = 1
useShortContext = 1
</githubstatus>
<githubstatus>
jobs = Cardano:haskell-nix.*:required
inputs = haskell-nix
excludeBuildFromContext = 1
useShortContext = 1
</githubstatus>
'';
};
deployment.keys."github-webhook-util".text = builtins.readFile ../static/github-webhook-util.secret;
Expand Down