huskies: merge 1169 story Gateway pulls signed artifacts from a release channel into its local store
This commit is contained in:
@@ -35,6 +35,9 @@ pub mod new_project;
|
||||
pub mod project_rebuild;
|
||||
/// `projects` chat command — list all registered gateway projects.
|
||||
pub mod projects;
|
||||
/// `pull <channel>` gateway chat command — fetch, verify, and install a
|
||||
/// signed release-channel artifact into the gateway's artifact store.
|
||||
pub mod pull;
|
||||
/// `rebuild gateway` command parsing (gateway self-rebuild).
|
||||
pub mod rebuild;
|
||||
/// `release` gateway chat command — build the sled binary and publish it.
|
||||
@@ -103,6 +106,16 @@ pub fn spawn_bot(
|
||||
tokio::sync::broadcast::Receiver<crate::service::gateway::GatewayStatusEvent>,
|
||||
>,
|
||||
gateway_port: Option<u16>,
|
||||
gateway_channels_store: Option<
|
||||
Arc<
|
||||
RwLock<
|
||||
std::collections::BTreeMap<
|
||||
String,
|
||||
crate::service::gateway::config::ReleaseChannelConfig,
|
||||
>,
|
||||
>,
|
||||
>,
|
||||
>,
|
||||
) -> Option<tokio::task::AbortHandle> {
|
||||
let config = match BotConfig::load(project_root) {
|
||||
Some(c) => c,
|
||||
@@ -142,6 +155,7 @@ pub fn spawn_bot(
|
||||
timer_store,
|
||||
gateway_event_rx,
|
||||
gateway_port,
|
||||
gateway_channels_store,
|
||||
)
|
||||
.await
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user