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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user