From 4e4e8aa5af8b06ac9ea5af38ed793110a4cb7ed4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 26 Oct 2011 17:56:22 -0400 Subject: [PATCH] * add a Makefile push target * update offsets --- Makefile | 6 ++++++ loadbot/make_do_all.pl | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c978588..5ea473c 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,12 @@ prep: cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH scp loadbot/prep.pl BLAH: cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH ./prep.pl +push: + -git commit -a + -git push + git update-server-info + git show -s --format=%H + pull: git update-server-info cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "cd benchmarks; git pull" diff --git a/loadbot/make_do_all.pl b/loadbot/make_do_all.pl index a14a0aa..aae278a 100755 --- a/loadbot/make_do_all.pl +++ b/loadbot/make_do_all.pl @@ -7,8 +7,8 @@ open OUT2, ">testservers"; foreach my $line (split "\n", `cat /tmp/junk`) { my @parts = split " ", $line; - print OUT "./ssh.pl $parts[13] root $parts[7] \$1\n"; - print OUT2 "$parts[13]\n"; + print OUT "./ssh.pl $parts[17] root $parts[11] \$1\n"; + print OUT2 "$parts[17]\n"; } close OUT;