Lars Wirzenius
215dbf3d6b
feat: log start time and duration in run log
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-12-09 10:34:22 +02:00
Lars Wirzenius
27712152d9
feat: record adapter run ID in run log; add CSS to run log
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-12-09 08:27:45 +02:00
Lars Wirzenius
c4bb071a95
feat! drop support for limiting the duration of a CI run
...
This adapter is only ever run by the Radicle CI broker, and that can
now limit CI run duration itself. Thus having this adapter do it too
is pointless duplication.
Further, this removes the run time dependency on an external "timeout"
command, which turns out not to be portable: it isn't available on
Macs, by default.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-12-09 07:35:54 +02:00
Lars Wirzenius
3366fc9074
refactor: make code to create the preamble clearer
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-11-11 12:17:23 +02:00
Lars Wirzenius
5f7eba89cf
feat: move ToC to top, add all headings
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-11-11 12:11:32 +02:00
Lars Wirzenius
6beae38618
chore: update html-page dependency to 0.4.0
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-11-08 14:14:01 +02:00
Lars Wirzenius
1488501bed
feat: combine stdout and stderr into one stream
...
This makes it easier, for me, to follow the output. It's more like
what I see in the terminal if I run the commands directly. If this
turns out to be bad for others, I'll revert.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-07-26 16:18:48 +03:00
Lars Wirzenius
ddb0603dcd
fix: pass on request to run log, harder
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-05-14 18:02:53 +03:00
Lars Wirzenius
7e4a761035
feat: log request message to run log
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-05-14 17:43:26 +03:00
Lars Wirzenius
ee90b919ae
chore: update html-page dependency to version 0.2.0
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-04-11 09:45:57 +03:00
Lars Wirzenius
8fd5e71c4b
fix: display native.yaml as a PRE
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 18:56:12 +03:00
Lars Wirzenius
dd7496fa70
add timestamps for every commancd run
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 17:03:40 +03:00
Lars Wirzenius
332cf7eea7
feat: add repository name to run log
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 16:15:14 +03:00
Lars Wirzenius
2d0d98ea2f
feat: add branch or patch information to run log
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 16:02:39 +03:00
Lars Wirzenius
830ddedc2d
feat: add .radicle/native.yaml to run log
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 15:25:44 +03:00
Lars Wirzenius
15884006b2
add runspec to RunLog
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 15:14:41 +03:00
Lars Wirzenius
2fa62ab846
feat: add a table of contents to the run log
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-03-31 14:51:56 +03:00
Lars Wirzenius
3a7c8b668d
fix: cope with heartwood's Id->RepoId rename
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-01-23 17:35:46 +02:00
Lars Wirzenius
52ba6a9081
refactor: add new engine to execute a CI run
...
In the old engine it's hard to follow how various errors are handled.
This new engine should make it clearer.
This isn't entirely a pure refactoring. It subtly changed how the
external behavior is, to fix problems.
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-01-16 19:19:50 +02:00
Lars Wirzenius
aafb251254
feat: add a module to construct HTML run logs
...
Signed-off-by: Lars Wirzenius <liw@liw.fi >
2024-01-12 13:12:44 +02:00