Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
Lars Wirzenius bf8be65677 feat: allow disabling updates to job COBs in config 2026-05-11 15:03:21 +03:00
Lars Wirzenius ecce2a73a5 feat: add a variant to KnownJobCobs that makes no updates 2026-05-11 14:30:34 +03:00
Lars Wirzenius fd7d8a91af refactor: make KnownJobCobs into an enum
This is in preparation of adding a do-not-update variant.
2026-05-11 14:26:02 +03:00
Lars Wirzenius 7739164263 refactor: use a clearer way to get matching values from hashmap
Found by clippy.
2026-05-05 14:39:10 +03:00
Lars Wirzenius 276187c685 feat(src/pages.rs): shorten meta refresh value a lot
Five seconds will work better for demos, but may be too short for real
use.
2026-04-13 11:51:13 +03:00
Lars Wirzenius 8da2ffd0cf fix(src/config.rs): point at correct place where meta refresh is set 2026-04-13 11:50:11 +03:00
Lars Wirzenius d93a285e33 fix(doc/userguide.md): fix typo 2026-04-13 11:49:45 +03:00
Lars Wirzenius 071e3e7b95 refactor(src/notif.fs): fix typo in constant name 2026-04-13 11:43:30 +03:00
Lars Wirzenius bbc4e4239b fix(src/config.rs): fix typo in doc comment 2026-04-13 11:42:15 +03:00
Lars Wirzenius e5d249bd3c chore: update debian/changelog with tentative relese version 2026-03-28 11:09:03 +02:00
Lars Wirzenius 980df1f55c chore: prepare release 0.27.0 2026-03-24 09:05:32 +02:00
Lars Wirzenius a3dacbe037 chore: prepare release 0.25.0 2026-03-06 10:01:59 +02:00
Lars Wirzenius ce827de8b9 fix: use new workspace path in Ambient
Ambient lint looks for these.
2026-03-06 09:00:19 +02:00
Lars Wirzenius 8336d8c934 chore: delete obsolete RUSTSEC and copyright licence 2026-03-06 08:57:20 +02:00
Lars Wirzenius 369227ca55 chore: bump Radicle dependencies
Also fix up things that break.
2026-03-06 08:56:47 +02:00
Lars Wirzenius 88fd92e894 chore: update dependency on html-page
No other changes needed, but this will mean radicle-ci-broker and
radicle-ci-ambient depend on the same version of html-page.
2026-03-06 08:56:33 +02:00
Lars Wirzenius 472d6486f0 fix: document installing from Radicle APT repository 2026-03-04 09:48:41 +02:00
Lars Wirzenius fbd992f319 chore: bump indirect dependency on keccak to non-yanked version 2026-02-15 18:16:01 +02:00
Lars Wirzenius bb1b8b5e58 chore: bump dependency on html-page to new 0.4.2
Fix warnings about argument type. The new version allows borrowed or
owned values.
2026-02-15 18:12:32 +02:00
Lars Wirzenius 02e259f0df refactor: add ergo::Oid export
Use this consistently to reduce confusion between Oid types from
Radicle.
2026-02-13 14:28:26 +02:00
Lars Wirzenius 1620a6a147 refactor: QueueAdder holds an ergo::Radicle
This still loads the profile, because Worker needs a 'static lifetime
and this is the easiest way to achieve that.
2026-02-13 14:28:26 +02:00
Lars Wirzenius 0e2bc0de39 refactor: drop Worker::name, now unnecessary 2026-02-13 14:28:26 +02:00
Lars Wirzenius a7c73cece8 refactor: make Worker::NAME be a static string 2026-02-13 14:28:26 +02:00
Lars Wirzenius a5842ff37d refactor: CiEventSource gets a reference to a profile instead of owning it 2026-02-13 14:28:26 +02:00
Lars Wirzenius f38a67bf51 refactor: use ergo module to load profile 2026-02-13 14:28:26 +02:00
Lars Wirzenius 82ed0bc067 chore: rewrite nested if-lets to not be nested
This is new idiomatic style in the 2024 edition, it seems.
2026-02-11 15:07:36 +02:00
Lars Wirzenius 2ee045e2ce chore: update dependency on time crate
For https://rustsec.org/advisories/RUSTSEC-2026-0009
2026-02-11 14:05:35 +02:00
Lars Wirzenius cdeb15990e doc: add link to Radicle CI home page 2026-01-23 09:11:12 +02:00
Lars Wirzenius 2e2c3f3851 chore: prepare release 0.25.0 2026-01-20 09:27:08 +02:00
Lars Wirzenius 13a686078a fix: adapt to Oid version differences, Patch title generation 2026-01-16 17:59:28 +02:00
Lars Wirzenius 6c3970542c chore: update dependncies on Radicle crates 2026-01-16 17:59:28 +02:00
Lars Wirzenius d1d0bf8690 fix: use now-correct error type 2026-01-16 17:59:28 +02:00
Lars Wirzenius ad594b6286 fix: ignore all unhandled node events 2026-01-16 17:59:28 +02:00
Lars Wirzenius 2ef340ba2e feat: add logger function of unhandle node eventws 2026-01-16 16:54:03 +02:00
Lars Wirzenius bb550462fa chore: drop dependency on radicel-git-ext, unused 2026-01-16 16:25:49 +02:00
Lars Wirzenius cdf88d6750 chore: update dependency on nuuid 2026-01-16 16:17:50 +02:00
Lars Wirzenius 9e8294ef50 chore: update dependency on thiserror 2026-01-16 16:15:35 +02:00
Lars Wirzenius 3c5c684dae chore: update dependency on tempfile 2026-01-16 16:14:38 +02:00
Lars Wirzenius fd8f47b93a chore: update dependency on subplotlib 2026-01-16 16:13:25 +02:00
Lars Wirzenius b1c19a4c84 chore: update dependencyu on regex 2026-01-16 16:04:53 +02:00
Lars Wirzenius 6bcb6a69fa chore: update dependency on nonempty to 0.12.0 2026-01-16 16:02:17 +02:00
Lars Wirzenius a014cf6e3b chore: depend on newer version of duration-str 2026-01-16 15:54:07 +02:00
Lars Wirzenius 41b30adb34 refactor: express dependency on radicle same way as others 2026-01-16 15:51:27 +02:00
Lars Wirzenius b6efecdd72 chore: update .ambient/dch 2025-12-21 06:12:55 +02:00
Lars Wirzenius 322b61c550 chore: refresh dch from ambient-actions
Fixes bash invocation so it should work on NixOS.
2025-12-16 15:41:46 +02:00
Lars Wirzenius e681fc8884 refactor: drop unnecessary result type for capture method 2025-12-11 19:34:18 +02:00
Lars Wirzenius e90dfebdde refactor: avoid exposing types from dependencies in error types 2025-12-10 14:10:09 +02:00
Lars Wirzenius 1921aed19d tests: drop 0.23.0 from upgrade tests 2025-12-09 16:42:17 +02:00
Lars Wirzenius e36b10a4cb tests: add release 0.24.0 to upgrade tests 2025-12-09 16:37:52 +02:00
Lars Wirzenius f307ac433d chore: prepare release 0.24.0 2025-12-09 15:54:05 +02:00
Lars Wirzenius 7a1320aa8c ci: initialize Radicle node before running test suite
Unit tests need access to a Radicle node.
2025-12-05 16:35:46 +02:00
Lars Wirzenius 565892557b feat: make announcing option for "cibool cob" 2025-12-05 16:14:09 +02:00
Lars Wirzenius e541019e3a feat: cache job COB ID lookup 2025-12-05 16:13:38 +02:00
Lars Wirzenius 21db3db163 feat: add "cibtool cob" to add runs to a job COB 2025-12-05 16:13:05 +02:00