rpmbuild awips2-ohd, awips2-hazards, awips2-ogc, awips2-data-delivery, awips2-swpc

This commit is contained in:
mjames-upc 2018-07-20 10:19:41 -06:00
parent 20cb5cebc8
commit 32849452bb
7 changed files with 155 additions and 57 deletions

View file

@ -27,14 +27,15 @@ pushd $REPO
# If local source directories, exist, mount them to the
# container, otherwise clone the repo from github
#
if [ ! -d awips2-ncep ]; then git clone https://github.com/Unidata/awips2-ncep.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-goesr ]; then git clone https://github.com/Unidata/awips2-goesr.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-unidata ]; then git clone https://github.com/Unidata/awips2-unidata.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-core ]; then git clone https://github.com/Unidata/awips2-core.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-core-foss ]; then git clone https://github.com/Unidata/awips2-core-foss.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-core ]; then git clone https://github.com/Unidata/awips2-core.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-foss ]; then git clone https://github.com/Unidata/awips2-foss.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-goesr ]; then git clone https://github.com/Unidata/awips2-goesr.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-hazards ]; then git clone https://github.com/Unidata/awips2-hazards.git --branch development --single-branch ;fi
if [ ! -d awips2-ncep ]; then git clone https://github.com/Unidata/awips2-ncep.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-nws ]; then git clone https://github.com/Unidata/awips2-nws.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-rpm ]; then git clone https://github.com/Unidata/awips2-rpm.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
if [ ! -d awips2-unidata ]; then git clone https://github.com/Unidata/awips2-unidata.git --branch unidata_${AWIPSII_VERSION} --single-branch ;fi
#
# AWIPS Static files are too large to host on github

View file

@ -11,8 +11,10 @@ javaUtilities/* rpms pythonPackages nativeLib/*
../awips2-rpm/installers
../awips2-nws/common/*
../awips2-nws/viz/*
../awips2-nws/features/*
../awips2-nws/edex/*
../awips2-hazards/edex/*
../awips2-hazards/common/*
../awips2-hazards/viz/*
../awips2-ncep/common/*
../awips2-ncep/viz/*
../awips2-ncep/features/*
@ -21,3 +23,24 @@ javaUtilities/* rpms pythonPackages nativeLib/*
../awips2-goesr/cave/*
../awips2-unidata/*
../python-awips
../awips2-cimss/viz/*
../awips2-cimss/edex/*
../awips2-cimss/common/*
../awips2-data-delivery/common/*
../awips2-data-delivery/edex/*
../awips2-data-delivery/features/*
../awips2-data-delivery/viz/*
../awips2-drawing/viz/*
../awips2-gsd/viz/*
../awips2-nasa/edex/*
../awips2-ogc/foss/*
../awips2-ogc/edex/*
../awips2-ogc/features/*
../awips2-ohd/edex/*
../awips2-ohd/apps/*
../awips2-ohd/features/*
../awips2-ohd/lib/*
../awips2-swpc/common/*
../awips2-swpc/edex/*
../awips2-swpc/viz/*
../awips2-swpc/features/*

View file

@ -13,24 +13,30 @@ if [ -z "$1" ]; then
fi
os_version=$1
rpmname=$2
builds_dir=" -v `pwd`:/awips2/repo/awips2-builds:rw "
dirs=" -v `pwd`:/awips2/repo/awips2-builds:rw "
. /awips2/repo/awips2-builds/build/buildEnvironment.sh
#
# If local source directories, exist, mount them to the container
#
if [ -d /awips2/repo/awips2-static ]; then static_dir=" -v /awips2/repo/awips2-static:/awips2/repo/awips2-static " ;fi
if [ -d /awips2/repo/awips2-rpm ]; then rpm_dir=" -v /awips2/repo/awips2-rpm:/awips2/repo/awips2-rpm " ;fi
if [ -d /awips2/repo/awips2-core ]; then core_dir=" -v /awips2/repo/awips2-core:/awips2/repo/awips2-core " ;fi
if [ -d /awips2/repo/awips2-core-foss ]; then corefoss_dir=" -v /awips2/repo/awips2-core-foss:/awips2/repo/awips2-core-foss " ;fi
if [ -d /awips2/repo/awips2-foss ]; then foss_dir=" -v /awips2/repo/awips2-foss:/awips2/repo/awips2-foss " ;fi
if [ -d /awips2/repo/awips2-nws ]; then nws_dir=" -v /awips2/repo/awips2-nws:/awips2/repo/awips2-nws " ;fi
if [ -d /awips2/repo/awips2-ncep ]; then ncep_dir=" -v /awips2/repo/awips2-ncep:/awips2/repo/awips2-ncep " ;fi
if [ -d /awips2/repo/awips2-goesr ]; then goesr_dir=" -v /awips2/repo/awips2-goesr:/awips2/repo/awips2-goesr " ;fi
if [ -d /awips2/repo/awips2-unidata ]; then upc_dir=" -v /awips2/repo/awips2-unidata:/awips2/repo/awips2-unidata " ;fi
if [ -d /awips2/repo/python-awips ]; then python_dir=" -v /awips2/repo/python-awips:/awips2/repo/python-awips " ;fi
dirs=$builds_dir$static_dir$rpm_dir$core_dir$corefoss_dir$foss_dir$nws_dir$ncep_dir$goesr_dir$upc_dir$python_dir
if [ -d /awips2/repo/awips2-cimss ]; then dirs+=" -v /awips2/repo/awips2-cimss:/awips2/repo/awips2-cimss ";fi
if [ -d /awips2/repo/awips2-core-foss ]; then dirs+=" -v /awips2/repo/awips2-core-foss:/awips2/repo/awips2-core-foss ";fi
if [ -d /awips2/repo/awips2-core ]; then dirs+=" -v /awips2/repo/awips2-core:/awips2/repo/awips2-core ";fi
if [ -d /awips2/repo/awips2-data-delivery ]; then dirs+=" -v /awips2/repo/awips2-data-delivery:/awips2/repo/awips2-data-delivery ";fi
if [ -d /awips2/repo/awips2-drawing ]; then dirs+=" -v /awips2/repo/awips2-drawing:/awips2/repo/awips2-drawing ";fi
if [ -d /awips2/repo/awips2-foss ]; then dirs+=" -v /awips2/repo/awips2-foss:/awips2/repo/awips2-foss ";fi
if [ -d /awips2/repo/awips2-goesr ]; then dirs+=" -v /awips2/repo/awips2-goesr:/awips2/repo/awips2-goesr ";fi
if [ -d /awips2/repo/awips2-gsd ]; then dirs+=" -v /awips2/repo/awips2-gsd:/awips2/repo/awips2-gsd ";fi
if [ -d /awips2/repo/awips2-hazards ]; then dirs+=" -v /awips2/repo/awips2-hazards:/awips2/repo/awips2-hazards ";fi
if [ -d /awips2/repo/awips2-nasa ]; then dirs+=" -v /awips2/repo/awips2-nasa:/awips2/repo/awips2-nasa ";fi
if [ -d /awips2/repo/awips2-ncep ]; then dirs+=" -v /awips2/repo/awips2-ncep:/awips2/repo/awips2-ncep ";fi
if [ -d /awips2/repo/awips2-nws ]; then dirs+=" -v /awips2/repo/awips2-nws:/awips2/repo/awips2-nws ";fi
if [ -d /awips2/repo/awips2-ogc ]; then dirs+=" -v /awips2/repo/awips2-ogc:/awips2/repo/awips2-ogc ";fi
if [ -d /awips2/repo/awips2-ohd ]; then dirs+=" -v /awips2/repo/awips2-ohd:/awips2/repo/awips2-ohd ";fi
if [ -d /awips2/repo/awips2-rpm ]; then dirs+=" -v /awips2/repo/awips2-rpm:/awips2/repo/awips2-rpm ";fi
if [ -d /awips2/repo/awips2-static ]; then dirs+=" -v /awips2/repo/awips2-static:/awips2/repo/awips2-static ";fi
if [ -d /awips2/repo/awips2-swpc ]; then dirs+=" -v /awips2/repo/awips2-swpc:/awips2/repo/awips2-swpc ";fi
if [ -d /awips2/repo/awips2-unidata ]; then dirs+=" -v /awips2/repo/awips2-unidata:/awips2/repo/awips2-unidata ";fi
if [ -d /awips2/repo/python-awips ]; then dirs+=" -v /awips2/repo/python-awips:/awips2/repo/python-awips ";fi
#
# Run Docker AWIPS ADE Image
#

View file

@ -57,18 +57,43 @@
<param name="feature"
value="com.raytheon.uf.edex.core.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="edu.ucar.unidata.uf.edex.unidata.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="com.raytheon.uf.edex.dataplugins.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="edu.ucar.unidata.uf.edex.unidata.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="com.raytheon.uf.edex.dat.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="com.raytheon.uf.edex.gfe.feature" />
</antcall>
<!-- exp -->
<antcall target="build">
<param name="feature"
value="com.raytheon.uf.edex.ogc.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="com.raytheon.uf.edex.datadelivery.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="gov.noaa.nws.ncep.uf.edex.swpc.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="com.raytheon.uf.edex.ohd.feature" />
</antcall>
<antcall target="build">
<param name="feature"
value="com.raytheon.uf.edex.hazards.feature" />
</antcall>
</target>

View file

@ -64,8 +64,4 @@
id="com.raytheon.uf.edex.gfe.feature"
version="0.0.0"/>
<includes
id="edu.ucar.unidata.uf.edex.unidata.feature"
version="0.0.0"/>
</feature>

View file

@ -22,28 +22,14 @@
</requires>
<plugin
id="com.raytheon.uf.common.ohd"
id="com.raytheon.uf.common.plugin.hpe"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.edex.plugin.shef"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.hydro"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.mpe"
id="com.raytheon.uf.common.dataplugin.mpe"
download-size="0"
install-size="0"
version="0.0.0"
@ -56,20 +42,6 @@
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.dataplugin.shef"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.xmrg"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.edex.plugin.mpe"
download-size="0"

View file

@ -87,6 +87,67 @@
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.registry.schemas.iso19115"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.edex.registry.ebxml"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.edex.registry.request"
download-size="0"
install-size="0"
version="0.0.0"/>
<plugin
id="com.raytheon.uf.common.registry.ebxml"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.registry.schemas.ebxml"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.registry.event"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.sun.xml.bind"
download-size="0"
install-size="0"
version="0.0.0"/>
<plugin
id="com.raytheon.uf.edex.security"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.security"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.edex.plugin.ccfp"
download-size="0"
@ -122,6 +183,20 @@
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.edex.plugin.madis"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.uf.common.dataplugin.madis"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.raytheon.edex.plugin.sfcobs"
download-size="0"