Closed
Bug 1038875
Opened 10 years ago
Closed 10 years ago
add builder that pushes releases live in balrog
Categories
(Release Engineering :: Release Automation: Other, defect)
Release Engineering
Release Automation: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
Details
Attachments
(3 files)
16.61 KB,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
4.49 KB,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
4.55 KB,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
We'll be shipping Balrog to the Beta channel soon. Rather than make people use the Balrog UI (whose rules.html page is still extremely slow), we should get a Buildbot builder to do it through the API. It should be similar to the postrelease builder in that it's not hooked up to any schedulers. I think it would also be good to require a magic keyword to be present in the properties to avoid someone accidentally shipping hitting "force build" errantly.
Assignee | ||
Comment 1•10 years ago
|
||
I'm planning to give the reviews for this to Rail since it's all client side code, but do you have any thoughts or reasons why we shouldn't do this, Nick? I don't think we've ever talked about it...
Flags: needinfo?(nthomas)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → bhearsum
Comment 2•10 years ago
|
||
I feel slightly paranoid about this, but then remind myself it will remove some chances for human frailty to creep in. The magic keyword is a good idea for preventing oopsies. Ideally, after ship-it is tracking status it can ensure that we have completed enough checks (eg update verify and final verification) before enabling the button to push updates.
Flags: needinfo?(nthomas)
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Nick Thomas [:nthomas] from comment #2) > I feel slightly paranoid about this, but then remind myself it will remove > some chances for human frailty to creep in. The magic keyword is a good idea > for preventing oopsies. > > Ideally, after ship-it is tracking status it can ensure that we have > completed enough checks (eg update verify and final verification) before > enabling the button to push updates. Yeah, that's my thinking too. I'd go so far as to say that the server side should protect against somebody trying to forge that button press too. I'll forge ahead here, and we can feel paranoid together!
Assignee | ||
Comment 4•10 years ago
|
||
This just adds releaseChannelRuleIds to release configs. It's empty for everything except beta for now. We may need additional IDs at some point because Firefox and MetroFirefox have different rules. I don't think we need it yet though, because we haven't shipped Metro to Beta.
Attachment #8458003 -
Flags: review?(rail)
Assignee | ||
Comment 5•10 years ago
|
||
One thing of note here is removing "buildprops.json" as a magic string. I also didn't bother adding a .sh wrapper for this - do you think that's okay? It seemed largely unnecessary to me.
Attachment #8458006 -
Flags: review?(rail)
Assignee | ||
Comment 6•10 years ago
|
||
This script is pretty much a pared down version of balrog-release-pusher.py. It doesn't need to use the ReleaseCreator class, and therefore doesn't need as much information from the release config.
Attachment #8458008 -
Flags: review?(rail)
Assignee | ||
Comment 7•10 years ago
|
||
Here's a couple of sample runs, too. This one was without the magic property: http://dev-master1.srv.releng.scl3.mozilla.com:8018/builders/release-mozilla-beta-update_shipping/builds/8 This one was with it: http://dev-master1.srv.releng.scl3.mozilla.com:8018/builders/release-mozilla-beta-update_shipping/builds/9 They updated https://aus4-admin-dev.allizom.org/rules.html
Updated•10 years ago
|
Attachment #8458003 -
Flags: review?(rail) → review+
Comment 8•10 years ago
|
||
Comment on attachment 8458006 [details] [diff] [review] buildbotcustom work Review of attachment 8458006 [details] [diff] [review]: ----------------------------------------------------------------- ::: process/release.py @@ +1233,5 @@ > + '-r', releaseConfigFile, > + '-a', balrog_api_root, > + '-u', balrog_username, > + '-c', 'oauth.txt', > + '-p', 'buildprops.json', Can you remove the trailing space when you land?
Attachment #8458006 -
Flags: review?(rail) → review+
Updated•10 years ago
|
Attachment #8458008 -
Flags: review?(rail) → review+
Assignee | ||
Updated•10 years ago
|
Attachment #8458003 -
Flags: checked-in+
Assignee | ||
Updated•10 years ago
|
Attachment #8458006 -
Flags: checked-in+
Assignee | ||
Updated•10 years ago
|
Attachment #8458008 -
Flags: checked-in+
Assignee | ||
Comment 9•10 years ago
|
||
I landed things on default. It's likely that they'll go into production before 33.0b1, so we can test it there with that!
Assignee | ||
Comment 10•10 years ago
|
||
I updated docs: https://wiki.mozilla.org/index.php?title=Release%3ARelease_Automation_on_Mercurial%3AUpdates_through_Shipping&diff=998013&oldid=998011 https://wiki.mozilla.org/index.php?title=Releases%2FRelEngChecklist&diff=998017&oldid=997088 Since this involves a change to release procedure, I'll also send mail in a bit.
Comment 11•10 years ago
|
||
In production.
Assignee | ||
Comment 12•10 years ago
|
||
This worked perfectly fine in 32.0b1!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•