ci: Add ci-fairy check
This makes sure we have Signed-off-by: Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
+19
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
include:
|
include:
|
||||||
- remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/34039cd573a2df832d465bc9e4c5f543571f5241/templates/ci-fairy.yml'
|
- remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/6a40df92957c8ce9ee741aaccc5daaaf70545b1e/templates/ci-fairy.yml'
|
||||||
- remote: 'https://gitlab.gnome.org/guidog/meta-phosh/-/raw/0ed15edd821f8afacbf7a9c0f2a6266873289115/ci/phosh-common-jobs.yml'
|
- remote: 'https://gitlab.gnome.org/guidog/meta-phosh/-/raw/0ed15edd821f8afacbf7a9c0f2a6266873289115/ci/phosh-common-jobs.yml'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
@@ -9,6 +9,9 @@ stages:
|
|||||||
- style-checks
|
- style-checks
|
||||||
- package
|
- package
|
||||||
|
|
||||||
|
variables:
|
||||||
|
FDO_UPSTREAM_REPO: agx/feedbackd
|
||||||
|
|
||||||
workflow:
|
workflow:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
@@ -104,3 +107,18 @@ check-meson:
|
|||||||
extends:
|
extends:
|
||||||
- .phosh-check-meson
|
- .phosh-check-meson
|
||||||
|
|
||||||
|
# Sanity checks of MR settings and commit logs
|
||||||
|
check-commit-log:
|
||||||
|
extends:
|
||||||
|
- .fdo.ci-fairy
|
||||||
|
stage: style-checks
|
||||||
|
variables:
|
||||||
|
GIT_DEPTH: "100"
|
||||||
|
needs: []
|
||||||
|
script: |
|
||||||
|
ci-fairy check-commits --signed-off-by --junit-xml=commit-message-junit-report.xml
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
junit: commit-message-junit-report.xml
|
||||||
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH'
|
||||||
|
|||||||
Reference in New Issue
Block a user