From 8785cec65a359b1059aa75ec5c8e5d2943a79c25 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Wed, 4 Dec 2019 16:31:02 +0100 Subject: gitlab-ci: Move git settings to the right spot and use shallow checkout --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d094b23fb25b..a4fe54d8e6fb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,6 @@ variables: DOCKER_HOST: tcp://docker:2375 DOCKER_DRIVER: overlay2 DOCKER_TLS_CERTDIR: "" - GIT_STRATEGY: fetch stages: - build-kernel @@ -13,6 +12,9 @@ stages: build_kernel: stage: build-kernel image: $CI_IMAGE + variables: + GIT_STRATEGY: fetch + GIT_DEPTH: "1" script: | echo "GCC used to build binaries is" which ${CROSS_COMPILE}gcc -- cgit v1.2.3