Unverified Commit 6933288a authored by boklm's avatar boklm
Browse files

Bug 40045: Run static-update-component in rsync-to-tbb-nightlies-master

parent 5add3079
...@@ -11,6 +11,11 @@ if (-f $lockfile) { ...@@ -11,6 +11,11 @@ if (-f $lockfile) {
} }
path($lockfile)->spew_utf8($$); 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@tbb-nightlies-master.torproject.org:/'); 'tbb-nightlies@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@tbb-nightlies-master.torproject.org', 'true') if $res == 0;
unlink $lockfile; unlink $lockfile;
...@@ -59,7 +59,3 @@ test "$builds_size" -gt 20000000 && \ ...@@ -59,7 +59,3 @@ test "$builds_size" -gt 20000000 && \
# sleep for 5m to give time to previous rsync to finish # sleep for 5m to give time to previous rsync to finish
sleep 5m sleep 5m
/home/tb-builder/tor-browser-bundle-testsuite/tools/rsync-to-tbb-nightlies-master /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@tbb-nightlies-master.torproject.org true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment