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.


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, 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:

rm dev && ln -s LBSCRIPTS_vXrYpZ dev

Switching the production release to a new version

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

ALERT! When putting a release in production, both links have to be updated at the same time by doing:

rm prod && ln -s LBSCRIPTS_vXrYpZ prod

In the case of CVMFS, the same operation is needed a call to cvmfs-update-client is needed after the modifications (c.f. ProjectRelease#Installation_on_CERNVM)

-- BenjaminCouturier - 13-Feb-2012

Edit | Attach | Watch | Print version | History: r32 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2012-02-13 - 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