Commit 98b4d551 authored by Brian Ermold's avatar Brian Ermold
Browse files

Add package file used to create releases with APR/Jenkins.

parent d33d36a9
#!/bin/sh
if [ "$1" = "--conf" ]; then
conf_package=1
fi
prefix=$APR_PREFIX
destdir=$APR_TOPDIR/package
export BUILD_PACKAGE_NAME="$APR_COMPONENT-$APR_PACKAGE"
export BUILD_PACKAGE_VERSION="$APR_VERSION.$APR_OS"
export PKG_CONFIG_PATH="/apps/ds/lib64/pkgconfig"
if [ $conf_package ]; then
$APR_TOPDIR/build.sh --clean --prefix=$prefix --destdir=$destdir --conf
else
$APR_TOPDIR/build.sh --clean --prefix=$prefix --destdir=$destdir --strip
fi
#------------------------------------------------------------------------------
# APR Configuration File
#
# Detailed APR documentation can be found here:
# https://code.arm.gov/distrib/release/blob/master/README.md
#------------------------------------------------------------------------------
comp: vap
package-name: langley
default-prefix: /apps/process
build-script: package/apr_build.sh
test-script: test/test.sh
include-items:
- (package/apps/process)/bin
author:
name:
organization: ''
email:
phone: ''
service-now:
# - ENG
# - EWO
special-instructions: >
None
synopsis: >
LANGLEY VAP process.
description: >
LANGLEY VAP process.
syntactical-example: >
langley -s site -f facility -b YYYYMMDD -e YYYYMMDD
instructions: >
Run 'langley -h' for usage instructions.
input-requirements: >
See the langley VAP process definition in the PCM
for the list of input datastream(s).
output-requirements: >
See the langley VAP process definition in the PCM
for the list of output datastream(s).
log-files:
- ${LOGS_DATA}/${site}/proc_logs/${site}langley${facility}
error-messages: >
Error and warning messages are written to the log file,
and also emailed to the address specified in the database.
information-messages: >
Informational messages are written to the log file.
debug-messages: >
Debug messages are written to the terminal when running in debug mode.
sites-facilities: >
See the langley VAP process definition in the PCM
for the list of sites and facilities.
environment-variables:
- ${DATASTREAM_DATA} top level datastream directory
- ${LOGS_DATA} top level logs directory
- ${VAP_HOME} prefix of VAP installation location
notification-list:
- N/A
notes: >
None.
related-urls:
- N/A
#------------------------------------------------------------------------------
# Required fields that do not need to be set for this release
build-target: ''
privileged: ''
exclude-items: []
package-dependency: []
file-dependency: []
#!/bin/csh
#
# Post install script for the langley VAP.
#
/bin/csh -c "/apps/ds/bin/db_import_process /apps/process/conf/vap/langley_nimfr/langley_nimfr.process"
/bin/csh -c "/apps/ds/bin/db_load_dod -q /apps/process/conf/vap/langley_nimfr/nimfrlangley.c1-2.1.dod"
/bin/csh -c "/apps/ds/bin/db_load_dod -q /apps/process/conf/vap/langley_nimfr/nimfrlangplot.c1-2.1.dod"
/bin/csh -c "/apps/ds/bin/db_import_process /apps/process/conf/vap/langley_mfrsr/langley_mfrsr.process"
/bin/csh -c "/apps/ds/bin/db_load_dod -q /apps/process/conf/vap/langley_mfrsr/mfrsrlangley.c1-2.1.dod"
/bin/csh -c "/apps/ds/bin/db_load_dod -q /apps/process/conf/vap/langley_mfrsr/mfrsrlangplot.c1-2.1.dod"
#------------------------------------------------------------------------------
# APR Configuration File
#
# Detailed APR documentation can be found here:
# https://code.arm.gov/distrib/release/blob/master/README.md
#------------------------------------------------------------------------------
comp: vap
package-name: langley_conf
default-prefix: /apps/process
architecture: noarch
build-target: noos
build-script: package/apr_build.sh --conf
package-script-dir: package
include-items:
- (package/apps/process)/conf
author:
name:
organization: ''
email:
phone: ''
service-now:
# - ENG
# - EWO
special-instructions: >
None
synopsis: >
Configuration files for the langley VAP.
description: >
This package loads the process and DOD definitions required by the
langley VAP into the database.
notification-list:
- N/A
notes: >
None.
#------------------------------------------------------------------------------
# Required fields that do not need to be set for this release
privileged: ''
exclude-items: []
package-dependency: []
file-dependency: []
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment