gitlab: add a CI job for running checkpatch.pl
commit1f47547256b72fecd9ebf629a8e48cd20282a758
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 18 Sep 2020 13:29:01 +0000 (18 14:29 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 13 Oct 2020 10:48:17 +0000 (13 12:48 +0200)
tree91954e9824b3a50bb19dbc257d3dd14c4384154b
parent5f8937d63f5b24bbe044c6e00519fa91f86f04bc
gitlab: add a CI job for running checkpatch.pl

This job is advisory since it is expected that certain patches will fail
the style checks and checkpatch.pl provides no way to mark exceptions to
the rules.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200918132903.1848939-2-berrange@redhat.com>
[thuth: Use "stage: build" to let it run earlier]
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/check-patch.py [new file with mode: 0755]
.gitlab-ci.yml