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

Bug 1368598 - suppress localtest email when auto-pushing to releases #243

Merged
merged 2 commits into from May 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion releasetasks/templates/desktop/emails/localtest.yml.tmpl
@@ -1,5 +1,5 @@
{% for channel in release_channels %}
{% if channel != "beta" %}
{% if not push_to_releases_automatic %}
{{ email_release_drivers_task(product=product, version=version, channel=channel, requires=all_update_verify_builders, update_channel='localtest') }}
{% endif %}
{% endfor %}
2 changes: 2 additions & 0 deletions releasetasks/test/desktop/emails/test_email_localtest.py
Expand Up @@ -76,6 +76,7 @@ def setUp(self):
'updates_enabled': True,
'push_to_candidates_enabled': True,
'push_to_releases_enabled': True,
'push_to_releases_automatic': False,
'update_verify_enabled': True,
'updates_builder_enabled': True,
'signing_pvt_key': PVT_KEY_FILE,
Expand Down Expand Up @@ -119,6 +120,7 @@ def test_beta_is_excluded(self):
'updates_enabled': True,
'push_to_candidates_enabled': True,
'push_to_releases_enabled': True,
'push_to_releases_automatic': True,
'update_verify_enabled': True,
'updates_builder_enabled': True,
'signing_pvt_key': PVT_KEY_FILE,
Expand Down