Skip to content

Commit

Permalink
Provisioning: Remove unnecessary Chrome instalation for WASM testing
Browse files Browse the repository at this point in the history
Task-number: QTQAINFRA-6465
Change-Id: Icec3933871800ef691361da10bd065b72b8c9bb2
Reviewed-by: Morten Johan Sørvig <[email protected]>
  • Loading branch information
Piotr Wierciński committed Sep 26, 2024
1 parent b2e115e commit ab8d3fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sudo zypper -nq install python-devel python-xml

# install python3
sudo zypper -nq install python311-base python311-devel python311-pip python311-virtualenv python311-wheel
python3.11 -m pip install selenium netifaces scache webdriver-manager
python3.11 -m pip install selenium netifaces scache
python3.11 -m pip install -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"

SetEnvVar "PYTHON3_EXECUTABLE" "/usr/bin/python3.11"
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,6 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"

# Webassembly auto tests run requires latest Chrome. Let's use the latest stable one which means we can't cache this
sudo zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome

# Add the Google public signing key
externalUrl="https://dl.google.com/linux/linux_signing_key.pub"
Download "$externalUrl" "/tmp/linux_signing_key.pub"
sudo rpm --import /tmp/linux_signing_key.pub

# Update the repo cache of zypper and install Chrome
sudo zypper ref -f
sudo zypper -nq install --no-confirm google-chrome-stable

# Install Chromedriver Chromium
sudo zypper -nq install chromedriver

chromeVersion="chrome-for-testing-115"
sha="7242ece1055bdbf503527f8e87c4b5da37c3c60e"
chromeUrl="https://ci-files01-hki.ci.qt.io/input/wasm/chrome/${chromeVersion}.tar.gz"
Expand Down

0 comments on commit ab8d3fa

Please sign in to comment.