Files
qt5/coin/provisioning/qtci-linux-openSUSE-15.6-x86_64/80-install-chrome.sh
Tero Heikkinen a47330eca9 Add OpenSUSE 15.6 with non-blocking tests in CI
OpenSUSE 15.6 and SLES 15 SP6 seem to need direct configuration
for git and curl to take CA certificates into use. [CI Platforms]

Includes fix to install gstreamer h264 codec
(amending 58e0090020)

Task-number: QTQAINFRA-6740
Task-number: QTQAINFRA-6739
Change-Id: I0d92ef50527564d2f048174777e20d1611aaf4d2
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-11-22 09:53:37 +02:00

24 lines
826 B
Bash

#!/usr/bin/env bash
# Copyright (C) 2024 The Qt Company Ltd.
set -ex
# This script will install up-to-date google Chrome needed for Webassembly auto tests.
# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
# shellcheck source=../common/unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
chromeVersion="chrome-for-testing-115"
sha="7242ece1055bdbf503527f8e87c4b5da37c3c60e"
chromeUrl="https://ci-files01-hki.ci.qt.io/input/wasm/chrome/${chromeVersion}.tar.gz"
target="/tmp/chrome-for-testing-115.tar.gz"
DownloadURL "$chromeUrl" "" "$sha" "$target"
sudo tar -xzf "$target" -C "${HOME}"
sudo rm -f "$target"
SetEnvVar "BROWSER_FOR_WASM" "${HOME}/${chromeVersion}/chrome"
SetEnvVar "CHROMEDRIVER_PATH" "${HOME}/${chromeVersion}/chromedriver"