UPC build updates
This commit is contained in:
parent
382f22f438
commit
3c934c7e2d
5 changed files with 78 additions and 44 deletions
|
@ -121,7 +121,33 @@ function buildEDEX()
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
function buildCAVEsingle()
|
||||||
|
{
|
||||||
|
cd ${WORKSPACE}/rpms/awips2.cave/deploy.builder
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: Failed to build the cave rpms."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Determine the build architecture.
|
||||||
|
export CAVE_BUILD_ARCH=`uname -i`
|
||||||
|
if [ "${CAVE_BUILD_ARCH}" = "i386" ]; then
|
||||||
|
export CAVE_BUILD_ARCH="x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: Failed to determine the architecture."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
/bin/bash single.sh
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: Failed to build the cave rpms."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
return 0
|
||||||
|
|
||||||
|
}
|
||||||
function buildCAVE()
|
function buildCAVE()
|
||||||
{
|
{
|
||||||
cd ${WORKSPACE}/rpms/awips2.cave/deploy.builder
|
cd ${WORKSPACE}/rpms/awips2.cave/deploy.builder
|
||||||
|
|
|
@ -5,6 +5,7 @@ function usage()
|
||||||
{
|
{
|
||||||
echo "Usage: $0 OPTION [-nobinlightning]"
|
echo "Usage: $0 OPTION [-nobinlightning]"
|
||||||
echo " -delta perform a build of only the rpms that are likely to change."
|
echo " -delta perform a build of only the rpms that are likely to change."
|
||||||
|
echo " -local build localization rpms."
|
||||||
echo " -full perform a full build of all the rpms."
|
echo " -full perform a full build of all the rpms."
|
||||||
echo " -ade build all rpms that are packaged in the ade."
|
echo " -ade build all rpms that are packaged in the ade."
|
||||||
echo " -viz only build the Viz rpms (CAVE & AlertViz)."
|
echo " -viz only build the Viz rpms (CAVE & AlertViz)."
|
||||||
|
|
|
@ -257,6 +257,9 @@ if [ "${1}" = "-delta" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${1}" = "-local" ]; then
|
||||||
|
buildLocalizationRPMs
|
||||||
|
fi
|
||||||
if [ "${1}" = "-full" ]; then
|
if [ "${1}" = "-full" ]; then
|
||||||
# ALL FROM HERE CONFIRMED to build at Unidata on 64bit fc12 after mucking with /usr/lib64 sym links
|
# ALL FROM HERE CONFIRMED to build at Unidata on 64bit fc12 after mucking with /usr/lib64 sym links
|
||||||
# and installing a few packages and editing some spec files...
|
# and installing a few packages and editing some spec files...
|
||||||
|
@ -280,36 +283,36 @@ if [ "${1}" = "-full" ]; then
|
||||||
buildRPM "awips2-database-standalone-configuration"
|
buildRPM "awips2-database-standalone-configuration"
|
||||||
buildRPM "awips2-tools"
|
buildRPM "awips2-tools"
|
||||||
buildRPM "awips2-common-base"
|
buildRPM "awips2-common-base"
|
||||||
buildCAVE
|
# buildCAVE
|
||||||
if [ $? -ne 0 ]; then
|
# if [ $? -ne 0 ]; then
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
buildRPM "awips2-alertviz"
|
buildRPM "awips2-alertviz"
|
||||||
buildEDEX
|
# buildEDEX
|
||||||
if [ $? -ne 0 ]; then
|
# if [ $? -ne 0 ]; then
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
buildQPID
|
# buildQPID
|
||||||
buildRPM "awips2-python-jimporter"
|
# buildRPM "awips2-python-jimporter"
|
||||||
buildRPM "awips2-python-ufpy"
|
# buildRPM "awips2-python-ufpy"
|
||||||
buildRPM "awips2-python-cherrypy"
|
# buildRPM "awips2-python-cherrypy"
|
||||||
buildRPM "awips2-python-dynamicserialize"
|
# buildRPM "awips2-python-dynamicserialize"
|
||||||
buildRPM "awips2-python-h5py"
|
# buildRPM "awips2-python-h5py"
|
||||||
buildRPM "awips2-python-matplotlib"
|
# buildRPM "awips2-python-matplotlib"
|
||||||
buildRPM "awips2-python-nose"
|
# buildRPM "awips2-python-nose"
|
||||||
buildRPM "awips2-python-numpy"
|
# buildRPM "awips2-python-numpy"
|
||||||
buildRPM "awips2-python-pil"
|
# buildRPM "awips2-python-pil"
|
||||||
buildRPM "awips2-python-pmw"
|
# buildRPM "awips2-python-pmw"
|
||||||
buildRPM "awips2-python-pupynere"
|
# buildRPM "awips2-python-pupynere"
|
||||||
buildRPM "awips2-python-qpid"
|
# buildRPM "awips2-python-qpid"
|
||||||
buildRPM "awips2-python-scientific"
|
# buildRPM "awips2-python-scientific"
|
||||||
buildRPM "awips2-python-scipy"
|
# buildRPM "awips2-python-scipy"
|
||||||
buildRPM "awips2-python-tables"
|
# buildRPM "awips2-python-tables"
|
||||||
buildRPM "awips2-python-thrift"
|
# buildRPM "awips2-python-thrift"
|
||||||
buildRPM "awips2-python-tpg"
|
# buildRPM "awips2-python-tpg"
|
||||||
buildRPM "awips2-python-werkzeug"
|
# buildRPM "awips2-python-werkzeug"
|
||||||
buildRPM "awips2-python-pygtk"
|
# buildRPM "awips2-python-pygtk"
|
||||||
buildRPM "awips2-python-pycairo"
|
# buildRPM "awips2-python-pycairo"
|
||||||
buildRPM "awips2-cli"
|
buildRPM "awips2-cli"
|
||||||
buildRPM "awips2-data.hdf5-gfe.climo"
|
buildRPM "awips2-data.hdf5-gfe.climo"
|
||||||
buildRPM "awips2-gfesuite-client"
|
buildRPM "awips2-gfesuite-client"
|
||||||
|
@ -346,8 +349,7 @@ if [ "${1}" = "-full" ]; then
|
||||||
#
|
#
|
||||||
# pgadmin3 requires jasperlib from /awips2/python/lib
|
# pgadmin3 requires jasperlib from /awips2/python/lib
|
||||||
#
|
#
|
||||||
buildRPM "awips2-pgadmin3"
|
# buildRPM "awips2-pgadmin3"
|
||||||
buildRPM "awips2-ldm"
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -432,26 +434,30 @@ if [ "${1}" = "-ade" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${1}" = "-cave" ]; then
|
||||||
|
buildCAVEsingle
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${1}" = "-viz" ]; then
|
if [ "${1}" = "-viz" ]; then
|
||||||
#buildRPM "awips2"
|
buildRPM "awips2"
|
||||||
#buildRPM "awips2-common-base"
|
buildRPM "awips2-common-base"
|
||||||
#buildRPM "awips2-python-dynamicserialize"
|
buildRPM "awips2-python-dynamicserialize"
|
||||||
#buildRPM "awips2-gfesuite-client"
|
buildRPM "awips2-gfesuite-client"
|
||||||
#buildRPM "awips2-gfesuite-server"
|
buildRPM "awips2-gfesuite-server"
|
||||||
#buildRPM "awips2-cli"
|
buildRPM "awips2-cli"
|
||||||
buildCAVE
|
buildCAVE
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
#buildRPM "awips2-alertviz"
|
buildRPM "awips2-alertviz"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${1}" = "-edex" ]; then
|
if [ "${1}" = "-edex" ]; then
|
||||||
##buildRPM "awips2-common-base"
|
##buildRPM "awips2-common-base"
|
||||||
#buildRPM "awips2"
|
buildRPM "awips2"
|
||||||
buildEDEX
|
buildEDEX
|
||||||
|
buildRPM "awips2-data.hdf5-topo"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -89,11 +89,11 @@ cp -v ${dir}/buildEnvironment.sh .
|
||||||
#
|
#
|
||||||
# PRIMARY GROUPS confirmed to work for Unidata 14.2.1
|
# PRIMARY GROUPS confirmed to work for Unidata 14.2.1
|
||||||
#/bin/bash build.sh -edex > ${dir}/build-EDEX-${timestamp}.log
|
#/bin/bash build.sh -edex > ${dir}/build-EDEX-${timestamp}.log
|
||||||
#/bin/bash build.sh -full > ${dir}/build-${timestamp}.log
|
/bin/bash build.sh -full > ${dir}/build-FULL-${timestamp}.log
|
||||||
#/bin/bash build.sh -viz > ${dir}/build-VIZ-${timestamp}.log
|
#/bin/bash build.sh -viz > ${dir}/build-VIZ-${timestamp}.log
|
||||||
#/bin/bash build.sh -upc > ${dir}/build-UPC-${timestamp}.log
|
#/bin/bash build.sh -upc > ${dir}/build-UPC-${timestamp}.log
|
||||||
#/bin/bash build.sh -ldm > ${dir}/build-LDM-${timestamp}.log
|
#/bin/bash build.sh -ldm > ${dir}/build-LDM-${timestamp}.log
|
||||||
/bin/bash build.sh -httpd > ${dir}/build-LDM-${timestamp}.log
|
#/bin/bash build.sh -httpd > ${dir}/build-LDM-${timestamp}.log
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -115,13 +115,13 @@ popd > /dev/null 2>&1
|
||||||
|
|
||||||
export rpm_end_dir="${AWIPSII_VERSION}-${AWIPSII_RELEASE}"
|
export rpm_end_dir="${AWIPSII_VERSION}-${AWIPSII_RELEASE}"
|
||||||
|
|
||||||
mkdir -p /awips2/jenkins/build/rpms/${rpm_end_dir}
|
#mkdir -p /awips2/jenkins/build/rpms/${rpm_end_dir}
|
||||||
|
|
||||||
if [ "$(ls -A ${AWIPSII_TOP_DIR}/RPMS/x86_64/)" ]; then
|
if [ "$(ls -A ${AWIPSII_TOP_DIR}/RPMS/x86_64/)" ]; then
|
||||||
mv ${AWIPSII_TOP_DIR}/RPMS/x86_64/* /awips2/jenkins/build/rpms/${rpm_end_dir}/x86_64/
|
mv ${AWIPSII_TOP_DIR}/RPMS/x86_64/* /awips2/jenkins/build/rpms/awips2/x86_64/
|
||||||
fi
|
fi
|
||||||
if [ "$(ls -A ${AWIPSII_TOP_DIR}/RPMS/noarch/)" ]; then
|
if [ "$(ls -A ${AWIPSII_TOP_DIR}/RPMS/noarch/)" ]; then
|
||||||
mv ${AWIPSII_TOP_DIR}/RPMS/noarch/* /awips2/jenkins/build/rpms/${rpm_end_dir}/noarch/
|
mv ${AWIPSII_TOP_DIR}/RPMS/noarch/* /awips2/jenkins/build/rpms/awips2/noarch/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
END_TIME=`date "+%s"`
|
END_TIME=`date "+%s"`
|
||||||
|
|
|
@ -13,6 +13,7 @@ export BUILD_WORKSPACE=${BUILD_DIR}/workspace
|
||||||
# baseline is...
|
# baseline is...
|
||||||
export BASELINE="${JENKINS_WORKSPACE}"
|
export BASELINE="${JENKINS_WORKSPACE}"
|
||||||
export AWIPSII_VERSION="14.2.1"
|
export AWIPSII_VERSION="14.2.1"
|
||||||
|
export BUILD_NUMBER="9"
|
||||||
export AWIPSII_RELEASE="16n${BUILD_NUMBER}"
|
export AWIPSII_RELEASE="16n${BUILD_NUMBER}"
|
||||||
|
|
||||||
export AWIPSII_TOP_DIR="${BUILD_WORKSPACE}/tmp/rpms_built_dir"
|
export AWIPSII_TOP_DIR="${BUILD_WORKSPACE}/tmp/rpms_built_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue