declarative projects: Pull jobset spec build from the remote store
[?]
Apr 1, 2017, 2:38 PM
CHI2EHBJHXPJI2KUSHOCMFYGOPJNITAMPGOY3UAUV76ELONVYNCACDependencies
- [2]
B3UW2ZRBRestart jobset evals efficiently - [3]
6WRGCITDEnable declarative projects. - [4]
GEADFVZ5hydra-queue-runner: Improved scheduling - [5]
3BTJRSU3GitInput.pm: Don't do a chdir to the Git clone - [6]
UOINKJ2JAdd an action to cancel all builds in a jobset eval - [7]
INNOEHO6* Fix getBuildLog for bzip2'd files. - [8]
JAH3UPWASupport revision control systems via plugins - [9]
VHV6GI4LAdd a jobset eval action to restart all aborted/cancelled builds - [10]
OSVLMLCQhydra: factored out build restart and - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [*]
2GK5DOU7* Downloading closures.
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 71
my $declText = read_file($declPath)my $declText = readNixFile($declPath) - replacement in src/lib/Hydra/Helper/Nix.pm at line 26
getTotalSharesgetTotalShares readNixFile - replacement in src/lib/Hydra/Helper/Nix.pm at line 415
init => sub { chdir $args{dir} or die "changing to $args{dir}" if defined $args{dir}; });init => sub {chdir $args{dir} or die "changing to $args{dir}" if defined $args{dir};if (defined $args{env}) {foreach my $key (keys %{$args{env}}) {if (defined $args{env}->{$key}) {$ENV{$key} = $args{env}->{$key};} else {delete $ENV{$key};}}}}); - edit in src/lib/Hydra/Helper/Nix.pm at line 512
}# Read a file from the (possibly remote) nix storesub readNixFile {my ($path) = @_;my $config = getHydraConfig();my $storeUri = $config->{'store_uri'} // "";return grab(cmd => ["nix", "cat-store", "$path"], env => { NIX_REMOTE => "$storeUri" });