Bug 1415276 - Unable to publish 57.0rc1 to beta channel r=jlund
MozReview-Commit-ID: qLOqPTopYP
--- 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"],