Revert "[Ubuntu] hardcode chromium revision for 108.x (#6734)" (#6851)

This reverts commit fb484d9530.
This commit is contained in:
Mikhail Koliada
2022-12-29 15:28:19 +01:00
committed by GitHub
parent c92563577c
commit e9b59a540e

View File

@@ -14,13 +14,6 @@ function GetChromiumRevision {
URL="https://omahaproxy.appspot.com/deps.json?version=${CHROME_VERSION}" URL="https://omahaproxy.appspot.com/deps.json?version=${CHROME_VERSION}"
REVISION=$(curl -s $URL | jq -r '.chromium_base_position') REVISION=$(curl -s $URL | jq -r '.chromium_base_position')
# both 108.0.5359.98 and 108.0.5359.94 return old incorrect revision
# nothing to compare with, hardcode temporarily.
# see https://github.com/actions/runner-images/issues/6723
if [ $REVISION -eq "1016" ]; then
REVISION="1054926"
fi
# Some Google Chrome versions are based on Chromium revisions for which a (usually very old) Chromium release with the same number exist. So far this has heppened with 4 digits long Chromium revisions (1060, 1086). # Some Google Chrome versions are based on Chromium revisions for which a (usually very old) Chromium release with the same number exist. So far this has heppened with 4 digits long Chromium revisions (1060, 1086).
# Use the previous Chromium release when this happens to avoid downloading and installing very old Chromium releases that would break image build because of incompatibilities. # Use the previous Chromium release when this happens to avoid downloading and installing very old Chromium releases that would break image build because of incompatibilities.
# First reported with: https://github.com/actions/runner-images/issues/5256 # First reported with: https://github.com/actions/runner-images/issues/5256