Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Bug 689909. Enable tinderbox mail for L10n. r=coop,Callek
Browse files Browse the repository at this point in the history
  • Loading branch information
Armen Zambrano Gasparnian committed Sep 28, 2011
1 parent 75ace15 commit 6c3c35c
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions misc.py
Expand Up @@ -762,29 +762,27 @@ def generateBranchObjects(config, name):
l10n_binaryURL += "-l10n"
nomergeBuilders.extend(l10n_builders)

# This notifies all l10n related build objects to Mozilla-l10n
if not config.get('disable_tinderbox_mail'):
branchObjects['status'].append(TinderboxMailNotifier(
fromaddr="bootstrap@mozilla.com",
tree=config['l10n_tinderbox_tree'],
extraRecipients=["tinderbox-daemon@tinderbox.mozilla.org"],
relayhost="mail.build.mozilla.org",
logCompression="gzip",
builders=l10n_builders,
binaryURL=l10n_binaryURL
))
branchObjects['status'].append(TinderboxMailNotifier(
fromaddr="bootstrap@mozilla.com",
tree=config['l10n_tinderbox_tree'],
extraRecipients=["tinderbox-daemon@tinderbox.mozilla.org"],
relayhost="mail.build.mozilla.org",
logCompression="gzip",
builders=l10n_builders,
binaryURL=l10n_binaryURL
))

# We only want the builds from the specified builders
# since their builds have a build property called "locale"
branchObjects['status'].append(TinderboxMailNotifier(
fromaddr="bootstrap@mozilla.com",
tree=WithProperties(config['l10n_tinderbox_tree'] + "-%(locale)s"),
extraRecipients=["tinderbox-daemon@tinderbox.mozilla.org"],
relayhost="mail.build.mozilla.org",
logCompression="gzip",
builders=l10n_builders,
binaryURL=l10n_binaryURL
))
# We only want the builds from the specified builders
# since their builds have a build property called "locale"
branchObjects['status'].append(TinderboxMailNotifier(
fromaddr="bootstrap@mozilla.com",
tree=WithProperties(config['l10n_tinderbox_tree'] + "-%(locale)s"),
extraRecipients=["tinderbox-daemon@tinderbox.mozilla.org"],
relayhost="mail.build.mozilla.org",
logCompression="gzip",
builders=l10n_builders,
binaryURL=l10n_binaryURL
))

# Log uploads for dep l10n repacks
branchObjects['status'].append(QueuedCommandHandler(
Expand Down

0 comments on commit 6c3c35c

Please sign in to comment.