forked from input-output-hk/ci-ops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.nix
25 lines (25 loc) · 1.23 KB
/
release.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ ci-ops ? { outPath = ./.; rev = "abcdef"; } }:
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {};
in pkgs.lib.fix (self: {
hydra-crystal-notify = (import ./nix {}).packages.crystalPkgs.hydra-crystal-notify;
# ci = (import ./nix-darwin/test.nix { role = "ci"; host = "build"; port = "123"; hostname = "hostname"; }).system;
buildkite-agent = (import ./nix-darwin/test.nix { role = "buildkite-agent"; host = "build"; port = "123"; hostname = "hostname"; }).system;
hydra-slave = (import ./nix-darwin/test.nix { role = "hydra-slave"; host = "build"; port = "123"; hostname = "hostname"; }).system;
signing = (import ./nix-darwin/test.nix { role = "signing"; host = "build"; port = "123"; hostname = "hostname"; }).system;
forceNewEval = pkgs.writeText "forceNewEval" ci-ops.rev;
required = pkgs.releaseTools.aggregate {
name = "required";
constituents = with self; [
hydra-crystal-notify
# Re-add once upstream impure hercules fetcher is fixed:
# error: access to URI 'https://github.com/hercules-ci/gitignore/archive/f9e996052b5af4032fe6150bba4a6fe4f7b9d698.tar.gz' is forbidden in restricted mode
#ci
hydra-slave
buildkite-agent
signing
forceNewEval
];
};
})