Skip to content

Commit

Permalink
Just pull the tip of certbot to save bandwidth. (letsencrypt#2146)
Browse files Browse the repository at this point in the history
Changes the `test.sh` certbot git clone to use `--depth=1`. Prior to this commit the clone cost ~11 MiB. It now it costs ~784 KiB.
  • Loading branch information
cowlicks authored and cpu committed Sep 6, 2016
1 parent ce0016b commit 45bb14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ if [[ "$RUN" =~ "integration" ]] ; then
echo "--- Recommend setting \$CERTBOT_PATH to ---"
echo "--- client repo with initialized virtualenv ---"
echo "------------------------------------------------"
run git clone https://www.github.com/certbot/certbot.git $CERTBOT_PATH || exit 1
run git clone --depth=1 https://www.github.com/certbot/certbot.git $CERTBOT_PATH || exit 1
fi

if ! type certbot >/dev/null 2>/dev/null; then
Expand Down

0 comments on commit 45bb14a

Please sign in to comment.