From c462567153dac75451d0b6e7fa3601f556015991 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 6 Jun 2024 15:52:04 +0300 Subject: [PATCH] feat: log repo and commit to admin log They're in the build log too, and come from the trigger message, but it's helpful for debugging to log them clearly. Signed-off-by: Lars Wirzenius --- src/engine.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine.rs b/src/engine.rs index 651f215..3a49fd4 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -105,6 +105,8 @@ impl Engine { } => { let repo = req.repo(); let commit = req.commit(); + self.adminlog + .writeln(&format!("run CI for {repo} commit {commit}"))?; match self.run_helper(repo, name, req.clone(), commit, None, Some((*id, title))) { Ok(true) => success = true,