Disable channels on binary cached based Hydra instances
This commit is contained in:
@ -222,6 +222,7 @@ sub bump : Chained('evalChain') PathPart('bump') Args(0) {
|
||||
# Hydra::Base::Controller::NixChannel needs this.
|
||||
sub nix : Chained('evalChain') PathPart('channel') CaptureArgs(0) {
|
||||
my ($self, $c) = @_;
|
||||
requireLocalStore($c);
|
||||
$c->stash->{channelName} = $c->stash->{project}->name . "-" . $c->stash->{jobset}->name . "-latest";
|
||||
$c->stash->{channelBuilds} = $c->stash->{eval}->builds
|
||||
->search_literal("exists (select 1 from buildproducts where build = build.id and type = 'nix-build')")
|
||||
|
Reference in New Issue
Block a user