mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-24 16:05:36 +08:00
Provisioning: Remove unnecessary Chrome instalation for WASM testing
Task-number: QTQAINFRA-6465 Change-Id: Icec3933871800ef691361da10bd065b72b8c9bb2 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user