[tbb-commits] [tor-browser-bundle-testsuite] 03/04: Bug 40065: Keep builds from last 10 days on nightlies.tbb.torproject.org

gitolite role git at cupani.torproject.org
Thu Nov 10 10:13:32 UTC 2022


This is an automated email from the git hooks/post-receive script.

boklm pushed a commit to branch main
in repository tor-browser-bundle-testsuite.

commit 8f3eefc6ab26fa848bff43624ebca2e43b3a52b6
Author: Nicolas Vigier <boklm at torproject.org>
AuthorDate: Thu Nov 10 10:19:00 2022 +0100

    Bug 40065: Keep builds from last 10 days on nightlies.tbb.torproject.org
    
    Since we now have multi-locale builds, keeping old builds uses less
    space. We are also not currently doing builds every day since building
    takes more than one day. So I think we can increase the number of days
    of builds we keep (previously only one).
---
 tools/tb-build-01-start-nightly-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tb-build-01-start-nightly-build b/tools/tb-build-01-start-nightly-build
index d7431df..952d9f1 100755
--- a/tools/tb-build-01-start-nightly-build
+++ b/tools/tb-build-01-start-nightly-build
@@ -57,7 +57,7 @@ fi
 # Only clean previous builds if we use more than 20GB
 builds_size=$(du -s ~/nightly-builds/tor-browser-builds | cut -f 1)
 test "$builds_size" -gt 20000000 && \
-  /home/tb-builder/tor-browser-bundle-testsuite/clones/tor-browser-build/tools/prune-old-builds --days 1 --weeks 0 --months 0 ~/nightly-builds/tor-browser-builds
+  /home/tb-builder/tor-browser-bundle-testsuite/clones/tor-browser-build/tools/prune-old-builds --days 10 --weeks 0 --months 0 ~/nightly-builds/tor-browser-builds
 
 # sleep for 5m to give time to previous rsync to finish
 sleep 5m

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list