* add a Makefile push target

* update offsets
This commit is contained in:
Jeff Carr 2011-10-26 17:56:22 -04:00
parent 46ce906b73
commit 4e4e8aa5af
2 changed files with 8 additions and 2 deletions

View File

@ -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 scp loadbot/prep.pl BLAH:
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH ./prep.pl 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: pull:
git update-server-info git update-server-info
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "cd benchmarks; git pull" cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "cd benchmarks; git pull"

View File

@ -7,8 +7,8 @@ open OUT2, ">testservers";
foreach my $line (split "\n", `cat /tmp/junk`) { foreach my $line (split "\n", `cat /tmp/junk`) {
my @parts = split " ", $line; my @parts = split " ", $line;
print OUT "./ssh.pl $parts[13] root $parts[7] \$1\n"; print OUT "./ssh.pl $parts[17] root $parts[11] \$1\n";
print OUT2 "$parts[13]\n"; print OUT2 "$parts[17]\n";
} }
close OUT; close OUT;