Bug 1251533 - balrog release pusher should halt on failure r=jlund
authorRail Aliiev <rail@mozilla.com>
Thu, 25 Feb 2016 23:34:43 -0800
changeset 324101 b77f5c867c159524e2051acaa6318b91956e6a1c
parent 324100 4bdba7dff512b70cec71e2cb7d4adeefd1cc34ac
child 324102 08e35133f87ec9d9039dd426e4a6dede7715d13a
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlund
bugs1251533
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1251533 - balrog release pusher should halt on failure r=jlund MozReview-Commit-ID: 1hiVVSAGNIV
testing/mozharness/configs/releases/updates_beta.py
testing/mozharness/configs/releases/updates_date.py
testing/mozharness/configs/releases/updates_release.py
testing/mozharness/scripts/release/updates.py
--- a/testing/mozharness/configs/releases/updates_beta.py
+++ b/testing/mozharness/configs/releases/updates_beta.py
@@ -26,9 +26,10 @@ config = {
             "update_verify_channel": "beta-localtest",
             "mar_channel_ids": [
                 "firefox-mozilla-beta", "firefox-mozilla-beta",
             ],
             "channel_names": ["beta", "beta-localtest", "beta-cdntest"],
             "rules_to_update": ["firefox-beta-cdntest", "firefox-beta-localtest"],
         },
     },
+    "balrog_use_dummy_suffix": False,
 }
--- a/testing/mozharness/configs/releases/updates_date.py
+++ b/testing/mozharness/configs/releases/updates_date.py
@@ -26,9 +26,10 @@ config = {
             "requires_mirrors": False,
             "patcher_config": "mozDate-branch-patcher2.cfg",
             "update_verify_channel": "date-localtest",
             "mar_channel_ids": [],
             "channel_names": ["date", "date-localtest", "date-cdntest"],
             "rules_to_update": ["firefox-date-cdntest", "firefox-date-localtest"],
         }
     },
+    "balrog_use_dummy_suffix": False,
 }
--- a/testing/mozharness/configs/releases/updates_release.py
+++ b/testing/mozharness/configs/releases/updates_release.py
@@ -35,9 +35,10 @@ config = {
             "requires_mirrors": True,
             "patcher_config": "mozRelease-branch-patcher2.cfg",
             "update_verify_channel": "release-localtest",
             "mar_channel_ids": [],
             "channel_names": ["release", "release-localtest", "release-cdntest"],
             "rules_to_update": ["firefox-release-cdntest", "firefox-release-localtest"],
         },
     },
+    "balrog_use_dummy_suffix": False,
 }
--- a/testing/mozharness/scripts/release/updates.py
+++ b/testing/mozharness/scripts/release/updates.py
@@ -284,13 +284,16 @@ class UpdatesBumper(MercurialScript, Bui
         for p in self.config["platforms"]:
             cmd.extend(["--platform", p])
         for v, build_number in self.query_matching_partials(channel_config):
             partial = "{version}build{build_number}".format(
                 version=v, build_number=build_number)
             cmd.extend(["--partial-update", partial])
         if channel_config["requires_mirrors"]:
             cmd.append("--requires-mirrors")
-        self.retry(lambda: self.run_command(cmd))
+        if self.config["balrog_use_dummy_suffix"]:
+            cmd.append("--dummy")
+
+        self.retry(lambda: self.run_command(cmd, halt_on_failure=True))
 
 # __main__ {{{1
 if __name__ == '__main__':
     UpdatesBumper().run_and_exit()