2 REVISION=$(echo '$Revision$' | sed -e 's,\$,,g' -e 's,^\w*:\s,,' )
7 # default values, tunable with command-line options
8 DEFAULT_FCDISTRO=centos5
9 DEFAULT_PLDISTRO=planetlab
10 DEFAULT_PERSONALITY=linux32
11 DEFAULT_BASE="@DATE@--@PLDISTRO@-@FCDISTRO@-@PERSONALITY@"
12 DEFAULT_build_SVNPATH="http://svn.planet-lab.org/svn/build/trunk"
15 # default gpg path used in signing yum repo
16 DEFAULT_GPGPATH="/etc/planetlab"
17 # default email to use in gpg secring
18 DEFAULT_GPGUID="root@$( /bin/hostname )"
20 DEFAULT_TESTCONFIG="default"
22 # for publishing results, and the tests settings
24 y=$(hostname|sed -e s,inria,,)
26 if [ "$x" != "$y" ] ; then
27 DEFAULT_WEBPATH="/build/@PLDISTRO@/"
28 DEFAULT_TESTBUILDURL="http://build.onelab.eu/"
29 # this is where the buildurl is pointing towards
30 DEFAULT_WEBROOT="/build/"
31 DEFAULT_TESTMASTER="testmaster.onelab.eu"
33 DEFAULT_WEBPATH="/build/@FCDISTRO@/@PLDISTRO@/"
34 DEFAULT_TESTBUILDURL="http://build.planet-lab.org/"
35 # this is where the buildurl is pointing towards
36 DEFAULT_WEBROOT="/build/"
37 DEFAULT_TESTMASTER="manager.test.planet-lab.org"
41 # assuming vserver runs in UTC
42 DATE=$(date +'%Y.%m.%d')
44 # temporary - wrap a quick summary of suspicious stuff
45 # this is to focus on installation that go wrong
46 # use with care, a *lot* of other things can go bad as well
49 echo "******************** BEG SUMMARY"
52 # read a full log and tries to extract the interesting stuff
55 m_show_line=re.compile(".* BEG (RPM|VSERVER).*|.*'boot'.*|\* .*|.*is not installed.*|.*PROPFIND.*|.*Starting.*:run_log.*")
56 m_installing_any=re.compile('\r (Installing:[^\]]*]) ')
57 m_installing_err=re.compile('\r (Installing:[^\]]*])(..+)')
58 m_installing_end=re.compile('Installed:.*')
59 m_installing_doc1=re.compile("(.*)install-info: No such file or directory for /usr/share/info/\S+(.*)")
60 m_installing_doc2=re.compile("(.*)grep: /usr/share/info/dir: No such file or directory(.*)")
62 def summary (filename):
71 for line in f.xreadlines():
72 # first off : discard warnings related to doc
73 if m_installing_doc1.match(line):
74 (begin,end)=m_installing_doc1.match(line).groups()
76 if m_installing_doc2.match(line):
77 (begin,end)=m_installing_doc2.match(line).groups()
79 # unconditionnally show these lines
80 if m_show_line.match(line):
82 # an 'installing' line with messages afterwards : needs to be echoed
83 elif m_installing_err.match(line):
84 (installing,error)=m_installing_err.match(line).groups()
85 print '>>>',installing
88 # closing an 'installing' section
89 elif m_installing_end.match(line):
91 # any 'installing' line
92 elif m_installing_any.match(line):
94 installing=m_installing_any.match(line).group(1)
95 print '>>>',installing
97 # print lines when echo is true
99 if echo: print '>>>',line,
102 print 'Failed to analyze',filename
104 for arg in sys.argv[1:]:
107 echo "******************** END SUMMARY"
111 # Notify recipient of failure or success, manage various stamps
114 # early stage ? - let's not create /build/@PLDISTRO@
115 if [ ! -d ${WEBPATH} ] ; then
117 WEBLOG=/tmp/vbuild-early.log.txt
120 summary $LOG >> ${WEBLOG}
121 (echo -n "============================== $COMMAND: failure at " ; date ; tail -c 30k $WEBLOG) > ${WEBLOG}.ko
122 if [ -n "$MAILTO" ] ; then
124 echo "See full build log at ${LOG_URL}" ; \
125 echo "and tail version at ${LOG_URL}.ko" ; \
126 echo "See complete set of testlogs at ${TESTLOGS_URL}" ; \
127 tail -c 30k ${WEBLOG} ) | mail -s "Failures with ${MAIL_SUBJECT} ${BASE}" $MAILTO
132 function success () {
134 # early stage ? - let's not create /build/@PLDISTRO@
135 if [ ! -d ${WEBPATH} ] ; then
137 WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt
140 summary $LOG >> ${WEBLOG}
141 if [ -n "$DO_TEST" ] ; then
143 echo "Successfully built and tested" ; \
144 echo "See full build log at ${LOG_URL}" ; \
145 echo "See complete set of testlogs at ${TESTLOGS_URL}" ; \
147 rm -f ${WEBLOG}.pkg-ok ${WEBLOG}.ko
150 echo "Successful package-only build, no test requested" ; \
151 echo "See full build log at ${LOG_URL}" ; \
155 if [ -n "$MAILTO" ] ; then
157 echo "$PLDISTRO ($BASE) build for $FCDISTRO completed on $(date)" ; \
158 echo "See full build log at ${LOG_URL}" ; \
159 [ -n "$DO_TEST" ] && echo "See complete set of testlogs at ${TESTLOGS_URL}" ) \
160 | mail -s "Success with ${MAIL_SUBJECT} ${BASE}" $MAILTO
162 # XXX For some reason, we haven't been getting this email for successful builds. If this sleep
163 # doesn't fix the problem, I'll remove it -- Sapan.
168 # run in the vserver - do not manage success/failure, will be done from the root ctx
173 echo -n "============================== Starting $COMMAND:build on "
179 echo "Running make IN $(pwd)"
181 # stuff our own variable settings
182 MAKEVARS=("PLDISTRO=${PLDISTRO}" "${MAKEVARS[@]}")
183 MAKEVARS=("PLDISTROTAGS=${PLDISTROTAGS}" "${MAKEVARS[@]}")
184 MAKEVARS=("build-SVNPATH=${build_SVNPATH}" "${MAKEVARS[@]}")
185 MAKEVARS=("PERSONALITY=${PERSONALITY}" "${MAKEVARS[@]}")
186 MAKEVARS=("MAILTO=${MAILTO}" "${MAKEVARS[@]}")
187 MAKEVARS=("WEBPATH=${WEBPATH}" "${MAKEVARS[@]}")
188 MAKEVARS=("TESTBUILDURL=${TESTBUILDURL}" "${MAKEVARS[@]}")
189 MAKEVARS=("WEBROOT=${WEBROOT}" "${MAKEVARS[@]}")
191 MAKEVARS=("BASE=${BASE}" "${MAKEVARS[@]}")
194 make -C /build $DRY_RUN "${MAKEVARS[@]}" stage1=true
195 # store tests_svnpath
196 make -C /build $DRY_RUN "${MAKEVARS[@]}" stage1=true tests_svnpath
198 make -C /build $DRY_RUN "${MAKEVARS[@]}" versions
200 make -C /build $DRY_RUN "${MAKEVARS[@]}" "${MAKETARGETS[@]}"
204 # this was formerly run in the myplc-devel chroot but now is run in the root context,
205 # this is so that the .ssh config gets done manually, and once and for all
206 function run_log () {
211 echo -n "============================== Starting $COMMAND:run_log on $(date)"
213 # where to find TESTS_SVNPATH
214 stamp=/vservers/$BASE/build/tests_svnpath
215 if [ ! -f $stamp ] ; then
216 echo "$COMMAND: Cannot figure TESTS_SVNPATH from missing $stamp"
220 TESTS_SVNPATH=$(cat $stamp)
221 # don't need the tests fulltree anymore
222 TESTS_SYSTEM_SVNPATH=${TESTS_SVNPATH}/system
224 ### the URL to the RPMS/<arch> location
226 for a in i386 x86_64; do
227 archdir=/vservers/$BASE/build/RPMS/$a
228 if [ -d $archdir ] ; then
229 # where was that installed
230 url=$(echo $archdir | sed -e "s,/vservers/${BASE}/build,${WEBPATH}/${BASE},")
231 url=$(echo $url | sed -e "s,${WEBROOT},${TESTBUILDURL},")
236 if [ -z "$url" ] ; then
237 echo "$COMMAND: Cannot locate arch URL for testing"
242 testmaster_ssh="root@${TESTMASTER}"
244 # test directory name on test box
247 ssh -n ${testmaster_ssh} rm -rf ${testdir}
249 ssh -n ${testmaster_ssh} svn co ${TESTS_SYSTEM_SVNPATH} ${testdir}
250 ### # check out the entire tests/ module (with system/ duplicated) as a subdir - see fulltree above
251 ### ssh -n ${testmaster_ssh} svn co ${TESTS_SVNPATH} ${testdir}/tests
252 # invoke test on testbox - pass url and build url - so the tests can use vtest-init-vserver.sh
254 for config in ${TESTCONFIG} ; do
255 configs="$configs --config $config"
257 test_env="-p $PERSONALITY -d $PLDISTRO -f $FCDISTRO"
259 # need to proceed despite of set -e
261 ssh 2>&1 -n ${testmaster_ssh} ${testdir}/run_log --build ${build_SVNPATH} --url ${url} $configs $test_env --verbose --all || success=
263 # gather logs in the vserver
264 mkdir -p /vservers/$BASE/build/testlogs
265 ssh 2>&1 -n ${testmaster_ssh} tar -C ${testdir}/logs -cf - . | tar -C /vservers/$BASE/build/testlogs -xf - || true
266 # push them to the build web
267 chmod -R a+r /vservers/$BASE/build/testlogs/
268 rsync --archive --delete /vservers/$BASE/build/testlogs/ $WEBPATH/$BASE/testlogs/
270 if [ -z "$success" ] ; then
274 echo -n "============================== End $COMMAND:run_log on $(date)"
277 function in_root_context () {
278 rpm -q util-vserver > /dev/null
281 # this part won't work with a remote(rsync) WEBPATH
282 function sign_node_packages () {
284 echo "Signing node packages"
288 repository=$WEBPATH/$BASE/RPMS/
289 # the rpms that need signing
291 # and the corresponding stamps
294 for package in $(find $repository/ -name '*.rpm') ; do
295 stamp=$repository/signed-stamps/$(basename $package).signed
296 # If package is newer than signature stamp
297 if [ $package -nt $stamp ] ; then
298 new_rpms="$new_rpms $package"
299 new_stamps="$new_stamps $stamp"
301 # Or than createrepo database
302 [ $package -nt $repository/repodata/repomd.xml ] && need_createrepo=true
305 if [ -n "$new_rpms" ] ; then
306 # Create a stamp once the package gets signed
307 mkdir $repository/signed-stamps 2> /dev/null
309 # Sign RPMS. setsid detaches rpm from the terminal,
310 # allowing the (hopefully blank) GPG password to be
311 # entered from stdin instead of /dev/tty.
313 --define "_signature gpg" \
314 --define "_gpg_path $GPGPATH" \
315 --define "_gpg_name $GPGUID" \
316 --resign $new_rpms && touch $new_stamps
319 # Update repository index / yum metadata.
320 if [ -n "$need_createrepo" ] ; then
321 echo "Indexing node packages after signing"
322 if [ -f $repository/yumgroups.xml ] ; then
323 createrepo --quiet -g yumgroups.xml $repository
325 createrepo --quiet $repository
330 function show_env () {
332 echo FCDISTRO=$FCDISTRO
333 echo PLDISTRO=$PLDISTRO
334 echo PERSONALITY=$PERSONALITY
336 echo build_SVNPATH=$build_SVNPATH
337 echo MAKEVARS="${MAKEVARS[@]}"
338 echo DRY_RUN="$DRY_RUN"
339 echo PLDISTROTAGS="$PLDISTROTAGS"
340 # this does not help, it's not yet set when we run show_env
341 #echo WEBPATH="$WEBPATH"
342 echo TESTBUILDURL="$TESTBUILDURL"
343 if in_root_context ; then
344 echo PLDISTROTAGS="$PLDISTROTAGS"
346 if [ -f /build/$PLDISTROTAGS ] ; then
347 echo "XXXXXXXXXXXXXXXXXXXX Contents of tags definition file /build/$PLDISTROTAGS"
348 cat /build/$PLDISTROTAGS
349 echo "XXXXXXXXXXXXXXXXXXXX end tags definition"
351 echo "XXXXXXXXXXXXXXXXXXXX Cannot find tags definition file /build/$PLDISTROTAGS, assuming remote pldistro"
357 function setupssh () {
361 if [ -f ${sshkey} ] ; then
362 SSHDIR=/vservers/${base}/root/.ssh
364 cp $sshkey ${SSHDIR}/thekey
366 echo " IdentityFile ~/.ssh/thekey"; \
367 echo " StrictHostKeyChecking no" ) > ${SSHDIR}/config
369 chmod 400 ${SSHDIR}/*
371 echo "WARNING : could not find provided ssh key $sshkey - ignored"
376 echo "Usage: $COMMAND [option] [var=value...] make-targets"
377 echo "This is $REVISION"
378 echo "Supported options"
379 echo " -f fcdistro - defaults to $DEFAULT_FCDISTRO"
380 echo " -d pldistro - defaults to $DEFAULT_PLDISTRO"
381 echo " -p personality - defaults to $DEFAULT_PERSONALITY"
382 echo " -m mailto - no default"
383 echo " -s svnpath - where to fetch the build module - defaults to $DEFAULT_build_SVNPATH"
384 echo " -t pldistrotags - defaults to \${PLDISTRO}-tags.mk"
385 echo " -b base - defaults to $DEFAULT_BASE"
386 echo " @NAME@ replaced as appropriate"
387 echo " -o base: (overwrite) do not re-create vserver, re-use base instead"
388 echo " the -f/-d/-p/-m/-s/-t options are uneffective in this case"
389 echo " -c testconfig - defaults to $DEFAULT_TESTCONFIG"
390 echo " -w webpath - defaults to $DEFAULT_WEBPATH"
391 echo " -W testbuildurl - defaults to $DEFAULT_TESTBUILDURL"
392 echo " -r webroot - defaults to $DEFAULT_WEBROOT - the fs point where testbuildurl actually sits"
393 echo " -M testmaster - defaults to $DEFAULT_TESTMASTER"
394 echo " -y - sign yum repo in webpath"
395 echo " -g gpg_path - to the gpg secring used to sign rpms. Defaults to $DEFAULT_GPGPATH"
396 echo " -u gpg_uid - email used in secring. Defaults to $DEFAULT_GPGUID"
397 echo " -K svnsshkey - specify key to use when svn+ssh:// URLs are used for SVNPATH"
398 echo " -S - do not publish source rpms"
399 echo " -B - run build only"
400 echo " -T - run test only"
401 echo " -n - dry-run: -n passed to make - vserver gets created though - no mail sent"
402 echo " -v - be verbose"
403 echo " -7 - uses weekday-@FCDISTRO@ as base"
404 echo " -i ifname - defaults to $DEFAULT_IFNAME - used to determine local IP"
421 while getopts "f:d:p:m:s:t:b:o:c:w:W:r:M:yg:u:K:SBTnv7i:" opt ; do
423 f) FCDISTRO=$OPTARG ;;
424 d) PLDISTRO=$OPTARG ;;
425 p) PERSONALITY=$OPTARG ;;
427 s) build_SVNPATH=$OPTARG ;;
428 t) PLDISTROTAGS=$OPTARG ;;
430 o) OVERBASE=$OPTARG ;;
431 c) TESTCONFIG="$TESTCONFIG $OPTARG" ;;
432 w) WEBPATH=$OPTARG ;;
433 W) TESTBUILDURL=$OPTARG ;;
434 r) WEBROOT=$OPTARG ;;
435 M) TESTMASTER=$OPTARG ;;
436 y) SIGNYUMREPO=true ;;
437 g) GPGPATH=$OPTARG ;;
439 K) SSH_KEY=$OPTARG ;;
440 S) PUBLISH_SRPMS="" ;;
445 7) BASE="$(date +%a|tr A-Z a-z)-@FCDISTRO@" ;;
451 # preserve options for passing them again later, together with expanded base
453 toshift=$(($OPTIND - 1))
454 arg=1; while [ $arg -le $toshift ] ; do options=(${options[@]} "$1") ; shift; arg=$(($arg+1)) ; done
456 # allow var=value stuff;
457 for target in "$@" ; do
458 # check if contains '='
459 target1=$(echo $target | sed -e s,=,,)
460 if [ "$target" = "$target1" ] ; then
461 MAKETARGETS=(${MAKETARGETS[@]} "$target")
463 MAKEVARS=(${MAKEVARS[@]} "$target")
468 [ -z "$FCDISTRO" ] && FCDISTRO=$DEFAULT_FCDISTRO
469 [ -z "$PLDISTRO" ] && PLDISTRO=$DEFAULT_PLDISTRO
470 [ -z "$PERSONALITY" ] && PERSONALITY=$DEFAULT_PERSONALITY
471 [ -z "$PLDISTROTAGS" ] && PLDISTROTAGS="${PLDISTRO}-tags.mk"
472 [ -z "$BASE" ] && BASE="$DEFAULT_BASE"
473 [ -z "$WEBPATH" ] && WEBPATH="$DEFAULT_WEBPATH"
474 [ -z "$TESTBUILDURL" ] && TESTBUILDURL="$DEFAULT_TESTBUILDURL"
475 [ -z "$WEBROOT" ] && WEBROOT="$DEFAULT_WEBROOT"
476 [ -z "$GPGPATH" ] && GPGPATH="$DEFAULT_GPGPATH"
477 [ -z "$GPGUID" ] && GPGUID="$DEFAULT_GPGUID"
478 [ -z "$IFNAME" ] && IFNAME="$DEFAULT_IFNAME"
479 [ -z "$build_SVNPATH" ] && build_SVNPATH="$DEFAULT_build_SVNPATH"
480 [ -z "$TESTCONFIG" ] && TESTCONFIG="$DEFAULT_TESTCONFIG"
481 [ -z "$TESTMASTER" ] && TESTMASTER="$DEFAULT_TESTMASTER"
483 [ -n "$DRY_RUN" ] && MAILTO=""
485 if [ -n "$OVERBASE" ] ; then
486 sedargs="-e s,@DATE@,${DATE},g"
487 BASE=$(echo ${OVERBASE} | sed $sedargs)
489 sedargs="-e s,@DATE@,${DATE},g -e s,@FCDISTRO@,${FCDISTRO},g -e s,@PLDISTRO@,${PLDISTRO},g -e s,@PERSONALITY@,${PERSONALITY},g"
490 BASE=$(echo ${BASE} | sed $sedargs)
493 ### elaborate mail subject
494 if [ -n "$DO_BUILD" -a -n "$DO_TEST" ] ; then
495 MAIL_SUBJECT="complete"
496 elif [ -n "$DO_BUILD" ] ; then
497 MAIL_SUBJECT="package-only"
498 elif [ -n "$DO_TEST" ] ; then
499 MAIL_SUBJECT="test-only"
501 if [ -n "$OVERBASE" ] ; then
502 MAIL_SUBJECT="$MAIL_SUBJECT incremental run on"
504 MAIL_SUBJECT="$MAIL_SUBJECT fresh build"
507 if ! in_root_context ; then
509 echo "==================== Within vserver BEG $(date)"
511 echo "==================== Within vserver END $(date)"
515 # we run in the root context :
516 # (*) create or check for the vserver to use
517 # (*) copy this command in the vserver
520 if [ -n "$OVERBASE" ] ; then
521 ### Re-use a vserver (finish an unfinished build..)
522 if [ ! -d /vservers/${BASE} ] ; then
523 echo $COMMAND : cannot find vserver $BASE
526 # manage LOG - beware it might be a symlink so nuke it first
527 LOG=/vservers/${BASE}.log.txt
531 echo "XXXXXXXXXX $COMMAND: using existing vserver $BASE" $(date)
532 # start in case e.g. we just rebooted
533 vserver ${BASE} start || :
535 [ -n "$SSH_KEY" ] && setupssh ${BASE} ${SSH_KEY}
536 vserver ${BASE} exec svn update /build
537 # get environment from the first run
538 FCDISTRO=$(vserver ${BASE} exec /build/getdistroname.sh)
540 PLDISTRO=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +PLDISTRO)
541 PLDISTROTAGS=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +PLDISTROTAGS)
542 build_SVNPATH=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +build-SVNPATH)
543 PERSONALITY=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +PERSONALITY)
544 MAILTO=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +MAILTO)
545 WEBPATH=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +WEBPATH)
546 TESTBUILDURL=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +TESTBUILDURL)
547 WEBROOT=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +WEBROOT)
550 # create vserver: check it does not exist yet
552 while [ -d /vservers/${BASE}${i} ] ; do
553 # we name subsequent builds <base>-n<i> so the logs and builds get sorted properly
554 [ -z ${i} ] && BASE=${BASE}-n
556 if [ $i -gt 100 ] ; then
557 echo "$COMMAND: Failed to create build vserver /vservers/${BASE}${i}"
563 # manage LOG - beware it might be a symlink so nuke it first
564 LOG=/vservers/${BASE}.log.txt
568 echo "XXXXXXXXXX $COMMAND: creating vserver $BASE" $(date)
571 ### extract the whole build - much simpler
572 tmpdir=/tmp/$COMMAND-$$
573 svn export $build_SVNPATH $tmpdir
576 ./vbuild-init-vserver.sh -f ${FCDISTRO} -d ${PLDISTRO} -p ${PERSONALITY} -i ${IFNAME} ${BASE}
580 # Extract build again - in the vserver
581 [ -n "$SSH_KEY" ] && setupssh ${BASE} ${SSH_KEY}
582 vserver ${BASE} exec svn checkout ${build_SVNPATH} /build
584 # install ssh key in vserver
585 echo "XXXXXXXXXX $COMMAND: preparation of vserver $BASE done" $(date)
587 # The log inside the vserver contains everything
588 LOG2=/vservers/${BASE}/log.txt
589 (echo "==================== BEG VSERVER Transcript of vserver creation" ; \
591 echo "==================== END VSERVER Transcript of vserver creation" ; \
592 echo "xxxxxxxxxx Messing with logs, symlinking $LOG2 to $LOG" ) >> $LOG2
593 ### not too nice : nuke the former log, symlink it to the new one
594 rm $LOG; ln -s $LOG2 $LOG
599 sedargs="-e s,@DATE@,${DATE},g -e s,@FCDISTRO@,${FCDISTRO},g -e s,@PLDISTRO@,${PLDISTRO},g -e s,@PERSONALITY@,${PERSONALITY},g"
600 WEBPATH=$(echo ${WEBPATH} | sed $sedargs)
603 # where to store the log for web access
604 WEBLOG=${WEBPATH}/${BASE}.log.txt
605 # compute the log URL - inserted in the mail messages for convenience
606 LOG_URL=$(echo ${WEBLOG} | sed -e "s,//,/,g" -e "s,${WEBROOT},${TESTBUILDURL},")
607 TESTLOGS_URL=$(echo ${WEBPATH}/${BASE}/testlogs | sed -e "s,//,/,g" -e "s,${WEBROOT},${TESTBUILDURL},")
609 if [ -n "$DO_BUILD" ] ; then
611 # invoke this command into the build directory of the vserver
612 cp $COMMANDPATH /vservers/${BASE}/build/
614 # invoke this command in the vserver for building (-T)
615 vserver ${BASE} exec chmod +x /build/$COMMAND
616 vserver ${BASE} exec /build/$COMMAND "${options[@]}" -b "${BASE}" "${MAKEVARS[@]}" "${MAKETARGETS[@]}"
619 # publish to the web so run_log can find them
620 rm -rf $WEBPATH/$BASE ; mkdir -p $WEBPATH/$BASE/{RPMS,SRPMS}
621 rsync --archive --delete --verbose /vservers/$BASE/build/RPMS/ $WEBPATH/$BASE/RPMS/
622 [[ -n "$PUBLISH_SRPMS" ]] && rsync --archive --delete --verbose /vservers/$BASE/build/SRPMS/ $WEBPATH/$BASE/SRPMS/
623 # publish myplc-release if this exists
624 release=/vservers/$BASE/build/myplc-release
625 [ -f $release ] && rsync --verbose $release $WEBPATH/$BASE
627 # create yum repo and sign packages.
628 if [ -n "$SIGNYUMREPO" ] ; then
632 if [ -n "$DO_TEST" ] ; then