Issue a warning for Debian pipeline failures but don't fail the CI
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 18 Nov 2020 15:05:19 +0000 (16:05 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 18 Nov 2020 15:05:19 +0000 (16:05 +0100)
Since this fails every time we bump the version number and takes time to
catch up while failing every following PRs, let's prevent this pipeline
from failing the CI.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
.drone.yml

index 39bb093d826120449fdd8515cac64e07c0bff6d0..ab39fc1f034333e753572530078556be7008313f 100644 (file)
@@ -122,7 +122,7 @@ steps:
 - name: build
   image: nextcloudci/client-debian-ci:client-debian-ci-2
   commands:
-    - /bin/bash -c "./admin/linux/debian/drone-build.sh"
+    - /bin/bash -c "./admin/linux/debian/drone-build.sh" || echo "[WARNING] Debian build failed but this is a non-blocking CI event"
   environment:
     DEBIAN_SECRET_KEY:
       from_secret: DEBIAN_SECRET_KEY