Changeset 6784


Ignore:
Timestamp:
03/19/10 16:23:56 (2 years ago)
Author:
DrakeDiedrich
Message:

Item8725: release01x00 autobuilder redirects stdout and stderr to a logfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/core/tools/pkg/autohost-deb.sh

    r5370 r6784  
    2222REPOSITORYHOST=debmarshal.debian.net 
    2323INCOMING=/var/lib/debmarshal/foswiki/incoming 
    24 TIMEOUT='timeout 600' 
     24LOGS=/var/lib/debmarshal/foswiki/logs 
     25TIMEOUT="timeout 600" 
    2526 
    2627cd ${HOME} 
     
    4849fi 
    4950 
     51LOGFILE="${LOGS}/${release}-build-${BRANCH}.log" 
     52exec >${LOGFILE} 2>&1 
     53 
     54ln -sf ${release}-build-${BRANCH}.log ${LOGS}/building-${BRANCH}.log 
     55 
    5056# Always build a full source release, since the Debian packaging is in the 
    5157# same branch where source changes occur 
     
    6672 
    6773# 
    68 # Make sbuild suid root and installs packages needed by the build, and whatever 
     74# Makes build suid root and installs packages needed by the build, and whatever 
    6975# else becomes required to build 
    7076# 
     
    7278 
    7379# 
    74 # The actual build runs unprivileged, and returns the filenames of the packages 
    75 # that were built.  The build should sign the packages, so the build user 
    76 # should have a gpg key without a password. 
     80# The actual build runs unprivileged, and returns a status indicating whether the 
     81# build was successful.  A symlink tracks the log of the last successful build. 
    7782# 
    78 ssh ${BUILDHOST} ${remotehome}/${BRANCH}/core/tools/pkg/autobuild-deb.sh ~/${BRANCH} $DEST_DIR $release $rebuild_flags 
     83if ssh ${BUILDHOST} ${remotehome}/${BRANCH}/core/tools/pkg/autobuild-deb.sh ~/${BRANCH} $DEST_DIR $release $rebuild_flags 
     84then 
     85  ln -sf ${release}-build-${BRANCH}.log ${LOGS}/built-${BRANCH}.log 
     86fi 
     87 
    7988 
    8089# 
Note: See TracChangeset for help on using the changeset viewer.