From a166379c3f435dc642cd089a5a00111f343b12e0 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 29 Sep 2023 22:02:09 +0200 Subject: [PATCH] [Test] Try to close coveralls parallel builds when failed --- .drone.jsonnet | 6 +++--- .drone.yml | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index a1fae89d1..0f453343c 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -31,8 +31,8 @@ local coveralls_attribs = { ], }; -local coveralls_trigger = { - trigger: coveralls_attribs, +local close_coveralls_trigger = { + trigger: coveralls_attribs { status: ['success', 'failure'] }, }; local coveralls_when = { @@ -255,7 +255,7 @@ local close_coveralls = { }, }, ], -} + coveralls_trigger + docker_pipeline; +} + close_coveralls_trigger + docker_pipeline; local noarch_pipeline = { name: 'default-noarch', diff --git a/.drone.yml b/.drone.yml index 365388f5e..4ec75e663 100644 --- a/.drone.yml +++ b/.drone.yml @@ -462,6 +462,10 @@ "event": [ "push", "tag" + ], + "status": [ + "success", + "failure" ] }, "type": "docker" @@ -544,7 +548,7 @@ } --- { - "hmac": "e6516adb52533ad1bfedc9ebca429c73cda213b08314d62195f713bb3588b22f", + "hmac": "0000000000000000000000000000000000000000000000000000000000000000", "kind": "signature" } ... -- 2.39.5