From a8799c5e197bc9387dbec9dcafe295d243b9eaaf Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Mon, 1 Aug 2022 07:16:22 -0700 Subject: [PATCH] devops: drastically speedup full firefox build on CI (#16096) Do not checkout full history of a master branch to bootstrap dependencies. --- browser_patches/firefox/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh index 693f1bba03..cf86f1fa6d 100755 --- a/browser_patches/firefox/build.sh +++ b/browser_patches/firefox/build.sh @@ -129,7 +129,7 @@ if [[ -n "${IS_FULL}" ]]; then # 1. We have a --single-branch checkout, so we have to add a "master" branch and fetch it git remote set-branches --add browser_upstream master - git fetch browser_upstream master + git fetch --depth 1 browser_upstream master # 2. Checkout the master branch and run bootstrap from it. git checkout browser_upstream/master echo "ac_add_options --enable-bootstrap" >> .mozconfig