aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrubo77 <github@r.z11.de>2018-07-20 11:15:53 +0200
committerrubo77 <github@r.z11.de>2018-07-20 13:24:10 +0200
commita4cd7f58662efdfa148c2f126fb79d56eaa64e1b (patch)
treeaed0da8d6235b68b4d16368a773eb5daa35e1e52 /tests
parent072eec203b03fde05890ae8b8fa62d14798327b7 (diff)
validate script more verbose and git clone only depth 1
Diffstat (limited to 'tests')
-rwxr-xr-xtests/validate_site.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/validate_site.sh b/tests/validate_site.sh
index 7230558..af21130 100755
--- a/tests/validate_site.sh
+++ b/tests/validate_site.sh
@@ -38,7 +38,7 @@ for feed in $GLUON_SITE_FEEDS; do
echo "branch $branch_var missing"
exit 1
fi
- git clone -b "$branch" --single-branch "$repo" $feed
+ git clone -b "$branch" --depth 1 --single-branch "$repo" $feed
if [ "$?" != "0" ]; then exit 1; fi
cd $feed
git checkout "$commit"
@@ -47,7 +47,7 @@ for feed in $GLUON_SITE_FEEDS; do
done
echo "####### downloading github.com/freifunk-gluon/packages ..."
-git clone -b $GLUON_PACKAGES_BRANCH --single-branch https://github.com/freifunk-gluon/packages
+git clone -b $GLUON_PACKAGES_BRANCH --depth 1 --single-branch https://github.com/freifunk-gluon/packages
echo "####### downloading gluon ..."
cd $testpath
@@ -56,7 +56,7 @@ cd gluon
git remote add origin $GLUON_REPO
git config core.sparsecheckout true
echo "package/*" >> .git/info/sparse-checkout
-git pull --depth=1 origin $GLUON_BRANCH
+git pull --depth 1 origin $GLUON_BRANCH
cp -a package/ $testpath/packages
cd $testpath/packages/package