Closed Bug 486454 Opened 15 years ago Closed 15 years ago

[hg-automation] Move update verify bumping to Updates step

Categories

(Release Engineering :: General, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: nthomas)

References

Details

Attachments

(2 files)

We bump each platform's update verify config separately, which can cause multiple heads in build/tools if they all push back to the repo at the same time. I think we should just bump the verify config after we bump the patcher config, even if that's not quite right logically, because it avoids the heads and we have much the information needed already.
I'll get this in a bit.
Assignee: nobody → nthomas
Priority: -- → P3
Priority: P3 → P2
The key part of this is gutting UpdateVerifyFactory and putting most of it into ReleaseUpdatesFactory, so that we bump the patcher config, bump the verify configs, then create the updates. 

Other changes as part of this
* modify getCandidatesDir() to give universal paths, all our machines have appropriate symlinks at /pub/mozilla.org to the real mount location (there may be other places we can start using this)
* rearrange argument order of ReleaseUpdatesFactory, add extra few vars we need
* not use tagged version of the patcher bumper, since we can't do that for the verify bumper. Let me know if you think this is a bad regression
* d/l old-shipped-locales to build/ instead of tools/release/updates
* tinker with step descriptions
* put all three verifyConfig's into one dict, loop over platforms keys (see buildbot-configs patch)
* rejig ReleaseFinalVerification for new verify config dict

Tested in staging run for 3.5rc1 and seems to be working fine.
Attachment #378844 - Flags: review?(bhearsum)
All the changes we need to work with the factory.py rejig, and an updated release_config.py in staging.
Attachment #378845 - Flags: review?(bhearsum)
If you're wondering why I didn't put the config bumps in a separate factory it's because we don't check the patcher config in on staging, and we can't guarantee getting the same slave for both config and update generation.
Status: NEW → ASSIGNED
Summary: Move update verify bumping to Updates step, or dedicated step → Move update verify bumping to Updates step
Comment on attachment 378844 [details] [diff] [review]
buildbotcustom part, rearrange factory.py

Awesome stuff Nick. I'm happy to see getCandidatesDir using the universal paths, finally. Can you file a followup on getting the rest of the automation to use it, too?

Also: It sortof sucks that we're not using a tag for the patcher tools anymore. We should fix this automation to have a tag everywhere (buildbot-configs, buildbotcustom, tools, patcher, et. al), but that's way beyond the scope of this. (Which is a long way of saying "this is fine".) I filed bug 494161 about this.
Attachment #378844 - Flags: review?(bhearsum) → review+
Attachment #378845 - Flags: review?(bhearsum) → review+
Bug 494334 for using getCandidatesDir everywhere.
Attachment #378845 - Flags: checked‑in+ checked‑in+
Comment on attachment 378844 [details] [diff] [review]
buildbotcustom part, rearrange factory.py

http://hg.mozilla.org/build/buildbotcustom/rev/3901a3e9cd6e
Attachment #378844 - Flags: checked‑in+ checked‑in+
production-master reconfig'd.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Bug 496491 for the Bootstrap equivalent of this fix.
Summary: Move update verify bumping to Updates step → [hg-automation] Move update verify bumping to Updates step
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: