Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to actually create a build using a new OS or a new package, you have to first create a build package configuration in the settings database table.  A build package configuration corresponds to a unique combination of packageId, osId, variantId, and versionTypeId.  For each variation in any one of those ID values, you need a separate set of settings table entries.  If you are just adding an OS to an existing package, you have to create about 19 entries per build package in the table.  If you are adding a new package, there are a few additional entries, which apply across OSes and variants (but are unique the the different versionTypes) , that you also need to add.

Note: Sample scripts that have been used to add these settings to the database for various packages and OSes can be found in the sql-scripts directory under the home directory of the glastrm account on the central Unix machines at SLAC.

New Package Only Settings

...

 
NameRequiredSample ValueComments
automaticTrigger (green star) trueif not included it is assumed to be false 
buildLocation (plus)/data/RM/ReleaseManagerBuild/mountainlion-x86_64-64bit-gcc44/Debug/ScienceTools/LATEST-1-${VERSION}  
compileTime (plus) 10800000 
cvsCommand (plus) cvs 
cvsRoot (plus):ext:centaurusa.slac.stanford.edu:/nfs/slac/g/glast/ground/cvs  
cvsRsjcvsRsh (plus) ssh 
develReleaseLocation(plus)${BUILDLOCATION}/ScienceTools-LATEST- 1-${VERSION}-devel.tar.gz  
distributionLocation(plus)/nfs/farm/g/glast/u35/ReleaseManagerBuild/mountainlion-x86_64-64bit-gcc44/Debug/ScienceTools  
distributionPath   
    
    
    
    
    
    
    
    
    
    
(star)/data/RM/ReleaseManagerBuild/mountainlion-x86_64-64bit-gcc44/Debug/ScienceToolsonly needed on Mac and Windows
externalsLocation(plus)/data/RM/externals/mountainlion-x86_64-64bit-gcc44 
extInstallerLocation(plus)/nfs/farm/g/glast/u35/externals/mountainlion-x86_64-64bit-gcc44/${EXTNAME}-${EXTVERSION}.tar.gz 
extInstallerPath(star)/data/RM/externals/mountainlion-x86_64-64bit-gcc44/${EXTNAME}-${EXTVERSION}.tar.gzonly needed on Mac
initialVersion(green star)4035Should be included on all new OS additions or the RM will try to build all old versions
NotifyOwners(star)trueonly included for builds you want e-mails to go out on.  If not included it is assumed to be false.
sconsLocation(plus)/data/RM/tools/SCons/2.1.0/bin/scons 
sconsOptions(plus)--rm,-k,--with-GLAST-EXT=${GLAST_EXT},--compile-debug,--variant=mountainlion-x86_64-64bit-gcc44-Debug,--with-cc=/opt/local/bin/gcc,--with-cxx=/opt/local/bin/g++,all 
sourceReleaseLocation(plus)${BUILDLOCATION}/ScienceTools-LATEST- 1-${VERSION}-source.tar.gz 
testTime(plus)1800000 
userReleaseLocation(plus)${BUILDLOCATION}/ScienceTools-LATEST- 1-${VERSION}-user.tar.gz 
workflowStart(plus)LaunchThis has a value of 'Checkout' for the NFS based builds   

(plus) = required setting

(green star) = optional setting but usually present (see the Release Manager Settings page for setting details and use)

...

Note:   Many of these settings are the same across all the build packages and could probably have been made generic and only had to have been set once per package+versionType combination but this is the way Navid set it up.

Example Scripts

 There are example scripts that have been used to add these settings to the database for various packages and OSes that you can look at to see samples for other OSs or you can look up the values in the database.  The sample scripts can be found in the sql-scripts directory under the home directory of the glastrm account on the central Unix machines at SLAC.