Add default behavior to review_in_fuel_library
If review_in_fuel_library launched by scheduler or manually - then no GERRIT_* environment variables will be exported so need to execute "bvt_2" system test Change-Id: I535d36823e79ada5ecc1c52efb082ba3166d2d11
This commit is contained in:
parent
0cbe58f63b
commit
9eece05963
|
@ -555,6 +555,9 @@ def map_test_review_in_fuel_library(**kwargs):
|
|||
old_groups = kwargs.get('groups', None)
|
||||
groups.extend(old_groups or [])
|
||||
if 'review_in_fuel_library' in groups:
|
||||
mp = FuelLibraryModulesProvider.from_environment_vars()
|
||||
modules = mp.get_changed_modules()
|
||||
if settings.GERRIT_CHANGE_ID and settings.GERRIT_PATCHSET_NUMBER:
|
||||
mp = FuelLibraryModulesProvider.from_environment_vars()
|
||||
modules = mp.get_changed_modules()
|
||||
else:
|
||||
modules = dict()
|
||||
puppet_modules_mapping(modules)
|
||||
|
|
Loading…
Reference in New Issue