Compare commits

...

4 Commits
6.10.3 ... 6.10

Author SHA1 Message Date
Nils Petter Skålerud
065b7072f6 Windows, OpenSSH: Include .zip file extension when downloading
This script currently downloads the .zip file from the web into a local
file with no file extension. This can cause issues for 7-zip when
unarchiving. This patch fixes this.

As a drive-by, we improve the names of some variables.

Pick-to: 6.8
Change-Id: Icb1b24646b54d75d825764d30a268fa6e55d0183
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit 99b67a8f3f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3897e68506)
2026-03-23 19:59:15 +00:00
Matti Paaso
fb335d810c Provisioning: Update Axivion bauhaus-suite tool
Update tool version from 7.11.1 into 7.11.3

Task-number: QTQAINFRA-7727
Pick-to: 6.8
Change-Id: Ic91dbe06c81fc2086e89a715bb1514581ff08620
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 68c8815a01)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit a9fee15f5a)
2026-03-23 19:59:15 +00:00
Qt Submodule Update Bot
068516348c Update submodules on '6.10 in qt/qt5'
Change-Id: I8e801e4c5a67d74a6895e491221babd763f86c39
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2026-03-03 12:32:59 +00:00
Qt Submodule Update Bot
a56f9a4b64 Update submodules on '6.10 in qt/qt5'
Change-Id: I815f231ccecb74fd4817eb0ac39149fa985d272d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2026-03-02 17:47:51 +00:00
45 changed files with 65 additions and 58 deletions

View File

@@ -10,17 +10,17 @@ $temp = "$env:tmp"
$cpu_arch = Get-CpuArchitecture $cpu_arch = Get-CpuArchitecture
switch ($cpu_arch) { switch ($cpu_arch) {
arm64 { arm64 {
$zipPackage = "OpenSSH-ARM64" $base_file_name = "OpenSSH-ARM64"
$sha1 = "ca3e8f44a550b7ae71c8e122acd4ed905d66feb0" $sha1 = "ca3e8f44a550b7ae71c8e122acd4ed905d66feb0"
Break Break
} }
x64 { x64 {
$zipPackage = "OpenSSH-Win64" $base_file_name = "OpenSSH-Win64"
$sha1 = "1397d40d789ae0911b3cc818b9dcd9321fed529b" $sha1 = "1397d40d789ae0911b3cc818b9dcd9321fed529b"
Break Break
} }
x86 { x86 {
$zipPackage = "OpenSSH-Win32" $base_file_name = "OpenSSH-Win32"
$sha1 = "4642C62F72C108C411E27CE282A863791B63329B" $sha1 = "4642C62F72C108C411E27CE282A863791B63329B"
Break Break
} }
@@ -29,20 +29,27 @@ switch ($cpu_arch) {
} }
} }
Write-Host "Fetching $zipPackage $version..." Write-Host "Fetching $base_file_name $version..."
$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/openssh/" + $version + "/" + $zipPackage + ".zip" $url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/openssh/$version/$base_file_name.zip"
$url_official = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/" + $version + "/" + $zipPackage + ".zip" $url_official = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/$version/$base_file_name.zip"
Download $url_official $url_cache "$temp\$zipPackage" $output_zip_file = "$temp\$base_file_name.zip"
Verify-Checksum "$temp\$zipPackage" $sha1 Download $url_official $url_cache $output_zip_file
Verify-Checksum $output_zip_file $sha1
Write-Host "Extracting the package" Write-Host "Extracting the package"
Extract-7Zip "$temp\$zipPackage" C:\"Program Files" Extract-7Zip $output_zip_file "C:\Program Files"
# We assume the incoming zip contains exactly one directory, named the same
# as the base file name of th zip.
$output_dir = "C:\Program Files\$base_file_name"
if (-not (Test-Path $output_dir -PathType Container)) {
throw "Error. Expected output directory '$output_dir' does not exist."
}
Write-Host "Installing $zipPackage $version..." Write-Host "Installing $base_file_name $version..."
$path = "C:\Program Files\" + $zipPackage + "\install-sshd.ps1" $install_script = "$output_dir\install-sshd.ps1"
# Installation done as shown at https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH # Installation done as shown at https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH
powershell.exe -ExecutionPolicy Bypass -File $path powershell.exe -ExecutionPolicy Bypass -File $install_script
netsh advfirewall firewall add rule name=sshd dir=in action=allow protocol=TCP localport=22 netsh advfirewall firewall add rule name=sshd dir=in action=allow protocol=TCP localport=22
net start sshd net start sshd
Set-Service sshd -StartupType Automatic Set-Service sshd -StartupType Automatic

View File

@@ -22,10 +22,10 @@ DownloadAndExtract () {
# Axivion Bauhaus Suite # Axivion Bauhaus Suite
version="7.11.1" version="7.11.3"
sourceFile="http://ci-files01-hki.ci.qt.io/input/axivion/bauhaus-suite-$version-x86_64-gnu_linux.tar.gz" sourceFile="http://ci-files01-hki.ci.qt.io/input/axivion/bauhaus-suite-$version-x86_64-gnu_linux.tar.gz"
targetFile="bauhaus-suite.tar.gz" targetFile="bauhaus-suite.tar.gz"
sha1="5ec7bfacca1827dbf1fc70dcef4d9bfd842396aa" sha1="8ca558908b38ca99500b7e0687609a1531b19121"
cd "$HOME" cd "$HOME"
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" DownloadAndExtract "$sourceFile" "$sha1" "$targetFile"

View File

@@ -22,10 +22,10 @@ DownloadAndExtract () {
# Axivion Bauhaus Suite # Axivion Bauhaus Suite
version="7.11.1" version="7.11.3"
sourceFile="http://ci-files01-hki.ci.qt.io/input/axivion/bauhaus-suite-$version-x86_64-gnu_linux.tar.gz" sourceFile="http://ci-files01-hki.ci.qt.io/input/axivion/bauhaus-suite-$version-x86_64-gnu_linux.tar.gz"
targetFile="bauhaus-suite.tar.gz" targetFile="bauhaus-suite.tar.gz"
sha1="5ec7bfacca1827dbf1fc70dcef4d9bfd842396aa" sha1="8ca558908b38ca99500b7e0687609a1531b19121"
cd "$HOME" cd "$HOME"
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" DownloadAndExtract "$sourceFile" "$sha1" "$targetFile"

2
qt3d

Submodule qt3d updated: c4bd9ba7ce...c20077e6b4

2
qtbase

Submodule qtbase updated: f0619bb5a5...c9203d9e04

2
qtcoap

Submodule qtcoap updated: 04a7ae2fae...0b053f5aae

2
qtdoc

Submodule qtdoc updated: 0b40dc84da...380ae064d0

2
qtgrpc

Submodule qtgrpc updated: 4e759a2811...6bb241e780

2
qtmqtt

Submodule qtmqtt updated: d617053c66...a684c2a553

Submodule qtopcua updated: 9444069460...3ad3488075

Submodule qtscxml updated: d2ae42475b...2f4074d330

2
qtsvg

Submodule qtsvg updated: 7977c475dd...a0291e98b0

Submodule qttools updated: e1ff9d9852...4b1a5798e4