From 00b96b88cd971cc03747e11376ec61543ff9abde Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 16 Jan 2024 19:36:55 +0200 Subject: [PATCH] fix: where run info is stored Signed-off-by: Lars Wirzenius --- src/engine.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine.rs b/src/engine.rs index 2444631..96f61dd 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -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.