Radish alpha
r
rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE
Radicle CI adapter for native CI
Radicle
Git
add runspec to RunLog
Lars Wirzenius committed 2 years ago
commit 15884006b2a35a5f726b52c8349f2b9255809f0b
parent 8bd8b9b
1 file changed +2 -1
modified src/runlog.rs
@@ -4,7 +4,7 @@ use html_page::{Document, Element, Tag};

use radicle_ci_broker::msg::{Oid, RepoId};

-
use crate::runspec::RunSpecError;
+
use crate::runspec::{RunSpec, RunSpecError};

#[derive(Debug, Default)]
pub struct RunLog {
@@ -14,6 +14,7 @@ pub struct RunLog {
    commit: Option<Oid>,
    commands: Vec<Command>,
    timeout: bool,
+
    runspec: Option<RunSpec>,
    runspec_error: Option<String>,
}