Commit Graph
950 Commits
Author SHA1 Message Date
Lars Wirzenius b4a2147073 build: build and test whole workspace 2026-07-14 16:08:12 +03:00
Lars Wirzenius 0e7ddc020f feat: add a sub-crate with things needed by an adapter implement in Rust
Move radicle_ci_broker::msg::* to radicle_ci_adapter::*. This is meant
to make building adapters in Rust to build much faster, as they only
need to build new radicle_ci_adapter crate, not the whole of
radicle_ci_broker.
2026-07-14 10:22:34 +03:00
Lars Wirzenius 6c3d7e63dc chore: prepare radicle-ci-broker release 0.30.0 2026-07-09 16:53:07 +03:00
Lars Wirzenius 12a32a0798 fix: disable generation of sample messages
The "signer" change in Radicle broke this and I can't figure out how to
do fix this, while using a mock repository. I'll disable it for now.
Will fix later.
2026-07-09 12:41:42 +03:00
Lars Wirzenius ee9a0ad475 chore: ignore advisory we can't do anything about 2026-07-09 12:09:23 +03:00
Lars Wirzenius 5c64ebdcf8 fix(.cargo/deny.toml): drop now-unused advisory 2026-07-09 12:09:23 +03:00
Lars Wirzenius abd799612c fix(src/bin/cibtoolcmd/message.rs): adjust for new Patches API 2026-07-09 12:09:23 +03:00
Lars Wirzenius 036735c0fc fix(src/cob.rs): adjust to new radicle-job crate API 2026-07-09 12:09:23 +03:00
Lars Wirzenius 6efe6a86d0 fix(src/cob.rs): adjust to new way of getting node socket path 2026-07-09 11:03:04 +03:00
Lars Wirzenius c66194402e fix(src/ci_event.rs): adapt to new Radicle API 2026-07-09 11:01:41 +03:00
Lars Wirzenius 2a852035b7 fix(src/node_event_source.rs): use new API for getting node socket path 2026-07-09 10:51:43 +03:00
Lars Wirzenius 43c40e4dbb fix(src/msg.rs): adapt to new radicle crate Patches API 2026-07-09 10:47:58 +03:00
Lars Wirzenius 2f2a9e4e47 chore: bump dependency on radicle-surf 2026-07-09 10:42:59 +03:00
Lars Wirzenius 13c5ff28b2 chore: bump dependency on radicle-job 2026-07-09 10:40:58 +03:00
Lars Wirzenius 85a70f8a09 chore: bump dependency on radicle-crypto 2026-07-09 10:37:41 +03:00
Lars Wirzenius c6734ee6be chore: bump dependency on radicle 2026-07-09 10:35:56 +03:00
Lars Wirzenius c5c314b80d chore: update lock file dependencies 2026-07-09 10:35:16 +03:00
Lars Wirzenius 35fd38ba96 feat: allow setting number of concurrent adapters 2026-07-02 10:27:53 +03:00
Lars Wirzenius 308ef4abb3 feat: optionally seed repositories 2026-07-02 10:15:15 +03:00
Lars Wirzenius 1b40bb14ba fix tmpl not cp 2026-07-02 10:04:11 +03:00
Lars Wirzenius 0505defeb2 fix tmpl ot copy 2026-07-02 10:04:07 +03:00
Lars Wirzenius 32866946d8 fix template not copy 2026-07-02 10:03:59 +03:00
Lars Wirzenius b0759d5cba fix name of tmp var 2026-07-02 10:03:36 +03:00
Lars Wirzenius 1522ed030c feat: allow configuring a temp dir for Ambienty 2026-07-02 09:50:42 +03:00
Lars Wirzenius c8b67826fb feat: make CI node description configurable 2026-07-02 09:47:31 +03:00
Lars Wirzenius 81b6e2799e feat: make Ambient CPUs and memory configurable
Provide defaults that'll work for many things, if a bit constrained.
2026-07-02 09:44:38 +03:00
Lars Wirzenius baeac4d9b2 fix: make radicle-ci-ambient.yaml a template
This means the setting for the base_url gets the right value.
2026-07-02 09:39:50 +03:00
Lars Wirzenius 160fd77ab0 chore: prepare release 0.29.0 2026-06-30 16:17:22 +03:00
Lars Wirzenius e56ef9cfdc feat: explicitly ignore all known-pointless-for-us node events
Log the first occurence of the rest.
2026-06-30 09:53:26 +03:00
Lars Wirzenius 2bae93c019 feat: log each kind of unhandled event once per run
Also raise to debug level so they're not so hidden.
2026-06-30 09:46:28 +03:00
Lars Wirzenius 21d234ad68 feat: make HTML refresh interval configurable 2026-06-29 13:44:49 +03:00
Lars Wirzenius 27d9a8bea1 chore: ignore advisory we can't do anything about 2026-06-24 18:07:20 +03:00
Lars Wirzenius 54b58b33d9 feat: in the install script and playbook, put adapter logs in directory 2026-06-18 09:45:33 +03:00
Lars Wirzenius 564abab42d doc: add update_job_cobs to config 2026-06-16 20:02:37 +03:00
Yorgos Saslis d31574afd1 doc: update links to CI adapters
Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
2026-05-31 13:33:27 +03:00
Lars Wirzenius 94f800462c chore: prepare release 0.28.1 2026-05-28 17:02:56 +03:00
Lars Wirzenius 66fca59f60 fix: broker is wanted by multi-user, not just default 2026-05-27 09:55:35 +03:00
Lars Wirzenius f1c6ddddc0 fix: enable radicle-node and ci broker services
So they restart on boot.
2026-05-27 09:55:19 +03:00
Lars Wirzenius ea72a767d5 fix: only init config if missing 2026-05-26 19:25:15 +03:00
Lars Wirzenius 88320f0319 fix: optionally use a predefined Radicle node key 2026-05-26 18:21:14 +03:00
Lars Wirzenius c11554ad1f fix: CI broker service requires node service 2026-05-26 17:07:53 +03:00
Lars Wirzenius 8aa71af4d0 fix: link markup in user guide 2026-05-26 13:18:05 +03:00
Lars Wirzenius 2d3a0e377d doc: point to installation script and playbook in userguide 2026-05-26 12:16:30 +03:00
Lars Wirzenius 141886f43e feat: Ansible role and playbook for setting up a CI node 2026-05-26 12:05:23 +03:00
Lars Wirzenius f9a41d916e feat: add shell script to set up Debian host as a Radicle CI node 2026-05-26 11:26:13 +03:00
Lars Wirzenius cf492bba54 chore: prepare release version 0.28.0 2026-05-20 19:11:37 +03:00
Yorgos Saslis 33d5a514a2 feat(logger.rs): honor RUST_LOG for per-module log filtering
Use the tracing-subscriber `EnvFilter::builder()` +
`from_env_lossy()` pattern so `RUST_LOG`, when set, takes
precedence over the `--log-level` flag. This lets operators
silence noisy dependencies (e.g. radicle-cob's "Loading object
of type ..." debug stream emitted with `target: "cob"`) while
keeping the broker itself at `debug` level.

Example: `RUST_LOG="debug,cob=info" cib ...`

`from_env_lossy()` also reports invalid directives to stderr
("ignoring '<directive>': <err>") instead of swallowing them,
so this allows operators to quickly realise if they've set the
wrong log level.

This also works with `log` crate records (most heartwood crates),
as they are bridged into tracing via tracing-subscriber's
default-enabled `tracing-log` feature, so they respect the
same directives.

Also fixes typos in the `--log-level` doc-comment.

Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
2026-05-19 17:37:49 +03:00
vagrant 3273b20686 fix: log unhandled node events at trace, not debug
NodeAnnounced, InventoryAnnounced, RefsAnnounced and other
gossip events the broker intentionally ignores fire constantly
on a connected node. At debug they drown out adapter output,
which is the main reason to run the broker at debug level.
2026-05-19 15:31:52 +03:00
Lars Wirzenius ed7170c39e chore: update Radicle home page URLs to new domain 2026-05-12 10:03:30 +03:00
Lars Wirzenius bf535363c1 chore: update Radicle Explorer URLs to new official instance 2026-05-12 09:40:16 +03:00