gitlab-ci: add git variable to speed up clone
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 12 Dec 2017 01:26:07 +0000 (14:26 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 27 Mar 2018 21:03:13 +0000 (23:03 +0200)
commit2532c0db0ce2c189ab6fc96ab5c5e56ce5b17ecd
tree0fbefed41187c621fd913db1e620141592c6b21d
parent75d2be7da584a017beab493355cb88ce7dc61f4a
gitlab-ci: add git variable to speed up clone

Set GIT_STATEGY to fetch, and GIT_DEPTH to 3.
This will speed up cloning for repos.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
.gitlab-ci.yml