Lars Wirzenius
eaeb89b3bf
feat: depend on radicle-ci-broker via crates.io, plus fixes
...
The CI broker has dropped the RunResult::Error variant, so drop any
use of that. The Request::version field has been added, so deal with
that.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-04-03 16:18:00 +03:00
Lars Wirzenius
8bd8b9b21b
refactor: drop use of RunInfo
...
The run log replaces all uses of RunInfo now that the CI broker builds
report pages.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 15:08:03 +03:00
Lars Wirzenius
7746b37c33
chore: drop unused report module
...
The CI broker produces reports now.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 12:02:49 +03:00
Lars Wirzenius
b98bd3cc15
chore: drop unused NativeMessageError::RemoveDir variant
2024-03-14 11:42:55 +02:00
Lars Wirzenius
211bb3a7d1
refactor: use engine in main
...
Also introduce exit codes: 0 for success, 1 for problem in the
repository under test, 2 for engine problem.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-01-16 19:20:27 +02:00
Lars Wirzenius
7cab669cca
improve error handling
...
Incl. fix tests.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-01-15 17:37:49 +02:00
Lars Wirzenius
3a20cb66e6
feat! drop the env logging
...
We have a run log, aimed at the developer for whose project CI is run,
and the node admin log, aimed at the node admin. We don't need a third
log aimed at the developer of the native CI engine itself.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-01-15 14:38:58 +02:00
Lars Wirzenius
32486e8254
refactor: add helper function to send "triggered" message
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-01-10 17:38:05 +02:00
Lars Wirzenius
bc7ffbad0f
refactor: split one Rust main module into many small module
...
This lets me see the core logic easier.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-01-10 17:38:05 +02:00