diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2019-12-04 16:31:02 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-02-09 22:38:59 +0100 |
commit | 8785cec65a359b1059aa75ec5c8e5d2943a79c25 (patch) | |
tree | 0484457251cfdd733da344f6b178c3fc6fd18e38 | |
parent | f4b5c603445510f8cb8df60f0bf6ad9e8f670b48 (diff) |
gitlab-ci: Move git settings to the right spot and use shallow checkout
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
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 |