fix: where run info is stored

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-01-16 19:36:55 +02:00
parent 211bb3a7d1
commit 00b96b88cd
+4
View File
@@ -144,6 +144,10 @@ impl Engine {
let (run_id, run_dir) = mkdir_run(&self.config)?;
let run_id = RunId::from(format!("{}", run_id).as_str());
// Set the file where the run info should be written, now that
// we have the run directory.
self.run_info_builder.run_info(run_dir.join("run.yaml"));
// Get node git storage. We do this before responding to the
// trigger, so that if this fails, we haven't said that a run
// has started.