mirror of
https://github.com/urbit/shrub.git
synced 2024-12-29 15:14:17 +03:00
382ace5f23
1. Fix bug in test builds that was causing failures for some reason I still don't understand. `tee` output to stderr was failing with "resource temporarily unavailable". The hack that fixed it was to simply write the herb output to a file and dump it to stdout after it fully completes. 2. sh/cachix works without CACHIX keys. Simply doesn't upload in that case. 3. Write code to cache testbus builds (disabled for now) 4. fakeship builds get further in bootstrap sequence before committing. This fixes problems with PRs from forked repos and enables the scripts to be run locally.
87 lines
1.5 KiB
Nix
87 lines
1.5 KiB
Nix
{ pkgs ? import ../nixpkgs.nix, debug ? false }:
|
|
|
|
let
|
|
|
|
tlon = import ../pkgs { inherit pkgs; };
|
|
arvo = tlon.arvo;
|
|
arvo-ropsten = tlon.arvo-ropsten;
|
|
herb = tlon.herb;
|
|
urbit = if debug then tlon.urbit-debug else tlon.urbit;
|
|
|
|
bootbrass = ../../bin/brass.pill;
|
|
bootsolid = ../../bin/solid.pill;
|
|
|
|
rawzod = import ./fakeship {
|
|
inherit pkgs herb urbit;
|
|
pill = bootsolid;
|
|
ship = "zod";
|
|
arvo = null;
|
|
};
|
|
|
|
ropzod = import ./fakeship {
|
|
inherit pkgs herb urbit;
|
|
pill = bootsolid;
|
|
ship = "zod";
|
|
arvo = arvo-ropsten;
|
|
};
|
|
|
|
zod = import ./fakeship {
|
|
inherit pkgs herb urbit arvo;
|
|
pill = bootsolid;
|
|
ship = "zod";
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
bus = import ./fakeship {
|
|
inherit pkgs herb urbit arvo;
|
|
pill = bootsolid;
|
|
ship = "bus";
|
|
};
|
|
|
|
test = import ./test {
|
|
inherit pkgs herb urbit;
|
|
ship = bus;
|
|
};
|
|
|
|
solid = import ./solid {
|
|
inherit pkgs herb urbit arvo;
|
|
pier = rawzod;
|
|
};
|
|
|
|
brass = import ./brass {
|
|
inherit pkgs herb urbit arvo;
|
|
pier = zod;
|
|
};
|
|
|
|
brass-ropsten = import ./brass {
|
|
inherit pkgs herb urbit;
|
|
arvo = arvo-ropsten;
|
|
pier = ropzod;
|
|
};
|
|
|
|
ivory = import ./ivory {
|
|
inherit pkgs herb urbit arvo;
|
|
pier = zod;
|
|
};
|
|
|
|
ivory-ropsten = import ./ivory {
|
|
inherit pkgs herb urbit;
|
|
arvo = arvo-ropsten;
|
|
pier = ropzod;
|
|
};
|
|
|
|
image = import ./image {
|
|
inherit pkgs herb urbit solid;
|
|
};
|
|
|
|
image-ropsten = import ./image {
|
|
inherit pkgs herb urbit;
|
|
brass = brass-ropsten;
|
|
ivory = ivory-ropsten;
|
|
};
|
|
|
|
}
|