summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2023-03-18 10:52:13 +0900
committerDaiki Ueno <ueno@gnu.org>2023-03-18 11:18:31 +0900
commitb356673fe9eb64809c38126132a5fdcb945dbf71 (patch)
treec9ca7056273979c6f2ae571240520081ac7dd8bb
parenteae0dffbd48616cdbb96c68b64fb8a0251714084 (diff)
downloadgnutls-b356673fe9eb64809c38126132a5fdcb945dbf71.tar.gz
.gitlab-ci.yml: make use of .pre stage
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>
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a3f7ad1423..2babcfc8ac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -156,9 +156,10 @@ default:
##############################################################################
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: