CI: dint: don't mark job as failed if only warnings were raised

In the case of there being warnings but no errors, dint will set its
exit code to 2. We don't want the pipeline to fail in this case, so have
2 be an allowed failure exit code.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7083>
This commit is contained in:
Stefan Hansson
2025-10-01 12:03:26 +00:00
committed by The Friendly Merge Bot
parent fef14737eb
commit 6e75e62302
+3
View File
@@ -116,6 +116,9 @@ dint:
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/dint.sh
allow_failure:
exit_codes:
- 2 # returned by dint on non-fatal warning
# kernel kconfig check
kernel-kconfig: