For this (take 2) test I set it up to support a switch from ANY OSX (on beta versions) to explicitly
esr-localtest in order to make the manual work simpler.
The attached mar was created to support Linux and Windows as well if it was so desired to test there (for 78 we're not doing that, but leaves us breadcrumbs on how to do this if we desupport another class of OS's) -- I also did NOT build this mar in a way that supports Bug 1644184 - because beta 8 is the first beta that supports a distribution.ini without
about (otherwise the distribution.ini is invalid) and I wanted to double check that the attribution information is reported out to balrog on update.
In order to test I setup a github repo to serve update xml out of, because Balrog itself will not tolerate Bugzilla as a venue to serve binaries, and getting this exact mar hosted someplace supported wasn't worth it, since we can't use this exact one for the formal release population.
Steps to test:
- First download (and install) 77.0b8
- Then enable enterprise policies:
sudo defaults write /Library/Preferences/org.mozilla.firefox EnterprisePoliciesEnabled -bool TRUE
- Then point updates at my github repo:
sudo defaults write /Library/Preferences/org.mozilla.firefox AppUpdateURL -string "https://github.com/Callek/firefox-update-osx-test/raw/master/update/6/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/os_version/system_capabilities/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml"
- Launch firefox with a brand new profile
- Check for updates [should get a small instant update]
- Restart Firefox
- Exit Firefox
- Disable enterprise policies/that policy:
sudo defaults delete /Library/Preferences/org.mozilla.firefox AppUpdateURL and
sudo defaults delete /Library/Preferences/org.mozilla.firefox EnterprisePoliciesEnabled
- Launch Firefox with same profile again
- Perform two consecutive check for updates with restarts, first should
be normal and get you 78.0b5 second should show the distribution info in
the about dialog and get you 78.0b8
Once we have a 78.0buildN off ESR we can test a real/formal mar. And once the above is validated I can create that formal mar and have it properly hosted. The next test will be restricted to the OSX Versions and not require any manual Enterprise Policy setting.