echo "In manual mode you should export the following vars (or use related option)"
echo "MAJOR_DISTROS (-d) TRUNK_DISTROS (-td) TRUNK_FCDISTROS (-tf) VS_DISTROS (-vd)"
echo "FCDISTROS (-f) BITS (-i) BASE (-b)"
- echo "BUILD_BRANCH (-bb) BUILD_TRUNK (-bt)"
+ echo "BUILD_BRANCH(4.2) (-bb) BUILD_TRUNK (-bt)"
echo "Overwrite (-o) TEST (-T) DRY_RUN (-n)"
echo "Use at least one space for blanking a set of distros"
exit 1
DEFAULT_TRUNK_FCDISTROS="f8 f10"
}
-function branch_builds () {
- DEFAULT_BITS="32 64"
+function branch_builds_42 () {
DEFAULT_MAJOR_DISTROS="onelab planetlab"
DEFAULT_VS_DISTROS=""
DEFAULT_BITS="32"
DEFAULT_TRUNK_DISTROS=""
DEFAULT_TRUNK_FCDISTROS=""
+ DEFAULT_FCDISTROS="f8"
}
-function tagged_builds () {
+function tagged_builds_42 () {
DEFAULT_BITS="32 64"
DEFAULT_MAJOR_DISTROS="onelab planetlab"
DEFAULT_VS_DISTROS="onelab"
}
if [ -n "$BUILD_BRANCH" ] ; then
- branch_builds
+ branch_builds_42
BUILDOPT="-s http://svn.planet-lab.org/svn/build/branches/${MAJOR}"
elif [ -n "$BUILD_TRUNK" ] ; then
trunk_builds
BUILDOPT=""
else
- tagged_builds
+ tagged_builds_42
BUILDOPT="-s http://svn.planet-lab.org/svn/build/tags/${MAJOR}-${MINOR}"
fi