Crate radicle_ci_broker

Source
Expand description

Radicle CI broker.

The broker triggers CI runs based on events emitted by its local Radicle CI node. This crate allows listening to events from the node, filter the events, and to communicate with a adapter spawned as a child process.

Modulesยง

  • Run a Radicle CI adapter.
  • The business logic of the CI broker.
  • Configuration for the CI broker and related programs.
  • Database abstraction for the Radicle CI broker.
  • A logger abstraction for the CI broker.
  • Messages for communicating with the adapter.
  • Read node events from the local node.
  • Notification channel between threads.
  • Status and report pages for CI broker.
  • Process events in the persistent event queue.
  • A data type for holding sensitive data to avoid accidentally leaking it.
  • Run a command (an external program) as a sub-process, capturing its output in real time, with a maximum duration.