mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 02:20:43 +08:00
This is meant to record in Radicle that automated "jobs" have been run on a repository. The job might be, for example, a CI run that builds the software and runs its tests. The recording is done in a "job COB", which can be in three states: * fresh -- when the job has been triggered, but has not yet started running * running -- when it's running * finished -- when it's finished running The finished state also records whether the job was successful or if it failed. A job COB records the git commit that it runs on, and the "run ID" of the job. The run ID represents an external identifier, such as one assigned by a remote CI system. The COB can optionally store a URL related to the job, such as to the build log from CI. Add the "rad job" subcommand to create and manage job COBs. For production use, the COBs should be created and updated using `heartwood` as a library instead of running "rad job", if at all possible. However, "rad job list" lists the jobs that have been run on the repository. The COB type name is xyz.radicle.beta.job, until we've gained experience with the COB and its implementation and are ready to declare it stable. Signed-off-by: Lars Wirzenius <liw@liw.fi>
65 lines
1.5 KiB
Rust
65 lines
1.5 KiB
Rust
#[path = "commands/auth.rs"]
|
|
pub mod rad_auth;
|
|
#[path = "commands/block.rs"]
|
|
pub mod rad_block;
|
|
#[path = "commands/checkout.rs"]
|
|
pub mod rad_checkout;
|
|
#[path = "commands/clean.rs"]
|
|
pub mod rad_clean;
|
|
#[path = "commands/clone.rs"]
|
|
pub mod rad_clone;
|
|
#[path = "commands/cob.rs"]
|
|
pub mod rad_cob;
|
|
#[path = "commands/config.rs"]
|
|
pub mod rad_config;
|
|
#[path = "commands/debug.rs"]
|
|
pub mod rad_debug;
|
|
#[path = "commands/diff.rs"]
|
|
pub mod rad_diff;
|
|
#[path = "commands/follow.rs"]
|
|
pub mod rad_follow;
|
|
#[path = "commands/fork.rs"]
|
|
pub mod rad_fork;
|
|
#[path = "commands/help.rs"]
|
|
pub mod rad_help;
|
|
#[path = "commands/id.rs"]
|
|
pub mod rad_id;
|
|
#[path = "commands/inbox.rs"]
|
|
pub mod rad_inbox;
|
|
#[path = "commands/init.rs"]
|
|
pub mod rad_init;
|
|
#[path = "commands/inspect.rs"]
|
|
pub mod rad_inspect;
|
|
#[path = "commands/issue.rs"]
|
|
pub mod rad_issue;
|
|
#[path = "commands/job.rs"]
|
|
pub mod rad_job;
|
|
#[path = "commands/ls.rs"]
|
|
pub mod rad_ls;
|
|
#[path = "commands/node.rs"]
|
|
pub mod rad_node;
|
|
#[path = "commands/patch.rs"]
|
|
pub mod rad_patch;
|
|
#[path = "commands/path.rs"]
|
|
pub mod rad_path;
|
|
#[path = "commands/publish.rs"]
|
|
pub mod rad_publish;
|
|
#[path = "commands/remote.rs"]
|
|
pub mod rad_remote;
|
|
#[path = "commands/seed.rs"]
|
|
pub mod rad_seed;
|
|
#[path = "commands/self.rs"]
|
|
pub mod rad_self;
|
|
#[path = "commands/stats.rs"]
|
|
pub mod rad_stats;
|
|
#[path = "commands/sync.rs"]
|
|
pub mod rad_sync;
|
|
#[path = "commands/unblock.rs"]
|
|
pub mod rad_unblock;
|
|
#[path = "commands/unfollow.rs"]
|
|
pub mod rad_unfollow;
|
|
#[path = "commands/unseed.rs"]
|
|
pub mod rad_unseed;
|
|
#[path = "commands/watch.rs"]
|
|
pub mod rad_watch;
|