mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-27 07:06:33 +08:00
Provisioning: Make RHEL versions static
With new CI policy to always update packages when provisioning changes, but system & packages are tied to a specific RHEL release i.e. --set=9.2 This could reduce unwanted upgrades and make provisioning more stable. Task-number: QTQAINFRA-5658 Pick-to: 6.7 Change-Id: I898a793acf152ebb6e1f31c9b26a98f47145bd5a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
@@ -16,6 +16,11 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo subscription-manager config --rhsm.manage_repos=1
|
||||
sudo subscription-manager refresh
|
||||
|
||||
# List available RHEL versions and bind with correct one
|
||||
sudo subscription-manager release --list
|
||||
sudo subscription-manager release --set=9.0
|
||||
sudo yum clean all
|
||||
|
||||
# sudo yum config-manager --enable 'rhceph-4-tools-for-rhel-8-x86_64-rpms'
|
||||
sudo yum config-manager --enable 'codeready-builder-for-rhel-9-x86_64-rpms'
|
||||
sudo yum config-manager --enable 'rhel-9-for-x86_64-baseos-rpms'
|
||||
|
||||
@@ -7,6 +7,9 @@ set -ex
|
||||
# Remove update notifications and packagekit running in the background
|
||||
sudo yum -y remove PackageKit gnome-software
|
||||
|
||||
# CI: All platforms should have up-to-date packages when new provision is made
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
|
||||
Reference in New Issue
Block a user