mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-09 15:41:10 +03:00
Run all reviews in single job
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -100,35 +100,21 @@ workflow:
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# Review #
|
# Review #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
codespell:
|
review:
|
||||||
stage: review
|
|
||||||
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
|
|
||||||
script:
|
|
||||||
- codespell --ignore-words-list=keypair,sorce,ned,nd,ue
|
|
||||||
tags:
|
|
||||||
- shared
|
|
||||||
only:
|
|
||||||
- merge_requests
|
|
||||||
|
|
||||||
clang-format:
|
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: 100
|
GIT_DEPTH: 100
|
||||||
stage: review
|
stage: review
|
||||||
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
|
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
|
||||||
script:
|
script:
|
||||||
- ./.gitlab-ci/clang-format-check.sh
|
- ERROR=0
|
||||||
only:
|
codespell --ignore-words-list=keypair,sorce,ned,nd,ue || ERROR=1;
|
||||||
- merge_requests
|
./.gitlab-ci/clang-format-check.sh || ERROR=1;
|
||||||
|
./.gitlab-ci/git-check-signoff-trailer.sh ${CI_MERGE_REQUEST_DIFF_BASE_SHA} || ERROR=1;
|
||||||
|
exit $ERROR
|
||||||
# the format is not always matching our intentions
|
# the format is not always matching our intentions
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
tags:
|
||||||
git-log-check:
|
- shared
|
||||||
variables:
|
|
||||||
GIT_DEPTH: 100
|
|
||||||
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
|
|
||||||
stage: review
|
|
||||||
script:
|
|
||||||
- ./.gitlab-ci/git-check-signoff-trailer.sh ${CI_MERGE_REQUEST_DIFF_BASE_SHA}
|
|
||||||
only:
|
only:
|
||||||
- merge_requests
|
- merge_requests
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user