[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-bundle-testsuite/master] Bug 40015: Add script to start nightly build on tb-build-01



commit 3afd1885b19ea7146012f01b357c2bffd9f99803
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
Date:   Fri Feb 12 20:21:12 2021 +0100

    Bug 40015: Add script to start nightly build on tb-build-01
---
 tools/tb-build-01-start-nightly-build | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/tools/tb-build-01-start-nightly-build b/tools/tb-build-01-start-nightly-build
new file mode 100755
index 0000000..6a37459
--- /dev/null
+++ b/tools/tb-build-01-start-nightly-build
@@ -0,0 +1,14 @@
+#!/bin/bash
+set -e
+
+cd /home/tb-builder/tor-browser-bundle-testsuite
+export RBM_NO_DEBUG=1
+./tbb-testsuite --config=tb-build-01.torproject.org "$@"
+/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
+# 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@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx true



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits