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

Commit 173a9ac

Browse files
committed
[DEVOPS-1126] add required jobset to release.nix (#3852)
(cherry picked from commit 54d803e)
1 parent a956b5c commit 173a9ac

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

release.nix

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,25 @@ let
6969
connectScripts = makeConnectScripts cluster;
7070
};
7171
};
72-
in mapped // {
72+
in pkgs.lib.fix (jobsets: mapped // {
7373
inherit walletIntegrationTests swaggerSchemaValidation shellcheckTests;
74+
inherit (pkgs) cabal2nix;
7475
nixpkgs = let
7576
wrapped = pkgs.runCommand "nixpkgs" {} ''
7677
ln -sv ${fixedNixpkgs} $out
7778
'';
7879
in if 0 <= builtins.compareVersions builtins.nixVersion "1.12" then wrapped else fixedNixpkgs;
79-
} // (builtins.listToAttrs (map makeRelease [ "mainnet" "staging" ]))
80+
required = pkgs.lib.hydraJob (pkgs.releaseTools.aggregate {
81+
name = "cardano-required-checks";
82+
constituents =
83+
let
84+
all = x: map (system: x.${system}) supportedSystems;
85+
in
86+
[
87+
(all jobsets.daedalus-bridge)
88+
jobsets.mainnet.connectScripts.wallet.x86_64-linux
89+
jobsets.swaggerSchemaValidation
90+
jobsets.shellcheckTests
91+
];
92+
});
93+
} // (builtins.listToAttrs (map makeRelease [ "mainnet" "staging" ])))

0 commit comments

Comments
 (0)