Closed Bug 1655128 Opened 5 years ago Closed 6 months ago

Add a mach command that makes it easy to serve updates locally

Categories

(Toolkit :: Application Update, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: nalexander, Assigned: nalexander)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

There are great instructions for how to generate (unsigned) MAR files, how to serve them, and how to configure Firefox to use them here. This ticket tracks automating that process in the form of a mach command as much as possible, so that it's really easy to test an update cycle locally.

Depends on: 1675338
Assignee: nobody → nalexander
Status: NEW → ASSIGNED

This merely glues together well-known incantations. The one thing
that is new is replacing the regular updater binary with the
updater-xpcshell binary, which can apply debug-signed updates. We can
produce debug-signed updates locally -- the relevant key is in the
source tree -- allowing to test a more complete flow. Compiled builds
could set some build-time flags to disable signature verification, but
this approach works with artifact builds as well.

Depends on D109008

I think we could use mozinstall for all package formats but I don't
really know how to test the existing jobs so this commit reduces churn
by only using mozinstall for DMG packages.

Depends on D109463

Priority: -- → P3
Attachment #9210155 - Attachment description: Bug 1655128 - Part 1: Add `mach update serve` for serving updates. r?#build!,#application-update-reviewers! → Bug 1655128 - Add `mach update serve` for serving updates. r?bhearsum!,bytesized!
Pushed by nalexander@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/69ca48544f86 https://hg.mozilla.org/integration/autoland/rev/056d3f45ded1 Add `mach update serve` for serving updates. r=firefox-build-system-reviewers,application-update-reviewers,bytesized,bhearsum,ahochheiden
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: