From 966c64c48ebc77fc4d0d7834aefa3249cd380c61 Mon Sep 17 00:00:00 2001 From: junglebus <22320807+junglebus@users.noreply.github.com> Date: Sat, 22 Feb 2020 06:03:15 +1100 Subject: [PATCH] No longer manually install ChromeDriver (#7271) --- azure-pipelines.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad9173260..41494306a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -321,24 +321,6 @@ stages: if [[ "$(artifactName)" == *"macOS"* ]]; then sudo ./install_service_macos; fi if [[ "$(artifactName)" == *"LinuxAMDx64"* ]]; then sudo ./install_service_systemd.sh; fi - #Remove this task once ChromeDriver is deployed to Ubuntu image https://github.com/actions/virtual-environments/issues/9 - - task: Bash@3 - displayName: Install ChromeDriver (Linux and Mono) - condition: and(succeeded(), eq(variables['imageName'], 'ubuntu-latest')) - inputs: - targetType: inline - script: | - CHROME_VERSION=$(google-chrome --version | cut -f 3 -d ' ' | cut -d '.' -f 1) \ - && CHROMEDRIVER_RELEASE=$(curl --location --fail --retry 3 http://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROME_VERSION}) \ - && curl --silent --show-error --location --fail --retry 3 --output /tmp/chromedriver_linux64.zip "http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_RELEASE/chromedriver_linux64.zip" \ - && cd /tmp \ - && unzip chromedriver_linux64.zip \ - && rm -rf chromedriver_linux64.zip \ - && sudo mv chromedriver /usr/local/bin/chromedriver \ - && sudo chmod +x /usr/local/bin/chromedriver \ - && chromedriver --version - echo "##vso[task.setvariable variable=CHROMEWEBDRIVER]/usr/local/bin" - - task: UseDotNet@2 displayName: Install .NET Core SDK inputs: