Bug 1608135 [wpt PR 21110] - [Azure Pipelines] uninstall the google-chrome and chromedriver casks, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Wed, 15 Jan 2020 11:46:04 +0000
changeset 510723 a3fbf5ee3489772517493a556f88ea851436f6c9
parent 510722 7db21ab8b633b24b6a06c0886c8205488f72e35d
child 510724 ce3d2be085cbcf04d28fc1404482f2ad2bbd849f
push id105487
push userwptsync@mozilla.com
push dateMon, 20 Jan 2020 13:40:04 +0000
treeherderautoland@73a4fc3b5869 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1608135, 21110
milestone74.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1608135 [wpt PR 21110] - [Azure Pipelines] uninstall the google-chrome and chromedriver casks, a=testonly Automatic update from web-platform-tests [Azure Pipelines] uninstall the google-chrome and chromedriver casks (#21110) These are now installed by default and conflict with our setup: https://github.com/microsoft/azure-pipelines-image-generation/blob/master/images/macos/macos-10.14-Readme.md#browsers -- wpt-commits: a1e9bd958b1ab360554cc526452469dfe0678399 wpt-pr: 21110
testing/web-platform/tests/tools/ci/azure/install_chrome.yml
--- a/testing/web-platform/tests/tools/ci/azure/install_chrome.yml
+++ b/testing/web-platform/tests/tools/ci/azure/install_chrome.yml
@@ -1,6 +1,9 @@
 steps:
-# This is equivalent to `Homebrew/homebrew-cask-versions/google-chrome-dev`,
-# but the raw URL is used to bypass caching.
-- script: HOMEBREW_NO_AUTO_UPDATE=1 brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask-versions/master/Casks/google-chrome-dev.rb
+# The conflicting google-chrome and chromedriver casks are first uninstalled.
+# The raw google-chrome-dev cask URL is used to bypass caching.
+- script: |
+    HOMEBREW_NO_AUTO_UPDATE=1 brew cask uninstall google-chrome
+    HOMEBREW_NO_AUTO_UPDATE=1 brew cask uninstall chromedriver
+    HOMEBREW_NO_AUTO_UPDATE=1 brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask-versions/master/Casks/google-chrome-dev.rb
   displayName: 'Install Chrome Dev'
   condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))