Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move recursor-git build script from jenkins config into git
- Loading branch information
Peter van Dijk
committed
Feb 20, 2015
1 parent
a7be3f1
commit bcca91e
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
cp /shared/top-1m.csv . | ||
BUILDING_PRODUCT=rec ./build-scripts/jenkins-driver | ||
cd pdns | ||
./dist-recursor | ||
mv pdns-recursor-*/ .. | ||
cd ../pdns-recursor-*/ | ||
LUA=1 ./configure | ||
LUA=1 make | ||
|
||
cd .. | ||
|
||
RECURSOR=$(find . -name pdns_recursor) | ||
chmod +x $RECURSOR pdns/pdns_server pdns/sdig regression-tests/toxml regression-tests*/runtests regression-tests.recursor/*.sh regression-tests.recursor/cleandig regression-tests.recursor/*/command | ||
echo sdig: > pdns/Makefile | ||
/bin/echo -e \\ttrue >> pdns/Makefile | ||
echo nsec3dig: >> pdns/Makefile | ||
/bin/echo -e \\ttrue >> pdns/Makefile | ||
echo saxfr: >> pdns/Makefile | ||
/bin/echo -e \\ttrue >> pdns/Makefile | ||
ln -s ../$RECURSOR pdns/ | ||
find . -ls | ||
cd regression-tests.recursor | ||
cp vars.sample vars | ||
trap ./stop.sh 0 | ||
./config.sh | ||
./start.sh | ||
sleep 3 | ||
svstat configs/* | ||
./runtests | ||
trap - 0 | ||
./stop.sh | ||
sleep 3 | ||
./clean.sh |