Commit e3b5b2fb authored by Ben Hearsum's avatar Ben Hearsum Committed by rvandermeulen@mozilla.com
Browse files

Bug 1964060: fallback to github when tags can't be found on hg.m.o in update...

Bug 1964060: fallback to github when tags can't be found on hg.m.o in update verify config creator r=releng-reviewers,ahal a=RyanVM

Differential Revision: https://phabricator.services.mozilla.com/D247622
parent 5208b58c
Loading
Loading
Loading
Loading
+7 −1
Changes for testing/mozharness/scripts/release/update-verify-config-creator.py: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -475,7 +475,13 @@ class UpdateVerifyConfigCreator(BaseScript):
                path,
            ),
        )
        ret = self._retry_download(url, "WARNING")
        ret = self._retry_download(
            url, "WARNING", retry_config={"sleeptime": 5, "max_sleeptime": 5}
        )
        if not ret:
            git_url = f"https://raw.githubusercontent.com/mozilla-firefox/firefox/refs/tags/{rev}/{path}"
            ret = self._retry_download(git_url, "WARNING")

        return ret.read().strip().decode("utf-8")

    def gather_info(self):