Add windows provisioning script for CI network test

Provision and run the test script on Windows in warn-only mode.

Task-number: QTQAINFRA-6796
Change-Id: I06fdfc44109017deb5eaacd3811930b98f1a10f7
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
This commit is contained in:
Axel Spoerl
2025-03-26 10:59:15 +01:00
parent 8f51576951
commit 3145c3a5ed
6 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Copyright (C) 2025 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install and run network test
. "$PSScriptRoot\helpers.ps1"
$networkTestLocation = "C:\Program Files"
$url_public="https://ci-files01-hki.ci.qt.io/input/networktestapp/CiNetworkTest-MSVC-2022-Windows.tgz"
$sha1="543D4562159140D4E7223721AF15ED6E1998E5B5"
$download_location = "C:\Windows\Temp\network-test.tgz"
Write-Host "Fetching CiNetworkTest.exe..."
Download $url_public "" $download_location
Verify-Checksum $download_location $sha1
Extract-tar_gz $download_location $networkTestLocation
Remove $download_location
# start executable
$exePath = "$networkTestLocation\CiNetworkTest.exe"
& $exePath --warn-only

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\install-network-test.ps1"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\install-network-test.ps1"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\install-network-test.ps1"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\install-network-test.ps1"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\install-network-test.ps1"