From 832adafdff359b5af1b12444ed17ad3b3eea2334 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Thu, 24 Aug 2017 12:01:25 +0200 Subject: [PATCH] Support autoland in the list of Mozilla repositories; --- slave/url_creator.py | 5 ++--- tests/test_url_creator.py | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/slave/url_creator.py b/slave/url_creator.py index 5d7315a..5ca3a5e 100644 --- a/slave/url_creator.py +++ b/slave/url_creator.py @@ -4,9 +4,6 @@ import re import utils -MAC_BUILDBOT_REPOSITORIES = ('mozilla-beta', 'mozilla-release', 'mozilla-esr52') - - class UrlCreator(object): def __init__(self, config, repo, other_platform=None): self.repo = repo @@ -141,6 +138,8 @@ class MozillaUrlCreator(UrlCreator): def __init__(self, config, repo, platform=None): if repo == "mozilla-try": repo = "try"; + if repo == "mozilla-autoland": + repo = "autoland" UrlCreator.__init__(self, config, repo, platform) def _platform(self): diff --git a/tests/test_url_creator.py b/tests/test_url_creator.py index 03304d2..1172875 100755 --- a/tests/test_url_creator.py +++ b/tests/test_url_creator.py @@ -15,6 +15,7 @@ PLATFORMS = [ REPOS = [ "mozilla-inbound", + "mozilla-autoland", "mozilla-central", "mozilla-beta", "mozilla-release",