Preparing the release

Release tools

LbScripts can be released with the same tools as for all other projects, but some extra steps are needed for install project.

ALERT! a cached version of the environment is generated, so it is necessary to make sure that you do not have LbScripts in your User_release_area when performing the release.

LbConfiguration

The LbConfiguration package generates the LbLogin script whichs contains the name of the released version.

ALERT! Therefore, LbConfiguration must ALWAYS be released with the same version as LbScripts itself !

LbLegacy / install_projects specific steps

When releasing LbLegacy, install_project.py must be updated at each new release of LbScripts in order to make sure that the auto-update mechanism of install_project and LbScripts works correctly. In this scripts the script_version variable must be set to the day of the release with the following pattern: YYMMDD, e.g.:

script_version = '120206'

It should increase monotonously, as install_project uses this variable to check wherther a new version is available.

The LbScripts version should be set to the version of LbScripts to be released as this is used to choose the version to e downloaded from the repository e.g

lbscripts_version = "v6r6p4"

Setting the new release as the "dev" version

Once the release of LbScripts vXrYpZ has been deployed to the the release area, it is necessary to change the link $LHCBRELEASE/LBSCRIPTS/dev:

cd $LHCBRELEASE/LBSCRIPTS 
rm dev && ln -s LBSCRIPTS_vXrYpZ dev

Switching the production release to a new version

A "prod" symbolic link exists on AFS that points to the production version of LbScripts.

ALERT! When putting a release in production, the link has to be updated by doing:

cd $LHCBRELEASE/LBSCRIPTS 
rm prod && ln -s LBSCRIPTS_vXrYpZ prod

The links should be updated on CVMFS and on local install by install project itself.

-- BenjaminCouturier - 13-Feb-2012

Edit | Attach | Watch | Print version | History: r32 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2012-02-20 - BenjaminCouturier
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback