# early stage ? - let's not create /build/@PLDISTRO@
if [ ! -d ${WEBPATH} ] ; then
WEBPATH=/tmp
- WEBLOG=/tmp/vbuild-early.log.txt
+ WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt
fi
cp $LOG ${WEBLOG}
summary $LOG >> ${WEBLOG}
echo "See full build log at ${LOG_URL}" ; \
echo "See complete set of testlogs at ${TESTLOGS_URL}" ; \
) > ${WEBLOG}.pass
- rm -f ${WEBLOG}.ok ${WEBLOG}.ko
+ rm -f ${WEBLOG}.pkg-ok ${WEBLOG}.ko
else
( \
- echo "Successfully built, no test requested" ; \
+ echo "Successful package-only build, no test requested" ; \
echo "See full build log at ${LOG_URL}" ; \
- ) > ${WEBLOG}.ok
+ ) > ${WEBLOG}.pkg-ok
+ rm -f ${WEBLOG}.ko
fi
if [ -n "$MAILTO" ] ; then
( \
date
cd /build
- # if TAGSRELEASE specified : update PLDISTROTAGS with this tag
- if [ -n "$TAGSRELEASE" ] ; then
- svn up -r $TAGSRELEASE $PLDISTROTAGS
- fi
-
show_env
echo "Running make IN $(pwd)"
echo MAKEVARS="${MAKEVARS[@]}"
echo DRY_RUN="$DRY_RUN"
echo PLDISTROTAGS="$PLDISTROTAGS"
- echo TAGSRELEASE="$TAGSRELEASE"
# this does not help, it's not yet set when we run show_env
#echo WEBPATH="$WEBPATH"
echo TESTBUILDURL="$TESTBUILDURL"
echo " -o base: (overwrite) do not re-create vserver, re-use base instead"
echo " the -f/-d/-t/-s/-p/-m options are uneffective in this case"
echo " -t pldistrotags - defaults to \${PLDISTRO}-tags.mk"
- echo " -r tagsrelease - a release number that refers to PLDISTROTAGS - defaults to HEAD"
echo " -s svnpath - where to fetch the build module - defaults to $DEFAULT_build_SVNPATH"
echo " -c testconfig - defaults to $DEFAULT_TESTCONFIG"
echo " -w webpath - defaults to $DEFAULT_WEBPATH"
DO_BUILD=true
DO_TEST=true
SIGNYUMREPO=""
- while getopts "f:d:p:b:o:t:r:s:x:c:w:W:g:u:m:BTnyv7i:" opt ; do
+ while getopts "f:d:p:b:o:t:s:x:c:w:W:g:u:m:BTnyv7i:" opt ; do
case $opt in
f) FCDISTRO=$OPTARG ;;
d) PLDISTRO=$OPTARG ;;
b) BASE=$OPTARG ;;
o) OVERBASE=$OPTARG ;;
t) PLDISTROTAGS=$OPTARG ;;
- r) TAGSRELEASE=$OPTARG ;;
s) build_SVNPATH=$OPTARG ;;
c) TESTCONFIG="$TESTCONFIG $OPTARG" ;;
w) WEBPATH=$OPTARG ;;