From 51f0b912c6d13214b09716d51bcb5d3baed5d56c Mon Sep 17 00:00:00 2001
From: =?utf8?q?Otto=20Kek=C3=A4l=C3=A4inen?= <otto@debian.org>
Date: Sat, 18 May 2024 18:34:58 -0700
Subject: [PATCH] Salsa-CI: Allow autopkgtest to fail for now

The package does not have any debian/tests and thus autopkgtest will run
autodep8-perl which does not pass, and will need some work before enabled:

    autodep8-perl-build-deps FAIL non-zero exit status 253
    autodep8-perl        PASS (superficial)
    autodep8-perl-recommends FAIL non-zero exit status 1

Allowing failure in GitLab CI will still show the job as yellow, and
hopefully attract the attention of developers to later fix is too.
---
 debian/salsa-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
index 3de2c8b6..60fbec39 100644
--- a/debian/salsa-ci.yml
+++ b/debian/salsa-ci.yml
@@ -7,3 +7,12 @@ include:
 # https://salsa.debian.org/%{project_path}/-/pipelines, ensure that
 # https://salsa.debian.org/%{project_path}/-/settings/ci_cd has in field "CI/CD
 # configuration file" filename "debian/salsa-ci.yml"
+
+# The package does not have any debian/tests and thus autopkgtest will run
+# autodep8-perl which does not pass, and will need some work before enabled:
+#   autodep8-perl-build-deps FAIL non-zero exit status 253
+#   autodep8-perl        PASS (superficial)
+#   autodep8-perl-recommends FAIL non-zero exit status 1
+autopkgtest:
+  extends: .test-autopkgtest
+  allow_failure: true
-- 
2.39.5