chore: update dependencies on CI broker and radicle

Depend on ci broker 0.2.0 and radicle 0.11.0. Make a small required
change.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-06-06 18:30:45 +03:00
parent c462567153
commit 7b0a234ee5
3 changed files with 1202 additions and 160 deletions
Generated
+1197 -155
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -13,8 +13,8 @@ categories = ["development-tools::build-utils"]
[dependencies]
html-page = "0.2.0"
radicle = "0.9.0"
radicle-ci-broker = "0.1.0"
radicle = "0.11.0"
radicle-ci-broker = "0.2.0"
radicle-git-ext = "0.7.0"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.114"
+3 -3
View File
@@ -29,8 +29,8 @@ use std::{
use radicle::{git::Oid, identity::Did, prelude::RepoId};
use radicle_ci_broker::msg::{
Author, EventCommonFields, EventType, Patch, PatchEvent, Repository, Request, Response,
RunResult, State,
Author, EventCommonFields, EventType, Patch, PatchAction, PatchEvent, Repository, Request,
Response, RunResult, State,
};
use tempfile::{tempdir, TempDir};
@@ -524,7 +524,7 @@ fn trigger(repo_id: RepoId, commit: Oid) -> Request {
},
push: None,
patch: Some(PatchEvent {
action: "updated".into(),
action: PatchAction::Updated,
patch: Patch {
id: Oid::try_from("ff3099ba5de28d954c41d0b5a84316f943794ea4").unwrap(),
author: Author {