Included the setup.sh script that is the build script that starts off the building of the RPM's.

The script sources buildEnvironment.sh, and writes those values out to the about.mappings file before mounting all of the files to the docker to build

*Also updated the " to '' in the plugin.properties
This commit is contained in:
ucar-tmeyer 2023-06-30 13:27:35 +00:00
parent 61fe76f606
commit 99f78dafd1
2 changed files with 10 additions and 5 deletions

View file

@ -23,6 +23,11 @@ splashLoc=$(find /awips2/repo/awips2/cave -name "splash.bmp")
mv splash.bmp $splashLoc mv splash.bmp $splashLoc
echo "replacing splash.bmp" echo "replacing splash.bmp"
#Set CAVE About information
echo "0=$AWIPSII_VERSION-$AWIPSII_RELEASE
1=$AWIPSII_BUILD_DATE
2=$AWIPSII_BUILD_SYS">/awips2/repo/awips2/cave/com.raytheon.viz.product.awips/about.mappings
# If local source directories, exist, mount them to the container # If local source directories, exist, mount them to the container
if [ $rpmname = "buildCAVE" ]; then if [ $rpmname = "buildCAVE" ]; then
for dn in `cat build/repos| grep -v static| grep -v nativelib |grep -v awips2-rpm` for dn in `cat build/repos| grep -v static| grep -v nativelib |grep -v awips2-rpm`
@ -72,10 +77,10 @@ if [[ $(whoami) == "awips" ]]; then # local build
sudo mv dist/${os_version}-dev dist/${os_version}-dev-${date} sudo mv dist/${os_version}-dev dist/${os_version}-dev-${date}
sudo su - -c "createrepo -g /awips2/repo/awips2/dist/comps.xml /awips2/repo/awips2/dist/${os_version}-dev-${date}/" sudo su - -c "createrepo -g /awips2/repo/awips2/dist/comps.xml /awips2/repo/awips2/dist/${os_version}-dev-${date}/"
sudo chown -R awips:fxalpha dist/${os_version}-dev-${date} sudo chown -R awips:fxalpha dist/${os_version}-dev-${date}
# rsync -aP dist/${os_version}- echo "rsync -aP dist/${os_version}-dev-${date}"
#TM#echo "rsync -aP dist/${os_version}-dev-${date} tiffanym@fserv:/share/awips2/${AWIPSII_VERSION}/linux/" #echo "rsync -aP dist/${os_version}-dev-${date} tiffanym@fserv:/share/awips2/${AWIPSII_VERSION}/linux/"
#TM#rsync -aP dist/${os_version}-dev-${date} tiffanym@fserv:/share/awips2/${AWIPSII_VERSION}/linux/ #rsync -aP dist/${os_version}-dev-${date} tiffanym@fserv:/share/awips2/${AWIPSII_VERSION}/linux/
rsync -aP dist/${os_version}-dev-${date} awips@edex3:/awips2/dev #rsync -aP dist/${os_version}-dev-${date} awips@edex3:/awips2/dev
rsync -aP dist/${os_version}-dev-${date} awips@hardy:/awips2/dev rsync -aP dist/${os_version}-dev-${date} awips@hardy:/awips2/dev
#repomanage -k1 --old dist/${os_version}-dev | xargs rm -f #repomanage -k1 --old dist/${os_version}-dev | xargs rm -f
# #

View file

@ -1,7 +1,7 @@
caveAboutText=Common AWIPS Visualization Environment (CAVE)\n\ caveAboutText=Common AWIPS Visualization Environment (CAVE)\n\
\n\ \n\
Developed on the Raytheon viz Environment, released as non-operational\ Developed on the Raytheon viz Environment, released as non-operational\
software by UCAR"s Unidata Program Center\ software by UCAR''s Unidata Program Center\
https://www.unidata.ucar.edu/software/awips2 \ https://www.unidata.ucar.edu/software/awips2 \
\n\n\ \n\n\
\tBUILD VERSION: {0}\n\ \tBUILD VERSION: {0}\n\