add tag info to winbuild policy data so we can block by dest tag
Signed-off-by: Mike Bonnet <mikeb@redhat.com>
This commit is contained in:
parent
cb1b9ac7d7
commit
0b698dd278
1 changed files with 3 additions and 1 deletions
|
|
@ -6474,7 +6474,9 @@ class RootExports(object):
|
|||
"""
|
||||
if not context.opts.get('EnableWin'):
|
||||
raise koji.GenericError, "Windows support not enabled"
|
||||
policy_data = {'vm_name': vm}
|
||||
targ_info = self.getBuildTarget(target)
|
||||
policy_data = {'vm_name': vm,
|
||||
'tag': targ_info['dest_tag']}
|
||||
assert_policy('vm', policy_data)
|
||||
if not opts:
|
||||
opts = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue