awips2/build
Tiffany Meyer 89198530bd Lot of updates for our 18.2.1-2 release:
buildEnvironment.sh - changed the release from 1 to 2
build/setup.sh - added code to call awips_spalshscreen_updater jar and update splash.bmp to current build and release
			   - remove copy of rpms from robin to fserv
feature.xml (edex dataplugins feature) - remove reference to sports glmdecoder which is depricated
wrapper.conf - this is the file that has been dumping heap logs to /data/fxa so I changed the path to /awips2/data/fxa so it didn't fill up the main / mount
ldmd.conf - added GLMF entry (this is for the ISatSS gridded GLM data - for local use only, but won't hurt to have in)
		  - commented out GLM data from Eric Bruning
pqact.conf - Commented out Eric Bruning GLM entry since it's depricated
		   - Added new entry for ISatSS gridded GLM data
pqact.goesr - updated to match the pqact.conf
			- updated comments to relfect which products were available
parameters.xml - changed all references of 1/s to /s
2021-10-25 15:46:21 -04:00
..
awips-ade Updated docker to 18.2.1-1 2021-05-06 18:37:16 -04:00
awips-ade-server Updated docker to 18.2.1-1 2021-05-06 18:37:16 -04:00
build.core initial commit 2018-06-20 17:39:08 -06:00
patches/18.2.1-2_patch/awips2/edex Lot of updates for our 18.2.1-2 release: 2021-10-25 15:46:21 -04:00
build.sh more reconfig for buildCAVE to not fill docker container 2018-08-01 12:52:04 -06:00
build_rpms.sh Updated Author/Maintainer on build scripts and removed el6 docker files 2021-04-01 14:08:24 -04:00
buildEnvironment.sh Lot of updates for our 18.2.1-2 release: 2021-10-25 15:46:21 -04:00
cibuild.sh update to build 18.1.1-1 2018-07-05 11:53:39 -06:00
excludes initial commit 2018-06-20 17:39:08 -06:00
README.md 18.1.1 2018-09-05 11:17:11 -06:00
repos Added awips2-cimss repo back into the build process for the probSevere plugins 2021-05-17 21:40:26 -04:00
rsync.cave Added awips2-cimss repo back into the build process for the probSevere plugins 2021-05-17 21:40:26 -04:00
rsync.dirs Added awips2-cimss repo back into the build process for the probSevere plugins 2021-05-17 21:40:26 -04:00
setup.sh Lot of updates for our 18.2.1-2 release: 2021-10-25 15:46:21 -04:00

Unidata AWIPS Build Notes

Build the AWIPS Development Environment Docker Container

We create and use the Docker image unidata/awips-ade to build the two RHEL binary distributions of AWIPS (RPMS). The directory awips2-builds/build/awips-ade/ contains Dockerfiles for 64-bit EL6 and EL7 CentOS.

./build/awips-ade/awips-ade.sh ${os_version}

where ${os_version} is either el6 or el7.

ADE Docker images will be named with the latest major release and OS version

docker images
REPOSITORY              TAG           IMAGE ID        CREATED       SIZE
unidata/awips-ade       18.1.1-el6    77ea90df5919    16 min ago    4.13GB
unidata/awips-ade       18.1.1-el7    f030be21eda9    23 min ago    3.95GB

Build AWIPS RPMs

Build individual AWIPS RPMs with the command

./build/setup.sh el7 ${rpm_name}

for example:

./build/setup.sh el7 awips2-java
./build/setup.sh el7 awips2-python
./build/setup.sh el7 awips2-postgresql

You can also build group aliases:

./build/setup.sh el7 buildEDEX
./build/setup.sh el7 buildCAVE
./build/setup.sh el7 buildLocalization
./build/setup.sh el7 buildShapefiles

Finally, if no program name is given (e.g. ./build/setup.sh el7), then ALL AWIPS RPMs and groups will be built, in order:

su - awips -c "/bin/bash $buildsh -ade"
su - awips -c "/bin/bash $buildsh -python"
su - awips -c "/bin/bash $buildsh -qpid"
su - awips -c "/bin/bash $buildsh -server"
su - awips -c "/bin/bash $buildsh -database"
su - awips -c "/bin/bash $buildsh -edex"
su - awips -c "/bin/bash $buildsh -httpd"
su - awips -c "/bin/bash $buildsh -cave"

(See ./build/build_rpms.sh and ./rpms/build/x86_64/rpms.sh for more insight.)

Yum Repository

AWIPS RPMs are written to the directories ./dist/el6-dev/ and ./dist/el7-dev/, and are packaged as a YUM repository with the commands

repomanage -k1 --old dist/${os_version}-dev | xargs rm -e
createrepo -g ../comps.xml dist/${os_version}-dev

Optionally, you can push the repo to your webserver with the command

rsync --archive --delete dist/${os_version}-dev ${USER}@{WEBSERVER}:{$REMOTE_DIR}