Make repository cloning a bit faster

This change makes test execution a bit faster.

Change-Id: Ie46b6ee0a62d4f6fd40f199b7da03e8ac814ad32
Closes-bug: #1507535
This commit is contained in:
Andrey Tykhonov 2015-10-19 14:13:41 +03:00
parent 3975398ea9
commit 952c9d9ba5
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ obtain_nailgun() {
err "Obtaining Nailgun with the revision $FUEL_COMMIT"
if [[ "$FUEL_WEB_CLONE" == "yes" ]]; then
git clone $FUEL_WEB_REPO $FUEL_WEB_ROOT || \
git clone --depth 1 $FUEL_WEB_REPO $FUEL_WEB_ROOT || \
{ err "Failed to clone Nailgun"; exit 1; }
fi