Skip to content

[devel] Use lb-prod-run instead of configuring lb-run/ProdConf directly

Chris Burr requested to merge cburr/LHCbDIRAC:use-lb-prod-run into devel

The mange change here is to use lb-prod-run instead of lb-run. As part of this I've removed several methods from the LHCbJob class which I'm fairly sure are unused and in some cases just broken. Ganga is using one of these but I think it's just in legacy code (ganga-devs/ganga#1986).

I've also moved the submitAndMatch tests to be ran as a single pytest job in LHCbPilots GitLab CI. These can now be ran on any development install using:

pytest tests/Workflow [--runslow]

There is more cleanup to be done here but I think this is merge request is already big enough:

  • Clean up unused test files
  • Merge RunApplication in to GaudiApplication
  • Remove RuntimeProjects from the bookking and webapp
BEGINRELEASENOTES

*ProductionManagement
CHANGE: Use lb-prod-run instead of configuring lb-run/ProdConf directly
CHANGE: Remove runTimeProjectName/runTimeProjectVersion from the definition of productions

*Interfaces
CHANGE: Remove LHCbJob.setApplicationScript
CHANGE: Remove LHCbJob.setBenderModule
CHANGE: Remove LHCbJob.setRootMacro
CHANGE: Remove LHCbJob.setRootPythonScript
CHANGE: Remove LHCbJob.setRootExecutable

*Testing
CHANGE: submitAndMatch test is now ran in the LHCbPilot CI as a single pytest invocation

ENDRELEASENOTES

Part of https://gitlab.cern.ch/lhcb-dpa/project/-/issues/132

Edited by Chris Burr

Merge request reports