summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-01-16 19:36:55 +0200
committerLars Wirzenius <liw@liw.fi>2024-01-16 19:36:55 +0200
commit00b96b88cd971cc03747e11376ec61543ff9abde (patch)
tree9d7b988ccb2bce09fa1779c4219df61083796741
parent211bb3a7d18f5e2e1ad98ef661f036eddd4e652f (diff)
downloadradicle-native-ci-00b96b88cd971cc03747e11376ec61543ff9abde.tar.gz
fix: where run info is stored
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rw-r--r--src/engine.rs4
1 files changed, 4 insertions, 0 deletions
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.