1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-18 17:02:28 -04:00

hydra-eval-jobset: Print the jobset that is evaluated

This is useful for systems that use concurrent evals
This commit is contained in:
Janne Heß 2022-01-10 13:44:07 +01:00
parent 76962bfcb0
commit f3d77c3e6b
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -340,9 +340,9 @@ sub inputsToArgs {
sub evalJobs { sub evalJobs {
my ($inputInfo, $nixExprInputName, $nixExprPath, $flakeRef) = @_; my ($jobsetName, $inputInfo, $nixExprInputName, $nixExprPath, $flakeRef) = @_;
print STDERR "Evaluating...\n"; print STDERR "($jobsetName) Evaluating...\n";
my @cmd; my @cmd;
@ -664,7 +664,7 @@ sub checkJobsetWrapped {
# Evaluate the job expression. # Evaluate the job expression.
my $evalStart = clock_gettime(CLOCK_MONOTONIC); 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); my $evalStop = clock_gettime(CLOCK_MONOTONIC);
if ($jobsetsJobset) { if ($jobsetsJobset) {