Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Merging from default
Browse files Browse the repository at this point in the history
changeset:   4195:b63222955c94
tag:         tip
parent:      4191:785722efec9b
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Fri Apr 17 13:08:34 2015 -0400
summary:     bug 1153242: update verify fails for first few beta releases after RC - add support for passing mar channel ids to patcher config bumper. r=nthomas

--HG--
branch : production-0.8
  • Loading branch information
gerva committed Apr 20, 2015
2 parents acd1faa + 3ce5e83 commit 5f55a7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion process/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -3903,7 +3903,7 @@ def __init__(self, patcherConfig, verifyConfigs, appName, productName,
buildSpace=2, triggerSchedulers=None, releaseNotesUrl=None,
python='python', promptWaitTime=None,
balrog_api_root=None, balrog_credentials_file=None,
balrog_username=None, **kwargs):
balrog_username=None, mar_channel_ids=[], **kwargs):
ReleaseFactory.__init__(self, buildSpace=buildSpace, **kwargs)

self.patcherConfig = patcherConfig
Expand All @@ -3929,6 +3929,7 @@ def __init__(self, patcherConfig, verifyConfigs, appName, productName,
self.balrog_username = balrog_username
self.testChannel = localTestChannel
self.releaseChannel = releaseChannel
self.mar_channel_ids = mar_channel_ids

self.previousVersion = getPreviousVersion(self.version,
self.partialUpdates.keys())
Expand Down Expand Up @@ -3968,6 +3969,8 @@ def bumpConfigs(self):
bumpCommand.extend(['--platform', platform])
if self.promptWaitTime:
bumpCommand.extend(['--prompt-wait-time', self.promptWaitTime])
for c in self.mar_channel_ids:
bumpCommand.extend(["--mar-channel-id", c])
if self.releaseNotesUrl:
rnurl = self.releaseNotesUrl
if self.use_mock:
Expand Down
1 change: 1 addition & 0 deletions process/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,7 @@ def getMessageId():
balrog_api_root=balrog_api_root,
balrog_username=balrog_username,
balrog_credentials_file=balrog_credentials_file,
mar_channel_ids=updateConfig.get("marChannelIds", []),
)

builderName = builderPrefix("%s_%s_updates" % (releaseConfig["productName"], channel))
Expand Down

0 comments on commit 5f55a7f

Please sign in to comment.