Bug 1251533 - balrog release pusher should halt on failure r=jlund

MozReview-Commit-ID: 1hiVVSAGNIV
This commit is contained in:
Rail Aliiev 2016-02-25 23:34:43 -08:00
parent 43d710b721
commit ff41f4cf2b
4 changed files with 7 additions and 1 deletions

View File

@ -31,4 +31,5 @@ config = {
"rules_to_update": ["firefox-beta-cdntest", "firefox-beta-localtest"],
},
},
"balrog_use_dummy_suffix": False,
}

View File

@ -31,4 +31,5 @@ config = {
"rules_to_update": ["firefox-date-cdntest", "firefox-date-localtest"],
}
},
"balrog_use_dummy_suffix": False,
}

View File

@ -40,4 +40,5 @@ config = {
"rules_to_update": ["firefox-release-cdntest", "firefox-release-localtest"],
},
},
"balrog_use_dummy_suffix": False,
}

View File

@ -289,7 +289,10 @@ class UpdatesBumper(MercurialScript, BuildbotMixin,
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__':