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:
parent
3975398ea9
commit
952c9d9ba5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user