Skip to content

Allow overriding of conditions and geometry versions from environment variables

This is a first concrete step towards testing of CondDB MRs before they are merged.

The basic idea is that if we have a MR in lhcb-conditions-database that targets "master", we should validate it against all the tests that are using the version "master" of the database. The easiest way to achieve that is to use an environment variable that will tell the tests to replace "master" with the version we want to validate (see lhcb-conddb/lhcb-conditions-database!179 (comment 9725091) for the original idea).

In this MR I add the possibility to override Detector/DD4hep geometry and conditions versions (via GEOMETRY_VERSION_OVERRIDE and CONDITIONS_VERSION_OVERRIDE) as well as any CondDB partition version in DetDesc (via DDDB_VERSION_OVERRIDE etc.).

The next step will be to modify ci-test to define such variables when it generates the configuration of the *-mr slot.

Note: this should be ported to all branches that may require testing of CondDB MRs and also Run2Support for the DetDesc part

Goes with Run2Support!79 (merged)

Edited by Marco Clemencic

Merge request reports

Loading