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
6 files changed
+3
-69
5f021167
→
c4bb071a
modified README.md
@@ -55,7 +55,6 @@ The fields are:
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/config.rs
@@ -4,8 +4,6 @@ use serde::{Deserialize, Serialize};
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -17,9 +15,6 @@ pub struct Config {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -43,17 +38,7 @@ impl Config {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/engine.rs
@@ -219,7 +219,6 @@ impl Engine {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/run.rs
@@ -15,9 +15,6 @@ use crate::{
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -33,7 +30,6 @@ pub struct Run {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -49,7 +45,6 @@ impl Run {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -75,13 +70,6 @@ impl Run {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -131,7 +119,6 @@ impl Run {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -164,11 +151,7 @@ impl Run {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/runlog.rs
@@ -24,7 +24,6 @@ pub struct RunLog {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -63,7 +62,7 @@ impl RunLog {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -96,10 +95,6 @@ impl RunLog {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -167,11 +162,6 @@ impl RunLog {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified tests/integration.rs
@@ -36,10 +36,6 @@ use tempfile::{tempdir, TempDir};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -367,7 +363,6 @@ impl TestCaseBuilder {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -376,7 +371,6 @@ impl TestCaseBuilder {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -704,22 +698,6 @@ fn commit_doesnt_exist() -> TestResult {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|