forked from lix-project/hydra
Remove wacky "sysbuild" filtering
It's none of our business if a jobset wants to return a build that uses a build for another system as an input...
This commit is contained in:
parent
b1e29e50a7
commit
2d7e106d29
|
@ -282,17 +282,6 @@ sub evalJobs {
|
|||
SuppressEmpty => '')
|
||||
or die "cannot parse XML output";
|
||||
|
||||
my @filteredJobs = ();
|
||||
foreach my $job (@{$jobs->{job}}) {
|
||||
my $validJob = 1;
|
||||
foreach my $arg (@{$job->{arg}}) {
|
||||
my $input = $inputInfo->{$arg->{name}}->[$arg->{altnr}];
|
||||
$validJob = 0 if $input->{type} eq "sysbuild" && $input->{system} ne $job->{system};
|
||||
}
|
||||
push(@filteredJobs, $job) if $validJob;
|
||||
}
|
||||
$jobs->{job} = \@filteredJobs;
|
||||
|
||||
return ($jobs, $nixExprInput);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue