diff --git a/.circleci/config.yml b/.circleci/config.yml index 5beb140025..d5717a7e1c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,13 +15,7 @@ jobs: xlarge working_directory: ~/remix-project steps: - - browser-tools/install-browser-tools: - install-firefox: false - install-chrome: true - install-chromedriver: false - install-geckodriver: false - checkout - - restore_cache: keys: - v1-deps-{{ checksum "yarn.lock" }} @@ -149,10 +143,9 @@ jobs: steps: - browser-tools/install-browser-tools: install-firefox: false - install-chrome: false + install-chrome: true install-chromedriver: false install-geckodriver: false - - install-chrome-custom-linux - install-chromedriver-custom-linux - run: google-chrome --version - run: chromedriver --version @@ -404,30 +397,3 @@ commands: echo Done chromedriver -v - install-chrome-custom-linux: - description: Custom script to install chrome with better version support for linux - steps: - - run: - name: install-custom-chrome-linux - command: | - CHROME_URL=$(curl -s 'https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json' | jq '.channels.Stable.downloads.chrome[] | select(.platform == "linux64") | .url' | tr -d '"') - echo $CHROME_URL - ZIPFILEPATH="/tmp/chrome.zip" - echo "Downloading from $CHROME_URL" - curl -f --silent $CHROME_URL > "$ZIPFILEPATH" - - BINFILEPATH="$HOME/bin/chrome-linux" - echo "Extracting to $BINFILEPATH" - unzip -p "$ZIPFILEPATH" chrome-linux64/chrome > "$BINFILEPATH" - - echo Setting execute flag - chmod +x "$BINFILEPATH" - - echo Updating symlink - ln -nfs "$BINFILEPATH" ~/bin/google-chrome - - echo Removing ZIP file - rm "$ZIPFILEPATH" - - echo Done - google-chrome --version \ No newline at end of file