This is an automated email from the git hooks/post-receive script.
boklm pushed a commit to branch maint-11.0 in repository builders/tor-browser-build.
commit 12d4f48e83c3e76c2e1c0cc5ed852b93a1aa34c4 Author: Nicolas Vigier boklm@torproject.org AuthorDate: Fri Apr 1 13:49:14 2022 +0200
Bug 40476: Add wait-for-finished-build --- tools/signing/wait-for-finished-build | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/tools/signing/wait-for-finished-build b/tools/signing/wait-for-finished-build new file mode 100755 index 0000000..44dbf81 --- /dev/null +++ b/tools/signing/wait-for-finished-build @@ -0,0 +1,21 @@ +#!/bin/bash +# +# This script will wait until a build is finished on ssh_host_builder. +# +# You can use this to start downloading a build immediately after it +# finished with something like: +# $ ./wait-for-finished-build && ./sync-builder-unsigned-to-local-signed +# +set -e +script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +source "$script_dir/functions" + +var_is_defined ssh_host_builder builder_tor_browser_build_dir + +while true +do + ssh "$ssh_host_builder" test -f "$builder_tor_browser_build_dir/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/sha256sums-unsigned-build.incrementals.txt" && \ + exit 0 + echo "$(date -Iseconds): Waiting for build to finish..." + sleep 5m +done