[tbb-commits] [tor-browser-bundle-testsuite] 02/02: Bug 40045: Run static-update-component in rsync-to-tbb-nightlies-master

gitolite role git at cupani.torproject.org
Tue Apr 26 19:45:47 UTC 2022


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

richard pushed a commit to branch master
in repository tor-browser-bundle-testsuite.

commit 6933288ad0e76a79c239364218a47b40dbffbd6b
Author: Nicolas Vigier <boklm at torproject.org>
AuthorDate: Mon Apr 25 11:13:15 2022 +0200

    Bug 40045: Run static-update-component in rsync-to-tbb-nightlies-master
---
 tools/rsync-to-tbb-nightlies-master   | 7 ++++++-
 tools/tb-build-01-start-nightly-build | 4 ----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/tools/rsync-to-tbb-nightlies-master b/tools/rsync-to-tbb-nightlies-master
index 996996d..eacaaf8 100755
--- a/tools/rsync-to-tbb-nightlies-master
+++ b/tools/rsync-to-tbb-nightlies-master
@@ -11,6 +11,11 @@ if (-f $lockfile) {
 }
 path($lockfile)->spew_utf8($$);
 
-system('rsync', '-aH', '--delete-before', '/home/tb-builder/nightly-builds/',
+my $res = system('rsync', '-aH', '--delete-before', '/home/tb-builder/nightly-builds/',
     'tbb-nightlies at tbb-nightlies-master.torproject.org:/');
+# Run static-update-component on tbb-nightlies-master:
+#   in /etc/ssh/userkeys/tbb-nightlies on tbb-nightlies-master we have a
+#   command="" option with this key running static-update-component
+system('ssh', '-i', '/home/tb-builder/.ssh/id_rsa_static-update-component',
+  'tbb-nightlies at tbb-nightlies-master.torproject.org', 'true') if $res == 0;
 unlink $lockfile;
diff --git a/tools/tb-build-01-start-nightly-build b/tools/tb-build-01-start-nightly-build
index 9dfb952..460ec35 100755
--- a/tools/tb-build-01-start-nightly-build
+++ b/tools/tb-build-01-start-nightly-build
@@ -59,7 +59,3 @@ test "$builds_size" -gt 20000000 && \
 # sleep for 5m to give time to previous rsync to finish
 sleep 5m
 /home/tb-builder/tor-browser-bundle-testsuite/tools/rsync-to-tbb-nightlies-master
-# Run static-update-component on tbb-nightlies-master:
-#   in /etc/ssh/userkeys/tbb-nightlies on tbb-nightlies-master we have a
-#   command="" option with this key running static-update-component
-ssh -i /home/tb-builder/.ssh/id_rsa_static-update-component tbb-nightlies at tbb-nightlies-master.torproject.org true

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


More information about the tbb-commits mailing list