Bug 1415276 - Unable to publish 57.0rc1 to beta channel r=jlund draft
authorRail Aliiev <rail@mozilla.com>
Tue, 07 Nov 2017 15:25:30 -0500
changeset 694480 ef156ae6509a1d1ad772f4d694b4cf7fed8396a3
parent 694479 aebba462abece0c9698559ab6ce88a154f9e004f
child 739339 3d19e02fd96c920de6ee64c477a3d6b988d4085c
push id88134
push userbmo:rail@mozilla.com
push dateTue, 07 Nov 2017 20:25:52 +0000
reviewersjlund
bugs1415276
milestone58.0a1
Bug 1415276 - Unable to publish 57.0rc1 to beta channel r=jlund 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"],