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>
This commit is contained in:
Lars Wirzenius
2024-12-09 07:35:54 +02:00
parent 5f021167e8
commit c4bb071a95
6 changed files with 3 additions and 69 deletions
-1
View File
@@ -219,7 +219,6 @@ impl Engine {
run.set_request(req);
run.set_commit(commit);
run.set_storage(storage);
run.set_timeout(self.config.timeout());
// Actually run. Examine the run log to decide if the run
// succeeded or failed.