Bug 1415276 - Unable to publish 57.0rc1 to beta channel r=jlund a=release
authorRail Aliiev <rail@mozilla.com>
Tue, 07 Nov 2017 15:25:30 -0500
changeset 435345 efb3e923d986ce4ffff33c6a777192453dbdbb92
parent 435344 284d33be96f338e01078500de53d0ad6674d39cc
child 435346 0951afb05f1cbb159a23a3899816351beebe48f6
push id1576
push userraliiev@mozilla.com
push dateTue, 07 Nov 2017 20:59:52 +0000
treeherdermozilla-release@efb3e923d986 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlund, release
bugs1415276
milestone57.0
Bug 1415276 - Unable to publish 57.0rc1 to beta channel r=jlund a=release MozReview-Commit-ID: qLOqPTopYP
testing/mozharness/scripts/release/publish_balrog.py
--- a/testing/mozharness/scripts/release/publish_balrog.py
+++ b/testing/mozharness/scripts/release/publish_balrog.py
@@ -124,16 +124,20 @@ class PublishBalrog(MercurialScript, Bui
             cmd.extend(["--schedule-at", self.config["schedule_at"]])
         if self.config.get("background_rate"):
             cmd.extend(["--background-rate", str(self.config["background_rate"])])
 
         self.retry(lambda: self.run_command(cmd, halt_on_failure=True),
                    error_level=FATAL)
 
     def _submit_to_balrog_bz2(self, channel_config):
+        if "bz2_blob_suffix" not in channel_config:
+            self.info("No need to generate BZ2 blob")
+            return
+
         dirs = self.query_abs_dirs()
         # Use env varialbe instead of command line to avoid issues with blob
         # names starting with "-", e.g. "-bz2"
         env = {"BALROG_BLOB_SUFFIX": channel_config["bz2_blob_suffix"]}
         auth = os.path.join(os.getcwd(), self.config['credentials_file'])
         cmd = [
             sys.executable,
             os.path.join(dirs["abs_tools_dir"],