tagger = mygit.get_tag(tag)
- # get list of target projects from git-obs-mapping
+ # get project mappings from git-obs-mapping and git-ref-mapping
if git_branch.endswith('_tpk'): # ABS - mappings w/o _tpk postfix(only for profiles).
obs_target_prjs = git_obs_map(os.getenv("GERRIT_PROJECT"), git_branch.split('_tpk')[0])
+ obs_ref_prjs = get_ref_map(os.getenv("GERRIT_PROJECT"), git_branch.split('_tpk')[0])
else:
obs_target_prjs = git_obs_map(os.getenv("GERRIT_PROJECT"), git_branch)
-
- # get lis of ref projects from git-ref-mapping
- obs_ref_prjs = get_ref_map(os.getenv("GERRIT_PROJECT"), git_branch)
+ obs_ref_prjs = get_ref_map(os.getenv("GERRIT_PROJECT"), git_branch)
build = BuildService(obs_api, obs_user, obs_passwd)