mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-10 04:58:08 +08:00
This test will check that release packages are from current release
version i.e. RHEL 10.0 "el10_0" and not from 10.1 "el10_1" or newer.
If newer release packages are found, script will output those packages
and exit with exit code 1 to ensure that release version stays locked.
Task-number: QTQAINFRA-7817
Task-number: QTQAINFRA-7614
Change-Id: I905dd2e72bf5dadc6f3f4b21aa7c09f06204d297
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
(cherry picked from commit d0cda5eb77)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
22 lines
768 B
Bash
Executable File
22 lines
768 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (C) 2026 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
|
|
|
|
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
|
|
|
|
# Storage installed RPM packages information
|
|
|
|
set -ex
|
|
|
|
# shellcheck disable=SC2129
|
|
source "${BASH_SOURCE%/*}/../common/linux/verify-release-packages.sh"
|
|
|
|
echo "*********************************************" >> ~/versions.txt
|
|
echo "***** All installed RPM packages *****" >> ~/versions.txt
|
|
rpm -q -a | sort >> ~/versions.txt
|
|
echo "*********************************************" >> ~/versions.txt
|
|
|
|
"$(dirname "$0")/../common/linux/version.sh"
|
|
|
|
verify_release_packages "10_[1-9]"
|