summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-12-04 16:31:02 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-02-12 11:06:11 +0100
commita9dbe66f7be259422ec3c11198fd30bce4d19c0a (patch)
tree123446c0751c61bfc758c1726c9be01cb999289b /.gitlab-ci.yml
parentfa878cfc9e2bf476d81b0af0c2d354f9967bd3ae (diff)
gitlab-ci: Move git settings to the right spot and use shallow checkout
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
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