Closed
Bug 1193504
Opened 10 years ago
Closed 10 years ago
make sure RCs are fully enabled for betas-on-release
Categories
(Release Engineering :: Release Automation, defect)
Release Engineering
Release Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
Details
Attachments
(1 file, 1 obsolete file)
18.09 KB,
patch
|
nthomas
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
We hit an issue in 40.0 where Beta update verify and final verify were failing because the Balrog blob did not have "39.0-build6" entries for the beta* fileUrls. This is probably because we use this versionRegex: r"^(\d+\.\d+b\d+|%s)$" % releaseConfig["version"].replace(".", "\\."),
This version regex already support x.ybz, and versions that match the current version numebr. Looks like we need to add support for anything that looks like x.y. I'm tempted jsut to use ^.*$ to simplify things, and support the unlikely case that we've pushed a x.y.z release to beta.
Assignee | ||
Comment 1•10 years ago
|
||
I double checked that the release creator pays attention to this (it does: https://github.com/mozilla/build-tools/blob/master/scripts/updates/balrog-release-pusher.py#L104), so I think this should do the trick?
https://github.com/mozilla/build-tools/blob/master/lib/python/balrog/submitter/cli.py#L191 will take care of constructing the correct URLs, ie: including buildN in the bouncer product name.
Comment 2•10 years ago
|
||
Does it mean we end up with x.0.y versions in the beta patcher config, and hence do update verify on strange paths ? I think it might, and end up causing problems when we don't have <x.0.y> blocks in the beta patcher config.
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Nick Thomas [:nthomas] from comment #2)
> Does it mean we end up with x.0.y versions in the beta patcher config, and
> hence do update verify on strange paths ? I think it might, and end up
> causing problems when we don't have <x.0.y> blocks in the beta patcher
> config.
Hmmm, good point. This is basically impossible to get correct when we're guessing :(. We could definitely add support for x.y instead of just currentVersion.y -- that would fix this particular problem, but wouldn't help when we've got a x.y.z that made it to beta...
Assignee | ||
Comment 4•10 years ago
|
||
OK, so let's just support all x.y versions for now. This means that any x.y.z versions that make it to Beta would still need fixups in the Balrog blob, but this just fix the majority of the cases.
Attachment #8648160 -
Attachment is obsolete: true
Attachment #8648160 -
Flags: review?(nthomas)
Attachment #8649896 -
Flags: review?(nthomas)
Comment 5•10 years ago
|
||
Comment on attachment 8649896 [details] [diff] [review]
allow x.y + x.ybz versions for beta on release
>diff --git a/mozilla/config.py b/mozilla/config.py
I'm assuming this was for another bug and ignoring it here.
>diff --git a/mozilla/release-firefox-mozilla-release.py.template b/mozilla/release-firefox-mozilla-release.py.template
>- "versionRegex": r"^(\d+\.\d+b\d+|%s)$" % releaseConfig["version"].replace(".", "\\."),
>+ "versionRegex": r"^(\d+\.\d+(b\d+)?)$",
WFM!
Attachment #8649896 -
Flags: review?(nthomas) → review+
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Nick Thomas [:nthomas] from comment #5)
> Comment on attachment 8649896 [details] [diff] [review]
> allow x.y + x.ybz versions for beta on release
>
> >diff --git a/mozilla/config.py b/mozilla/config.py
>
> I'm assuming this was for another bug and ignoring it here.
Yeah, whoops =\.
Assignee | ||
Updated•10 years ago
|
Attachment #8649896 -
Flags: checked-in+
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 7•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•