diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2019-12-04 16:31:02 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2019-12-04 16:31:02 +0100 |
commit | baa7eae49e3f57fcf60031b4a5e399e54b271445 (patch) | |
tree | 867cfa33f12dc99ff58c605998d55d1033a2e1c5 /.gitlab-ci.yml | |
parent | dbed7059c28347ba69a6f5a075cff9a049f6bba3 (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.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 |