Jobs in the .pre stage run before any other jobs:
https://docs.gitlab.com/ee/ci/yaml/index.html#stage-pre
As commit-check is lightweight and a prerequisite for merging MRs,
this moves it from the test stage to .pre.
Signed-off-by: Daiki Ueno <ueno@gnu.org>
##############################################################################
commit-check:
- stage: test
+ stage: .pre
+ variables:
+ GIT_SUBMODULE_STRATEGY: none
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$ALPINE_BASE_BUILD
- needs: [] # can be run immediately
before_script: []
after_script: []
except: