From 6e75e62302c977131a00de0d3c41084f0958921a Mon Sep 17 00:00:00 2001 From: Stefan Hansson Date: Thu, 25 Sep 2025 19:31:57 +0200 Subject: [PATCH] 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: --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 206155b6d..6f64c25d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: