Skip to content

Reduce the number of old builds we keep

In tools/tb-build-06-start-nightly-build we are copying builds to a tor-browser-builds-archive directory, and keeping builds from the last 100 days, first build of the week from the last 30 weeks, and first build of the month from the last 12 months.

However the disk is getting full (tpo/applications/team/#29), so we should reduce the number of builds we keep.

Maybe keep only the last 30 days instead of 100?

Maybe we can also avoid keeping the rpm/deb files, Maybe we can also remove the debug-symbols tarball as this is the one taking the most space in linux builds:

$ ls -lh ./tbb-nightly.2024.09.19/nightly-linux-x86_64
total 727M
drwxr-xr-x 2 tb-builder tb-builder 4.0K Sep 19 03:31 logs
-rw-r--r-- 1 tb-builder tb-builder  316 Sep 19 03:34 sha256sums-unsigned-build.incrementals.txt
-rw-r--r-- 1 tb-builder tb-builder  833 Sep 19 03:34 sha256sums-unsigned-build.incrementals.txt.asc
-rw-r--r-- 1 tb-builder tb-builder 1.3K Sep 19 03:31 sha256sums-unsigned-build.txt
-rw-r--r-- 1 tb-builder tb-builder  833 Sep 19 03:31 sha256sums-unsigned-build.txt.asc
-rw-r--r-- 1 tb-builder tb-builder 308M Sep 19 03:28 tor-browser-debug-symbols-linux-x86_64-tbb-nightly.2024.09.19.tar.xz
-rw-r--r-- 1 tb-builder tb-builder 119M Sep 19 03:28 tor-browser-linux-x86_64-tbb-nightly.2024.09.19.tar.xz
-rw-r--r-- 1 tb-builder tb-builder 152M Sep 19 03:31 tor-browser-nightly-14.0~2024.09.19-1.x86_64.rpm
-rw-r--r-- 1 tb-builder tb-builder 121M Sep 19 03:30 tor-browser-nightly_14.0~2024.09.19-1_amd64.deb
-rw-r--r-- 1 tb-builder tb-builder  30M Sep 19 03:28 tor-expert-bundle-linux-x86_64-tbb-nightly.2024.09.19.tar.gz

/cc @morgan

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information