Adding executor description for verbose output, adding output directory for build artifacts

This commit is contained in:
Ian Roddis
2022-01-07 14:37:06 -04:00
parent 856e5bd2f4
commit 4da78c9dd6
12 changed files with 61 additions and 3 deletions

View File

@@ -88,6 +88,25 @@ DaggyRunnerTaskExecutor::~DaggyRunnerTaskExecutor()
monitorWorker_.join();
}
std::string DaggyRunnerTaskExecutor::description() const
{
std::stringstream ss;
ss << "DaggyRunnerTaskExecutor running with " << runners_.size()
<< " runners: [";
bool first = true;
for (const auto &[runner, _] : runners_) {
if (first) {
first = false;
}
else {
ss << ", ";
}
ss << runner;
}
ss << "]";
return ss.str();
}
// Validates the job to ensure that all required values are set and are of
// the right type,
bool DaggyRunnerTaskExecutor::validateTaskParameters(const ConfigValues &job)