Merge pull request #1071 from DeterminateSystems/log-fetches-evals

hydra-eval-jobset: log fetches and evaluations
This commit is contained in:
Graham Christensen 2021-12-08 16:00:29 -05:00 committed by GitHub
commit 2cbeca5c44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,6 +235,8 @@ sub fetchInput {
my ($plugins, $db, $project, $jobset, $name, $type, $value, $emailresponsible) = @_;
my @inputs;
print STDERR "(" . $project->name . ":" . $jobset->name . ") Fetching input `$name` ($type) $value\n";
if ($type eq "build") {
@inputs = fetchInputBuild($db, $project, $jobset, $name, $value);
}
@ -340,6 +342,8 @@ sub inputsToArgs {
sub evalJobs {
my ($inputInfo, $nixExprInputName, $nixExprPath, $flakeRef) = @_;
print STDERR "Evaluating...\n";
my @cmd;
if (defined $flakeRef) {