Skip to content

Commit

Permalink
Revert "Downloads Chrome 84 and adds to PATH"
Browse files Browse the repository at this point in the history
This reverts commit 5a9d227.
  • Loading branch information
spalger committed Aug 26, 2020
1 parent 5a9d227 commit 1ca7651
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/dev/ci_setup/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ installNode=$1

dir="$(pwd)"
cacheDir="$HOME/.kibana"
downloads="$cacheDir/downloads"

RED='\033[0;31m'
C_RESET='\033[0m' # Reset color
Expand Down Expand Up @@ -134,26 +133,6 @@ export CYPRESS_DOWNLOAD_MIRROR="https://us-central1-elastic-kibana-184716.cloudf

export CHECKS_REPORTER_ACTIVE=false

###
### Download Chrome and install to this shell
###

# Available using the version information search at https://omahaproxy.appspot.com/
chromeVersion=84

mkdir -p "$downloads"

if [ -d $cacheDir/chrome-$chromeVersion/chrome-linux ]; then
echo " -- Chrome already downloaded and extracted"
else
mkdir -p "$cacheDir/chrome-$chromeVersion"

echo " -- Downloading and extracting Chrome"
curl -o "$downloads/chrome.zip" -L "https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/chrome_$chromeVersion.zip"
unzip -o "$downloads/chrome.zip" -d "$cacheDir/chrome-$chromeVersion"
export PATH="$cacheDir/chrome-$chromeVersion/chrome-linux:$PATH"
fi

# This is mainly for release-manager builds, which run in an environment that doesn't have Chrome installed
if [[ "$(which google-chrome-stable)" || "$(which google-chrome)" ]]; then
echo "Chrome detected, setting DETECT_CHROMEDRIVER_VERSION=true"
Expand Down

0 comments on commit 1ca7651

Please sign in to comment.