Closed Bug 1175086 Opened 9 years ago Closed 9 years ago

Reimplement postrelease for S3 hosting

Categories

(Release Engineering :: Release Automation: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Unassigned)

References

Details

Attachments

(1 file)

*_postrelease
Issue: Removes index.html for Firefox, updates symlinks, updates bouncer aliases
Code: http://hg.mozilla.org/build/tools/file/default/scripts/release/stage-tasks.py#l378
Fix: convert symlink a redirect (x-amz-website​-redirect-location) for top level dir ?
SWAG: Unknown until more technical investigation done

Also - some partner builds get copied too. See http://hg.mozilla.org/build/tools/file/default/scripts/release/stage-tasks.py#l206 for the code for that. We may need to re-host those somewhere.
It seems pretty clear that index files can go away (they probably don't make sense in S3, and we don't have the same sort of paranoia about people downloading early as we did in the past).

We talked a bit about whether or not something like the current "latest" symlink is necessary anymore. I'm tempted to do away with it now that we have stable Bouncer entries.

Partner builds are being reworked as part of another project (no bug on file yet though), and coop says we can ignore them here.

If all of this is true, this might be a no-op? At the most, I think we'd want to do the symlink-equivalent.
Not quite a no-op, we need to remove the code that does symlinks et. al. Once we're fully transitioned there's probably huge swaths of this script that we can kill.
Attachment #8628861 - Flags: review?(nthomas)
Comment on attachment 8628861 [details] [diff] [review]
kill everything except bouncer alias updates

Please check that rehosting the partner builds is on Nancy's radar, or that coop in the loop with her, or we'll need to redo doSyncPartnerBundles() somehow.
Attachment #8628861 - Flags: review?(nthomas) → review+
(In reply to Nick Thomas [:nthomas] from comment #3)
> Comment on attachment 8628861 [details] [diff] [review]
> kill everything except bouncer alias updates
> 
> Please check that rehosting the partner builds is on Nancy's radar, or that
> coop in the loop with her, or we'll need to redo doSyncPartnerBundles()
> somehow.

Confirmed in bug 1181183 that coop will be handling that. I think I saw you loop Nancy in in e-mail at one point, too. So, I think the only thing left to do here is land this patch when we're ready to switch over...
Status - ready to go
To land at transition: patch for tools
TODO 
* add bouncer alias for thunderbird-latest-beta, and set up release config to update it in postrelease
* remove contents of {firefox,mobile,thunderbird}/releases/latest-*, replacing it with a README which talks about bouncer
* blog/newsgroup about same
Comment on attachment 8628861 [details] [diff] [review]
kill everything except bouncer alias updates

Landed just now as https://hg.mozilla.org/build/tools/rev/bb6a977ee3df
Attachment #8628861 - Flags: checked-in+
Bug 1223019 for some post-landing fallout.
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1223019
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: