Bug 1598436 - add ESR bouncer checks to cron, r=aki

Fixes up ESR bouncer aliases now that ESR60 is EOL.
Adds check for latest products used by www.mozilla.org.
Enables the cron checks.
Fixes up a script error which meant we weren't checking all partial platforms in release automation.

Depends on D54656

Differential Revision: https://phabricator.services.mozilla.com/D54657

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nick Thomas 2019-11-27 02:53:21 +00:00
Родитель 8f795e290b
Коммит c7bf333201
5 изменённых файлов: 83 добавлений и 19 удалений

Просмотреть файл

@ -155,6 +155,7 @@ jobs:
run-on-projects:
- mozilla-beta
- mozilla-release
- mozilla-esr68
when:
by-project:
# No default branch
@ -164,6 +165,9 @@ jobs:
mozilla-release:
- {hour: 7, minute: 0}
- {hour: 19, minute: 0}
mozilla-esr68:
- {hour: 7, minute: 0}
- {hour: 19, minute: 0}
- name: periodic-update
job:

Просмотреть файл

@ -50,8 +50,8 @@ jobs:
by-project:
mozilla-beta: LATEST_FIREFOX_RELEASED_DEVEL_VERSION
mozilla-release: LATEST_FIREFOX_VERSION
mozilla-esr60: FIREFOX_ESR
mozilla-esr68: FIREFOX_ESR_NEXT
mozilla-esr68: FIREFOX_ESR
# mozilla-esrXX: FIREFOX_ESR_NEXT
default: LATEST_FIREFOX_DEVEL_VERSION
products-url: https://product-details.mozilla.org/1.0/firefox_versions.json
treeherder:

Просмотреть файл

@ -75,11 +75,14 @@ jobs:
firefox-latest: installer
firefox-stub: stub-installer
firefox-msi-latest-ssl: msi
mozilla-esr60:
mozilla-esr68:
# when there is one ESR branch both sets of aliases work
# when there are two ESR branches ...
# ... these always point to the older branch
firefox-esr-latest-ssl: installer-ssl
firefox-esr-latest: installer
firefox-esr-msi-latest-ssl: msi
mozilla-esr68:
# ... these point to the newer branch
firefox-esr-next-latest-ssl: installer-ssl
firefox-esr-next-latest: installer
firefox-esr-next-msi-latest-ssl: msi

Просмотреть файл

@ -1,28 +1,79 @@
# lint_ignore=E501
config = {
"products": {
# for installers, stubs, msi (ie not updates) ...
# products containing "latest" are for www.mozilla.org via cron-bouncer-check
# products using versions are for release automation via release-bouncer-check-firefox
"installer": {
"product-name": "Firefox-%(version)s",
"check_uptake": True,
# convert to firefox-esr-latest when ESR52 stops
"platforms": [
"linux",
"linux64",
"osx",
"win",
"win64",
"win64-aarch64",
],
},
"installer-latest": {
"product-name": "Firefox-esr-latest",
"check_uptake": True,
"platforms": [
"linux",
"linux64",
"osx",
"win",
"win64",
"win64-aarch64",
],
},
"installer-next-latest": {
"product-name": "Firefox-esr-next-latest",
"check_uptake": True,
"platforms": [
"linux",
"linux64",
"osx",
"win",
"win64",
"win64-aarch64",
],
},
"installer-ssl": {
"product-name": "Firefox-%(version)s-SSL",
"check_uptake": True,
# convert to firefox-esr-latest-ssl when ESR52 stops
"platforms": [
"linux",
"linux64",
"osx",
"win",
"win64",
"win64-aarch64",
],
},
"installer-latest-ssl": {
"product-name": "Firefox-esr-latest-SSL",
"check_uptake": True,
"platforms": [
"linux",
"linux64",
"osx",
"win",
"win64",
"win64-aarch64",
],
},
"installer-next-latest-ssl": {
"product-name": "Firefox-esr-next-latest-SSL",
"check_uptake": True,
"platforms": [
"linux",
"linux64",
"osx",
"win",
"win64",
"win64-aarch64",
],
},
"msi": {
@ -33,6 +84,22 @@ config = {
"win64",
],
},
"msi-latest": {
"product-name": "Firefox-esr-msi-latest-SSL",
"check_uptake": True,
"platforms": [
"win",
"win64",
],
},
"msi-next-latest": {
"product-name": "Firefox-esr-next-msi-latest-SSL",
"check_uptake": True,
"platforms": [
"win",
"win64",
],
},
"complete-mar": {
"product-name": "Firefox-%(version)s-Complete",
"check_uptake": True,
@ -42,18 +109,7 @@ config = {
"osx",
"win",
"win64",
],
},
"complete-mar-bz2": {
"product-name": "Firefox-%(version)s-Complete-bz2",
"check_uptake": True,
"platforms": [
"linux",
"linux64",
"osx",
"win",
"win64",
"win64-aarch64",
# add "win64-aarch64" when ESR60 dropped
],
},
},
@ -67,6 +123,7 @@ config = {
"osx",
"win",
"win64",
# add "win64-aarch64" when ESR60 dropped
],
},
},

Просмотреть файл

@ -150,7 +150,7 @@ class BouncerCheck(BaseScript):
for prev_version in self.config.get("prev_versions", []):
product_name = product["product-name"] % {"version": self.config["version"],
"prev_version": prev_version}
for bouner_platform in product["platforms"]:
for bouncer_platform in product["platforms"]:
for locale in self.config["locales"]:
url = BOUNCER_URL_PATTERN.format(
bouncer_prefix=self.config["bouncer_prefix"],