Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 54d803e

Browse files
authored
[DEVOPS-1126] add required jobset to release.nix (#3852)
1 parent d5ef7c2 commit 54d803e

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

release.nix

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,28 @@ let
9292
dockerImage = wrapDockerImage cluster;
9393
};
9494
};
95-
in mapped // {
95+
in pkgs.lib.fix (jobsets: mapped // {
9696
inherit tests;
9797
inherit (pkgs) cabal2nix;
9898
nixpkgs = let
9999
wrapped = pkgs.runCommand "nixpkgs" {} ''
100100
ln -sv ${fixedNixpkgs} $out
101101
'';
102102
in if 0 <= builtins.compareVersions builtins.nixVersion "1.12" then wrapped else fixedNixpkgs;
103-
} // (builtins.listToAttrs (map makeRelease [ "mainnet" "staging" ]))
103+
required = pkgs.lib.hydraJob (pkgs.releaseTools.aggregate {
104+
name = "cardano-required-checks";
105+
constituents =
106+
let
107+
all = x: map (system: x.${system}) supportedSystems;
108+
in
109+
[
110+
(all jobsets.all-cardano-sl)
111+
(all jobsets.daedalus-bridge)
112+
jobsets.mainnet.connectScripts.wallet.x86_64-linux
113+
jobsets.tests.hlint
114+
jobsets.tests.shellcheck
115+
jobsets.tests.stylishHaskell
116+
jobsets.tests.swaggerSchemaValidation
117+
];
118+
});
119+
} // (builtins.listToAttrs (map makeRelease [ "mainnet" "staging" ])))

0 commit comments

Comments
 (0)