Merge pull request #1094 from helsinki-systems/feat/print-whats-evaluated

hydra-eval-jobset: Print the jobset that is evaluated
This commit is contained in:
Graham Christensen 2022-01-10 09:29:46 -05:00 committed by GitHub
commit e72d2225e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -340,9 +340,9 @@ sub inputsToArgs {
sub evalJobs {
my ($inputInfo, $nixExprInputName, $nixExprPath, $flakeRef) = @_;
my ($jobsetName, $inputInfo, $nixExprInputName, $nixExprPath, $flakeRef) = @_;
print STDERR "Evaluating...\n";
print STDERR "($jobsetName) Evaluating...\n";
my @cmd;
@ -664,7 +664,7 @@ sub checkJobsetWrapped {
# Evaluate the job expression.
my $evalStart = clock_gettime(CLOCK_MONOTONIC);
my $jobs = evalJobs($inputInfo, $jobset->nixexprinput, $jobset->nixexprpath, $flakeRef);
my $jobs = evalJobs($project->name . ":" . $jobset->name, $inputInfo, $jobset->nixexprinput, $jobset->nixexprpath, $flakeRef);
my $evalStop = clock_gettime(CLOCK_MONOTONIC);
if ($jobsetsJobset) {