Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Jan 6, 2021
1 parent 8a1310e commit 147b4f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
18 changes: 1 addition & 17 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
status = [
"buildkite/haskell-dot-nix",
# Generasted in `nix repl` with
# __trace (builtins.concatStringsSep "\n" (builtins.map (n: " \"ci/hydra:Cardano:haskell-nix:${n}\",") (builtins.attrNames (import ./release.nix {})))) {}
# TODO automate updating
"ci/hydra:Cardano:haskell-nix:required-R2003-ghc865-darwin",
"ci/hydra:Cardano:haskell-nix:required-R2003-ghc865-linux",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc8101-darwin",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc8101-linux",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc8102-darwin",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc8102-linux",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc810220201118-darwin",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc810220201118-linux",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc865-darwin",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc865-linux",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc883-darwin",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc883-linux",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc884-darwin",
"ci/hydra:Cardano:haskell-nix:required-R2009-ghc884-linux",
"ci/hydra:Cardano:haskell-nix:required",
]
timeout_sec = 7200
required_approvals = 1
Expand Down
9 changes: 8 additions & 1 deletion release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ let
}) (names ghcJobs)
) (names nixpkgsJobs)
) (names allJobs));
in latestJobs // requiredJobs
in latestJobs // requiredJobs // {
required = genericPkgs.releaseTools.aggregate {
name = "haskell.nix-required";
meta.description = "All jobs required to pass CI";
# Using the names here requires https://github.com/NixOS/hydra/issues/715
constituents = builtins.attrNames requiredJobs;
};
}


0 comments on commit 147b4f0

Please sign in to comment.