Release process for LHCb

This information is only relevant for releases after 5.4.0.

For testers

Create pre-release

  • Log into the gangalb account
  • Update the scripts directory from SVN in case there have been updates: svn update scripts
  • Delete anything inside rm -rf ~/cmtuser to remove old releases taking up space.
  • Execute the command scripts/lhcb-prepare -p rel where rel is the release name in LHCb notation. A Ganga release X.Y.Z translates into vX0YrZ with the Y field always zero padded to two characters. As an example 5.4.0 becomes v504r0. This will create a copy of the release packaged for LHCb. IF the release is already there the command will fail and you have to remove the release from ~/cmtuser/GANGA first.

Test release

  • Setup environment by running SetupProject Ganga rel with rel in the same notation as above.
  • Run lhcb-proxy-info to make sure that you have a valid proxy.
  • Run the testing framework as usual with the command rm -rf ~/gangadir_testing && ganga --test -o'[Configuration]RUNTIME_PATH=GangaTest' -o'[TestingFramework]ReleaseTesting=True' -o'Config=localxml.ini' GangaLHCb/test 2>&1 | tee /afs/cern.ch/sw/ganga/install/5.4.0-pre/reports/latest/output/GangaLHCb.out.
    Note that you should just use ganga as it is in the PATH.
    Note that the Ganga pre-release version in this command must be edited by hand for the current release.
  • Copy the test output files to the prerelease directory (from the CMT Ganga package):
cp  /afs/cern.ch/user/g/gangalb/cmtuser/GANGA/GANGA_v504r0/install/ganga/reports/latest/output/GangaLHCb.test.* /afs/cern.ch/sw/ganga/install/5.4.0-pre/reports/latest/output
* Copy the test xml files to the prerelease directory (from the CMT Ganga package):
cp  /afs/cern.ch/user/g/gangalb/cmtuser/GANGA/GANGA_v504r0/install/ganga/reports/latest/* /afs/cern.ch/sw/ganga/install/5.4.0-pre/reports/latest/

For LHCb developers

Update of external package information

  • Check out trunk/external/LHCbSetupProject and edit the file /GANGA/GANGA_v/GangaPolicy/scripts/ganga-externals.py

Update DIRAC dependency

  • Check out trunk/external/LHCbSetupProject and edit the file GANGA/GANGA_v/cmt/project.cmt.

Make new Project available for releases

  • Make a tag like svn copy $SVNURL/trunk/external/LHCbSetupProject $SVNURL/tags/private/LHCbSetupProject/LHCbSetupProject-vXrYpZ and it will be used for all releases with higher version numbers until a new tag is made.
  • After the Ganga release has been made by the release manager, an LHCb person has to go to the page https://savannah.cern.ch/task/index.php and request the new release for distribution.

-- UlrikEgede - 19-Apr-2013

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r10 - 2013-04-19 - UlrikEgede
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

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