mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-06 16:20:32 +01:00
contrib/rh-bkr: master tests now run with all branches
This commit is contained in:
parent
5bcc6ac784
commit
8485ddb161
1 changed files with 2 additions and 6 deletions
|
|
@ -703,12 +703,8 @@ class CmdSubmit(CmdBase):
|
|||
if re.match(r'^.*/NetworkManager-1.0.4-[0-9]+\.el7\.[^.]+\.rpm$', u) or \
|
||||
re.match(r'^.*/NetworkManager-1.0.6-[0-9]+\.el7\.[^.]+\.rpm$', u):
|
||||
return 'rhel-7' # rhel-7.2
|
||||
if re.match(r'^.*/NetworkManager-1.1.[0-9]+-[0-9]+\.[a-f0-9]+\.el7\.[^.]+\.rpm$', u):
|
||||
return 'master' # upstream 1.1
|
||||
if self.options.build_id:
|
||||
return 'master'
|
||||
raise Exception("could not detect %s. Try setting as target branch GIT_TEST_BRANCH%s" % (key_name,
|
||||
((" or "+key_name) if key_name != 'GIT_TEST_BRANCH' else '')))
|
||||
# Master now tests everything
|
||||
return 'master'
|
||||
|
||||
def _detect_hosttype(self):
|
||||
return 'default'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue