Mozilla VPN Release Process#
Mozilla VPN is shipped in two parts, the client and addons.
The client is shipped on Windows, Mac and Linux, as well as Android and iOS.
Ensure you are in the #releaseduty channel in Matrix.
Windows and Mac Clients#
Windows and Mac client relases are triggered via Shipit.
Promote a Build#
You’ll receive a ping in the #releaseduty channel in Matrix asking to
“promote a build” or “push a build to candidates”. The request should include a
link to the commit they would like promoted.
Log in to Shipit.
From the
Releasesdropdown, selectSecurity -> New Release.Select
mozilla-vpn-clientas the product.Choose the release branch + commit mentioned in the request. The branch should match
releases/<version>.Create the release and navigate to
Security -> Pending Releases.Trigger the
promote-clientphase. This will run beetmover tasks that uploads the signed builds to the candidates directory on archive.mozilla.org. The builds will be under the path with the following pattern:pub/vpn/candidates/<version>-candidates/build<buildId>/Update Balrog, making sure to use the
FirefoxVPN: release-cdntestchannel.Reply in-thread that the candidate builds are ready for testing.
Ship a Build#
You’ll receive a ping in the #releaseduty channel in Matrix asking to
ship or release a build. The request should include a link to the commit they
would like promoted.
Login to Shipit.
From the
Releasesdropdown, selectSecurity -> Pending Releases.Find the corresponding release that was created for the
promote-clientphase.Trigger the
ship-clientphase. This will run a beetmover task that copies the signed builds from candidates, over to the releases directory on archive.mozilla.org.Update Balrog, making sure to use the
FirefoxVPN: releasechannel.Reply in-thread in the
#releasedutychannel that the release has been shipped on Windows and Mac.
Update Balrog#
Once the builds are on archive.mozilla.org, you’ll need to update the
FirefoxVPN: release-cdntest channel on Balrog to point at them.
Create the release. It’s usually easiest to copy/paste the previous release.
Set the release name to
FirefoxVPN-<version>.Set the channel. Use
FirefoxVPN: release-cdntestfor the candidate builds. UseFirefoxVPN: releasefor the actual release.Update the URLs.
Update the sha512 hashes, you’ll need to download the binaries and compute them manually. Make sure the files are
gunzip’ed first (downloading via browser is safe way to ensure this).Update the version in the name and version fields.
Update the default rule to point to the new release.
Required Releases#
From time to time, you may be asked to create a “required” release. This means that the client will force users to update to the newer version (normally they would have the option to ignore the update prompt). Required releases should be created in addition to the release you created in the previous step.
Create the required release by copy/pasting the previous release blob except:
Append
-Requiredto the release name (both in Balrog and in the release blob).Change the
requiredfield totrue.
Update or create the appropriate rules to point to this release. It will likely be the case that only certain platforms or version numbers will want to use this release, so be sure to work with the VPN team to determine what exactly is desired.
Addons#
Addons are shipped independently from the main client, they are akin to Firefox’s “system addons”. They live in the main repo and are not to be confused with web extensions (they use a custom format to VPN).
Addons releases are also managed via Shipit.
Promote Addons#
Login to Shipit.
From the
Releasesdropdown, selectSecurity -> New Release.Select
mozilla-vpn-addonsas the product.Choose the
mainbranch + commit mentioned in the request. Addons should always be released off of themainbranch. If a branch other thanmainis requested, please verify that this is intentional and not an oversight.Create the release and navigate to
Security -> Pending Releases.Trigger the
promote-addonsphase. This will create beetmover tasks that upload the addons plus the manifest to the addons candidates directory. The path will have a pattern like:pub/vpn/addons/candidates/<buildId>Reply in-thread that the candidate addons are ready for testing.
Warning
Addons do not use version numbers and instead use the build date as their version. Shipit is unable to handle this scenario, so will display the client version instead. Please ignore this version number for the addons, and keep a mental note of which build number in Shipit corresponds to which build date in the release tasks.
Ship Addons#
Login to Shipit.
From the
Releasesdropdown, selectSecurity -> Pending Releases.Find the corresponding release that was created for the
promote-addonsphase.Trigger the
ship-addonsphase. This will run beetmover tasks that copy the addons and signed manifest from candidates, over to the addons releases directory on archive.mozilla.org. The files will be uploaded to two locations:pub/vpn/addons/releases/<buildId>pub/vpn/addons/releases/latest
Reply in-thread in the
#releasedutychannel that the release has been shipped on Windows and Mac.
Linux Client#
The Linux client is shipped via automated tasks pushing to Google Artifact Registry and requires no involvement from releng.
Android and iOS Clients#
Releng is not involved with the mobile release process.