From 426bab28a81a17dd5feb70e9558f6edba610d17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tony=20Saraj=C3=A4rvi?= Date: Wed, 23 Jun 2021 12:27:57 +0300 Subject: Replace SLES 15 SP2 with SP3 Task-number: QTQAINFRA-4498 Change-Id: I248a0ea19a7e2af59350ba66b55983c20927fff3 Reviewed-by: Qt CI Bot Reviewed-by: Heikki Halmet --- coin/platform_configs/cmake_platforms.yaml | 2 +- .../cmake_platforms_static_tests.yaml | 2 +- .../README_MANUAL_INSTALLATIONS | 47 -------- .../README_MANUAL_INSTALLATIONS | 56 ++++++++++ .../01-disable-btrfs-balance.sh | 9 -- .../01-disable-coredump.sh | 6 -- .../01-disable-fstrim_timer.sh | 7 -- .../01-disable_net_lso.sh | 6 -- .../01-install_telegraf.sh | 3 - .../01-systemsetup.sh | 73 ------------- .../02-disable-gnome-notifications.sh | 4 - .../02-disable-ntp.sh | 3 - .../02-enable-modules.sh | 17 --- .../02-zypperpackages.sh | 119 --------------------- .../08-libclang-v100-dyn.sh | 7 -- .../qtci-linux-SLES-15_SP2-x86_64/08-libclang.sh | 7 -- .../qtci-linux-SLES-15_SP2-x86_64/08-pythondev.sh | 102 ------------------ .../qtci-linux-SLES-15_SP2-x86_64/09-cmake.sh | 5 - .../qtci-linux-SLES-15_SP2-x86_64/20-sccache.sh | 3 - .../22-mqtt_broker.sh | 37 ------- .../30-install-conan.sh | 6 -- .../qtci-linux-SLES-15_SP2-x86_64/55-emsdk.sh | 39 ------- .../70-install_QemuGA.sh | 40 ------- .../qtci-linux-SLES-15_SP2-x86_64/90-squish.sh | 4 - .../99-unset-proxy.sh | 39 ------- .../qtci-linux-SLES-15_SP2-x86_64/99-version.sh | 48 --------- .../01-disable-btrfs-balance.sh | 9 ++ .../01-disable-coredump.sh | 6 ++ .../01-disable-fstrim_timer.sh | 7 ++ .../01-disable_net_lso.sh | 6 ++ .../01-install_telegraf.sh | 3 + .../01-systemsetup.sh | 73 +++++++++++++ .../02-disable-gnome-notifications.sh | 4 + .../02-disable-ntp.sh | 3 + .../02-enable-modules.sh | 17 +++ .../02-zypperpackages.sh | 119 +++++++++++++++++++++ .../08-libclang-v100-dyn.sh | 7 ++ .../qtci-linux-SLES-15_SP3-x86_64/08-libclang.sh | 7 ++ .../qtci-linux-SLES-15_SP3-x86_64/08-pythondev.sh | 102 ++++++++++++++++++ .../qtci-linux-SLES-15_SP3-x86_64/09-cmake.sh | 5 + .../qtci-linux-SLES-15_SP3-x86_64/20-sccache.sh | 3 + .../22-mqtt_broker.sh | 37 +++++++ .../30-install-conan.sh | 6 ++ .../qtci-linux-SLES-15_SP3-x86_64/55-emsdk.sh | 39 +++++++ .../70-install_QemuGA.sh | 40 +++++++ .../qtci-linux-SLES-15_SP3-x86_64/90-squish.sh | 4 + .../99-unset-proxy.sh | 39 +++++++ .../qtci-linux-SLES-15_SP3-x86_64/99-version.sh | 48 +++++++++ 48 files changed, 642 insertions(+), 633 deletions(-) delete mode 100644 coin/pre-provisioning/qtci-linux-SLES-15_SP2-x86_64/README_MANUAL_INSTALLATIONS create mode 100644 coin/pre-provisioning/qtci-linux-SLES-15_SP3-x86_64/README_MANUAL_INSTALLATIONS delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-btrfs-balance.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-coredump.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-fstrim_timer.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable_net_lso.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-install_telegraf.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-systemsetup.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-disable-gnome-notifications.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-disable-ntp.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-enable-modules.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-zypperpackages.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-libclang-v100-dyn.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-libclang.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-pythondev.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/09-cmake.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/20-sccache.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/22-mqtt_broker.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/30-install-conan.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/55-emsdk.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/70-install_QemuGA.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/90-squish.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/99-unset-proxy.sh delete mode 100755 coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/99-version.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-btrfs-balance.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-coredump.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-fstrim_timer.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable_net_lso.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-install_telegraf.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-systemsetup.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-disable-gnome-notifications.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-disable-ntp.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-enable-modules.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-zypperpackages.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-libclang-v100-dyn.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-libclang.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-pythondev.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/09-cmake.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/20-sccache.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/22-mqtt_broker.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/30-install-conan.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/55-emsdk.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/70-install_QemuGA.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/90-squish.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/99-unset-proxy.sh create mode 100755 coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/99-version.sh diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml index e870f615..3478d803 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -62,7 +62,7 @@ Configurations: Environment variables: ['NON_QTBASE_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache', 'TEST_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'] - - Template: 'qtci-linux-SLES-15_SP2-x86_64-50' + Template: 'qtci-linux-SLES-15_SP3-x86_64-51' Compiler: 'GCC' Features: ['Sccache', 'DisableTests'] Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DFEATURE_sql_mysql=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache' diff --git a/coin/platform_configs/cmake_platforms_static_tests.yaml b/coin/platform_configs/cmake_platforms_static_tests.yaml index df01c8ee..7526970c 100644 --- a/coin/platform_configs/cmake_platforms_static_tests.yaml +++ b/coin/platform_configs/cmake_platforms_static_tests.yaml @@ -1,7 +1,7 @@ Version: 2 Configurations: - - Template: 'qtci-linux-SLES-15_SP2-x86_64-50' + Template: 'qtci-linux-SLES-15_SP3-x86_64-51' Compiler: 'GCC' Features: ['Sccache', 'MinimalStaticTests'] Configure arguments: '-DQT_BUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=OFF -DFEATURE_sql_mysql=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache' diff --git a/coin/pre-provisioning/qtci-linux-SLES-15_SP2-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-SLES-15_SP2-x86_64/README_MANUAL_INSTALLATIONS deleted file mode 100644 index 849b2333..00000000 --- a/coin/pre-provisioning/qtci-linux-SLES-15_SP2-x86_64/README_MANUAL_INSTALLATIONS +++ /dev/null @@ -1,47 +0,0 @@ -### SUSE Linux Enterprise Desktop 15 SP2 ### - -Language: English (US) -Keyboard Layout: English (US) - -Available Extensions and Modules: - Basesystem Module - Desktop Applications Module - Python 2 Module - -Gnome Desktop (X11) - -Resolution 1280x800 - -# Settings -Notification Popups - disabled -LockScreen Notifications - disabled - -# Privacy -Screen Lock - Off - -# Power -Power Saving - Blank Screen - never - -# Add user to sudoers -Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt - -# Fetch and run coin-setup -Download http://coin/coin/binary/linux_386/coin-setup -sudo ./coin-setup - -# Add support for virtio driver -sudo echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf -sudo dracut -f - -# Add these to '/etc/polkit-default-privs.local' -org.freedesktop.udisks2.filesystem-mount yes -org.freedesktop.udisks2.filesystem-mount-other-seat yes -org.freedesktop.udisks2.filesystem-mount-system yes -org.freedesktop.login1.power-off yes -org.freedesktop.login1.power-off-ignore-inhibit yes -org.freedesktop.login1.power-off-multiple-sessions yes - -# Register product -# Add 'Available Extensions and Modules' -* Basesystem Module 15 SP2 x86_64 -* Server Applications Module 15 SP2 x86_64 diff --git a/coin/pre-provisioning/qtci-linux-SLES-15_SP3-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-SLES-15_SP3-x86_64/README_MANUAL_INSTALLATIONS new file mode 100644 index 00000000..6fe4943b --- /dev/null +++ b/coin/pre-provisioning/qtci-linux-SLES-15_SP3-x86_64/README_MANUAL_INSTALLATIONS @@ -0,0 +1,56 @@ +### SUSE Linux Enterprise Desktop 15 SP3 ### + +Language: English (US) +Keyboard Layout: English (US) + +Available Extensions and Modules: + Basesystem Module + Desktop Applications Module + Python 2 Module + Server Applications Module + +Gnome Desktop (X11) + +Enable SSH service +Disable Firewall + +Resolution 1280x800 + +# Settings +Notification Popups - disabled +LockScreen Notifications - disabled + +# Privacy +Screen Lock - Off + +# Power +Power Saving - Blank Screen - never + +# Add user to sudoers +Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt + +# Fetch and run coin-setup +Download http://coin/coin/binary/linux_386/coin-setup +sudo ./coin-setup + +# Add support for virtio driver +sudo echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf +sudo dracut -f + +# Add these to '/etc/polkit-default-privs.local' +org.freedesktop.udisks2.filesystem-mount yes +org.freedesktop.udisks2.filesystem-mount-other-seat yes +org.freedesktop.udisks2.filesystem-mount-system yes +org.freedesktop.login1.power-off yes +org.freedesktop.login1.power-off-ignore-inhibit yes +org.freedesktop.login1.power-off-multiple-sessions yes + +sudo /sbin/set_polkit_default_privs + +# Set how DHClient creates CID for compatibility with older DHCP servers +sudo sed -i 's/DHCLIENT_CREATE_CID=""/DHCLIENT_CREATE_CID="rfc2132"/' /etc/sysconfig/network/dhcp + +# Register product +# Add 'Available Extensions and Modules' +* Basesystem Module 15 SP3 x86_64 +* Server Applications Module 15 SP3 x86_64 diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-btrfs-balance.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-btrfs-balance.sh deleted file mode 100755 index a0126cb2..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-btrfs-balance.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -# Stops the balance job if one is running at the moment. This is a very expensive thing to run and causes major slow down. -sudo systemctl stop btrfs-balance.service - -# This will disable btrfs balance job scheduling. -sudo sed -i 's/BTRFS_BALANCE_PERIOD="weekly"/BTRFS_BALANCE_PERIOD="none"/g' /etc/sysconfig/btrfsmaintenance diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-coredump.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-coredump.sh deleted file mode 100755 index d078f9c7..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-coredump.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -sudo chkconfig kdump off -sudo sed -i 's/#Storage=external/Storage=none/g' /etc/systemd/coredump.conf diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-fstrim_timer.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-fstrim_timer.sh deleted file mode 100755 index 9fd06e72..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable-fstrim_timer.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -# This will disable fstrim. The fstrim.timer is scheduled to activate the fstrim.service -sudo systemctl stop fstrim.timer -sudo systemctl disable fstrim.timer diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable_net_lso.sh deleted file mode 100755 index f9b32149..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-disable_net_lso.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -sudo mkdir /etc/wicked/scripts -echo "ethtool -K \$2 tso off" | sudo tee -a /etc/wicked/scripts/net_tso_off -sudo chmod 744 /etc/wicked/scripts/net_tso_off -echo "PRE_UP_SCRIPT='wicked:/etc/wicked/scripts/net_tso_off'" | sudo tee -a /etc/sysconfig/network/ifcfg-eth0 diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-install_telegraf.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-install_telegraf.sh deleted file mode 100755 index 729f9003..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-install_telegraf.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -"$(dirname "$0")"/../common/unix/telegraf_install.sh diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-systemsetup.sh deleted file mode 100755 index 28f25728..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/01-systemsetup.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/usr/bin/env bash - -############################################################################# -## -## Copyright (C) 2019 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the provisioning scripts of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL21$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## GNU Lesser General Public License Usage -## Alternatively, this file may be used under the terms of the GNU Lesser -## General Public License version 2.1 or version 3 as published by the Free -## Software Foundation and appearing in the file LICENSE.LGPLv21 and -## LICENSE.LGPLv3 included in the packaging of this file. Please review the -## following information to ensure the GNU Lesser General Public License -## requirements will be met: https://www.gnu.org/licenses/lgpl.html and -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## As a special exception, The Qt Company gives you certain additional -## rights. These rights are described in The Qt Company LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## $QT_END_LICENSE$ -## -############################################################################# - -set -ex - -BASEDIR=$(dirname "$0") -# shellcheck source=../common/shared/network_test_server_ip.txt -source "$BASEDIR/../common/shared/network_test_server_ip.txt" -# shellcheck source=../common/unix/check_and_set_proxy.sh -source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh" - -echo "Set timezone to UTC." -sudo timedatectl set-timezone Etc/UTC -echo "Timeout for blanking the screen (0 = never)" -gsettings set org.gnome.desktop.session idle-delay 0 -echo "Prevents screen lock when screesaver goes active." -gsettings set org.gnome.desktop.screensaver lock-enabled false -gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true' - -sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub -sudo grub2-mkconfig -o /boot/grub2/grub.cfg - -echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts" -echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts -echo "Set DISPLAY" -echo 'export DISPLAY=":0"' >> ~/.bashrc - -sudo systemctl stop packagekit -sudo systemctl disable packagekit -sudo systemctl mask packagekit -while sudo fuser /usr/lib/packagekitd >/dev/null 2>&1 ; do - echo "Waiting for PackageKit to finish..." - sleep 5 -done -sudo zypper -nq remove gnome-software - -# shellcheck disable=SC2031 -if [ "$http_proxy" != "" ]; then - sudo sed -i 's/PROXY_ENABLED=\"no\"/PROXY_ENABLED=\"yes\"/' /etc/sysconfig/proxy - sudo sed -i "s|HTTP_PROXY=\".*\"|HTTP_PROXY=\"$proxy\"|" /etc/sysconfig/proxy -fi diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-disable-gnome-notifications.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-disable-gnome-notifications.sh deleted file mode 100755 index f38c9bab..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-disable-gnome-notifications.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -# shellcheck source=../common/linux/disable-notifications.sh -source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-disable-ntp.sh deleted file mode 100755 index 38707a8a..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-disable-ntp.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash -# shellcheck source=../common/linux/disable-ntp_linux.sh -source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-enable-modules.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-enable-modules.sh deleted file mode 100755 index dc1b33e7..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-enable-modules.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -sudo curl http://repo-clones.ci.qt.io:8081/tools/rmt-client-setup --output rmt-client-setup -sudo chmod 755 rmt-client-setup -sudo SUSEConnect --cleanup -sudo sh rmt-client-setup https://repo-clones.ci.qt.io:8082 --yes --fingerprint C9:4F:0B:81:DE:84:AF:F2:50:3E:89:B9:7F:BC:63:BB:A7:AC:BE:97 - -# Activate these modules -sudo SUSEConnect -p sle-module-basesystem/15.2/x86_64 -sudo SUSEConnect -p sle-module-server-applications/15.2/x86_64 -sudo SUSEConnect -p sle-module-desktop-applications/15.2/x86_64 -sudo SUSEConnect -p sle-module-development-tools/15.2/x86_64 -sudo SUSEConnect -p sle-module-python2/15.2/x86_64 - -sudo zypper lr -u diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-zypperpackages.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-zypperpackages.sh deleted file mode 100755 index 4606f8eb..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/02-zypperpackages.sh +++ /dev/null @@ -1,119 +0,0 @@ -#!/usr/bin/env bash - -############################################################################# -## -## Copyright (C) 2020 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the provisioning scripts of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL21$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## GNU Lesser General Public License Usage -## Alternatively, this file may be used under the terms of the GNU Lesser -## General Public License version 2.1 or version 3 as published by the Free -## Software Foundation and appearing in the file LICENSE.LGPLv21 and -## LICENSE.LGPLv3 included in the packaging of this file. Please review the -## following information to ensure the GNU Lesser General Public License -## requirements will be met: https://www.gnu.org/licenses/lgpl.html and -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## As a special exception, The Qt Company gives you certain additional -## rights. These rights are described in The Qt Company LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## $QT_END_LICENSE$ -## -############################################################################# - -set -ex - -sudo zypper -nq install elfutils binutils - -sudo zypper addrepo --no-gpgcheck https://download.opensuse.org/repositories/devel:gcc/SLE-15/devel:gcc.repo -sudo zypper refresh -sudo zypper -nq install --force-resolution gcc10 gcc10-c++ - -sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 1 \ - --slave /usr/bin/g++ g++ /usr/bin/g++-10 \ - --slave /usr/bin/cc cc /usr/bin/gcc-10 \ - --slave /usr/bin/c++ c++ /usr/bin/g++-10 - -sudo zypper -nq install git ninja make patch wget tar - -sudo zypper -nq install bison flex gperf \ - zlib-devel \ - libudev-devel \ - glib2-devel \ - libopenssl-devel \ - freetype2-devel \ - fontconfig-devel \ - sqlite3-devel \ - libxkbcommon-devel \ - libxkbcommon-x11-devel - -sudo zypper -nq install cmake - -sudo zypper -nq install p7zip - -# EGL support -sudo zypper -nq install Mesa-libEGL-devel Mesa-libGL-devel - -# gtk3 style for QtGui/QStyle -sudo zypper -nq install gtk3-devel - -# Xinput2 -sudo zypper -nq install libXi-devel postgresql10 postgresql10-devel mysql-devel mysql mysql-server - -# system provided XCB libraries -sudo zypper -nq install xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel \ - xcb-util-wm-devel xcb-util-renderutil-devel - -# ICU -sudo zypper -nq install libicu-devel libicu60_2 - -# qtwebengine -sudo zypper -nq install alsa-devel dbus-1-devel libxkbfile-devel libdrm-devel \ - libXcomposite-devel libXcursor-devel libXrandr-devel libXtst-devel \ - mozilla-nspr-devel mozilla-nss-devel glproto-devel libxshmfence-devel - -# qtwebkit -sudo zypper -nq install libxml2-devel libxslt-devel - -# GStreamer (qtwebkit and qtmultimedia), pulseaudio (qtmultimedia) -sudo zypper -nq install gstreamer-devel gstreamer-plugins-base-devel libpulse-devel - -# cups -sudo zypper -nq install cups-devel - -# speech-dispatcher -sudo zypper -nq install libspeechd-devel -#sudo sed -i 's:includedir=/usr/include:includedir=/usr/include/speech-dispatcher:' /usr/lib64/pkgconfig/speech-dispatcher.pc - -# ODBC support -sudo zypper -nq install unixODBC-devel unixODBC - -# sqlite support -sudo zypper -nq install sqlite3 sqlite3-devel - -# Java - needed by RTA jenkins -sudo zypper -nq install java - -# open-vm-tools requires update. Version in tier1 is broken and causes segfault on boot. -sudo zypper -nq update open-vm-tools - -# RTA tests requires python 2 xml modules -sudo zypper -nq install python-xml - -gccVersion="$(gcc --version |grep gcc |cut -b 17-23)" -echo "GCC = $gccVersion" >> versions.txt - -OpenSSLVersion="$(openssl version |cut -b 9-14)" -echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-libclang-v100-dyn.sh deleted file mode 100755 index b0080cbc..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-libclang-v100-dyn.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -BASEDIR=$(dirname "$0") -# shellcheck source=../common/unix/libclang-v100-dyn.sh -"$BASEDIR/../common/unix/libclang-v100-dyn.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-libclang.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-libclang.sh deleted file mode 100755 index bbe2b4b4..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-libclang.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -BASEDIR=$(dirname "$0") -# shellcheck source=../common/unix/libclang.sh -"$BASEDIR/../common/unix/libclang.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-pythondev.sh deleted file mode 100755 index 2da45c2b..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/08-pythondev.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/usr/bin/env bash - -############################################################################# -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the provisioning scripts of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL21$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## GNU Lesser General Public License Usage -## Alternatively, this file may be used under the terms of the GNU Lesser -## General Public License version 2.1 or version 3 as published by the Free -## Software Foundation and appearing in the file LICENSE.LGPLv21 and -## LICENSE.LGPLv3 included in the packaging of this file. Please review the -## following information to ensure the GNU Lesser General Public License -## requirements will be met: https://www.gnu.org/licenses/lgpl.html and -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## As a special exception, The Qt Company gives you certain additional -## rights. These rights are described in The Qt Company LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## $QT_END_LICENSE$ -## -############################################################################# - -# provides: python development libraries -# version: provided by default Linux distribution repository -# needed to build pyside - -set -ex - -PROVISIONING_DIR="$(dirname "$0")/../" -. "$PROVISIONING_DIR"/common/unix/common.sourced.sh -. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh - - -# Python 2 -$CMD_PKG_INSTALL python-devel - -# Selected installation instructions coming from: -# https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/build_python3.sh -export PACKAGE_NAME="python" -export PACKAGE_VERSION="3.7.6" -export PACKAGE_SHA=55a2cce72049f0794e9a11a84862e9039af9183603b78bc60d89539f82cf533f -( - - $CMD_PKG_INSTALL ncurses zlib-devel libffi-devel libopenssl-devel - - echo 'Configuration and Installation started' - - #Download Source code - DownloadURL \ - http://ci-files01-hki.intra.qt.io/input/python/Python-${PACKAGE_VERSION}.tar.xz \ - https://www.python.org/ftp/${PACKAGE_NAME}/${PACKAGE_VERSION}/Python-${PACKAGE_VERSION}.tar.xz \ - $PACKAGE_SHA - tar -xf "Python-${PACKAGE_VERSION}.tar.xz" - - #Configure and Build - cd "Python-${PACKAGE_VERSION}" - ./configure --prefix=/usr/local --exec-prefix=/usr/local - make - sudo make install - - echo 'Installed python successfully' - - #Cleanup - cd - - rm "Python-${PACKAGE_VERSION}.tar.xz" - - #Verify python installation - export PATH="/usr/local/bin:${PATH}" - if command -V "$PACKAGE_NAME"${PACKAGE_VERSION:0:1} >/dev/null - then - printf -- "%s installation completed. Please check the Usage to start the service.\n" "$PACKAGE_NAME" - else - printf -- "Error while installing %s, exiting with 127 \n" "$PACKAGE_NAME" - exit 127 - fi -) - - -python3 --version | fgrep "$PACKAGE_VERSION" - -pip3 install --user wheel -pip3 install --user virtualenv - -# Install all needed packages in a special wheel cache directory -pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt" - -# shellcheck source=../common/unix/SetEnvVar.sh -source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh" -SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/09-cmake.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/09-cmake.sh deleted file mode 100755 index 5eb53566..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/09-cmake.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -"$(dirname "$0")/../common/linux/cmake_linux.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/20-sccache.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/20-sccache.sh deleted file mode 100755 index b371d947..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/20-sccache.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -source "${BASH_SOURCE%/*}/../common/linux/sccache.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/22-mqtt_broker.sh deleted file mode 100755 index e677427f..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/22-mqtt_broker.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env bash - -############################################################################# -## -## Copyright (C) 2017 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the provisioning scripts of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL21$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## GNU Lesser General Public License Usage -## Alternatively, this file may be used under the terms of the GNU Lesser -## General Public License version 2.1 or version 3 as published by the Free -## Software Foundation and appearing in the file LICENSE.LGPLv21 and -## LICENSE.LGPLv3 included in the packaging of this file. Please review the -## following information to ensure the GNU Lesser General Public License -## requirements will be met: https://www.gnu.org/licenses/lgpl.html and -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## As a special exception, The Qt Company gives you certain additional -## rights. These rights are described in The Qt Company LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## $QT_END_LICENSE$ -## -############################################################################# - -# shellcheck source=../common/unix/mqtt_broker.sh -source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/30-install-conan.sh deleted file mode 100755 index b8820053..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/30-install-conan.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -BASEDIR=$(dirname "$0") -"$BASEDIR/../common/unix/install-conan.sh" "linux" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/55-emsdk.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/55-emsdk.sh deleted file mode 100755 index 44cf1b80..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/55-emsdk.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash - -############################################################################# -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the provisioning scripts of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL21$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## GNU Lesser General Public License Usage -## Alternatively, this file may be used under the terms of the GNU Lesser -## General Public License version 2.1 or version 3 as published by the Free -## Software Foundation and appearing in the file LICENSE.LGPLv21 and -## LICENSE.LGPLv3 included in the packaging of this file. Please review the -## following information to ensure the GNU Lesser General Public License -## requirements will be met: https://www.gnu.org/licenses/lgpl.html and -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## As a special exception, The Qt Company gives you certain additional -## rights. These rights are described in The Qt Company LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## $QT_END_LICENSE$ -## -############################################################################# - -set -ex - -# shellcheck source=../common/unix/emsdk.sh -source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/70-install_QemuGA.sh deleted file mode 100755 index ef37af1c..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/70-install_QemuGA.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env bash - -############################################################################# -## -## Copyright (C) 2020 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the provisioning scripts of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL21$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## GNU Lesser General Public License Usage -## Alternatively, this file may be used under the terms of the GNU Lesser -## General Public License version 2.1 or version 3 as published by the Free -## Software Foundation and appearing in the file LICENSE.LGPLv21 and -## LICENSE.LGPLv3 included in the packaging of this file. Please review the -## following information to ensure the GNU Lesser General Public License -## requirements will be met: https://www.gnu.org/licenses/lgpl.html and -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## As a special exception, The Qt Company gives you certain additional -## rights. These rights are described in The Qt Company LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## $QT_END_LICENSE$ -## -############################################################################# - -# This script installs QEMU Guest Agent - -set -ex - -sudo zypper -nq install qemu-guest-agent diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/90-squish.sh deleted file mode 100755 index e4281588..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/90-squish.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash -BASEDIR=$(dirname "$0") -"$BASEDIR/../common/unix/squishInstall.sh" - diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/99-unset-proxy.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/99-unset-proxy.sh deleted file mode 100755 index 5ff78055..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/99-unset-proxy.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash -############################################################################# -## -## Copyright (C) 2017 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the provisioning scripts of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL21$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## GNU Lesser General Public License Usage -## Alternatively, this file may be used under the terms of the GNU Lesser -## General Public License version 2.1 or version 3 as published by the Free -## Software Foundation and appearing in the file LICENSE.LGPLv21 and -## LICENSE.LGPLv3 included in the packaging of this file. Please review the -## following information to ensure the GNU Lesser General Public License -## requirements will be met: https://www.gnu.org/licenses/lgpl.html and -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## As a special exception, The Qt Company gives you certain additional -## rights. These rights are described in The Qt Company LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## $QT_END_LICENSE$ -## -############################################################################# - -set -ex - -# Having proxy set while running autotests makes them fail -sudo sed -i 's/PROXY_ENABLED=\"yes\"/PROXY_ENABLED=\"no\"/' /etc/sysconfig/proxy - diff --git a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/99-version.sh b/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/99-version.sh deleted file mode 100755 index 03565da2..00000000 --- a/coin/provisioning/qtci-linux-SLES-15_SP2-x86_64/99-version.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env bash - -############################################################################# -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the provisioning scripts of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL21$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see http://www.qt.io/terms-conditions. For further -## information use the contact form at http://www.qt.io/contact-us. -## -## GNU Lesser General Public License Usage -## Alternatively, this file may be used under the terms of the GNU Lesser -## General Public License version 2.1 or version 3 as published by the Free -## Software Foundation and appearing in the file LICENSE.LGPLv21 and -## LICENSE.LGPLv3 included in the packaging of this file. Please review the -## following information to ensure the GNU Lesser General Public License -## requirements will be met: https://www.gnu.org/licenses/lgpl.html and -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## As a special exception, The Qt Company gives you certain additional -## rights. These rights are described in The Qt Company LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## $QT_END_LICENSE$ -## -############################################################################# - -# 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 -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" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-btrfs-balance.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-btrfs-balance.sh new file mode 100755 index 00000000..a0126cb2 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-btrfs-balance.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -ex + +# Stops the balance job if one is running at the moment. This is a very expensive thing to run and causes major slow down. +sudo systemctl stop btrfs-balance.service + +# This will disable btrfs balance job scheduling. +sudo sed -i 's/BTRFS_BALANCE_PERIOD="weekly"/BTRFS_BALANCE_PERIOD="none"/g' /etc/sysconfig/btrfsmaintenance diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-coredump.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-coredump.sh new file mode 100755 index 00000000..d078f9c7 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-coredump.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -ex + +sudo chkconfig kdump off +sudo sed -i 's/#Storage=external/Storage=none/g' /etc/systemd/coredump.conf diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-fstrim_timer.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-fstrim_timer.sh new file mode 100755 index 00000000..9fd06e72 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable-fstrim_timer.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -ex + +# This will disable fstrim. The fstrim.timer is scheduled to activate the fstrim.service +sudo systemctl stop fstrim.timer +sudo systemctl disable fstrim.timer diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable_net_lso.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable_net_lso.sh new file mode 100755 index 00000000..f9b32149 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-disable_net_lso.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +sudo mkdir /etc/wicked/scripts +echo "ethtool -K \$2 tso off" | sudo tee -a /etc/wicked/scripts/net_tso_off +sudo chmod 744 /etc/wicked/scripts/net_tso_off +echo "PRE_UP_SCRIPT='wicked:/etc/wicked/scripts/net_tso_off'" | sudo tee -a /etc/sysconfig/network/ifcfg-eth0 diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-install_telegraf.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-install_telegraf.sh new file mode 100755 index 00000000..729f9003 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-install_telegraf.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +"$(dirname "$0")"/../common/unix/telegraf_install.sh diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-systemsetup.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-systemsetup.sh new file mode 100755 index 00000000..28f25728 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/01-systemsetup.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash + +############################################################################# +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +set -ex + +BASEDIR=$(dirname "$0") +# shellcheck source=../common/shared/network_test_server_ip.txt +source "$BASEDIR/../common/shared/network_test_server_ip.txt" +# shellcheck source=../common/unix/check_and_set_proxy.sh +source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh" + +echo "Set timezone to UTC." +sudo timedatectl set-timezone Etc/UTC +echo "Timeout for blanking the screen (0 = never)" +gsettings set org.gnome.desktop.session idle-delay 0 +echo "Prevents screen lock when screesaver goes active." +gsettings set org.gnome.desktop.screensaver lock-enabled false +gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true' + +sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub +sudo grub2-mkconfig -o /boot/grub2/grub.cfg + +echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts" +echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts +echo "Set DISPLAY" +echo 'export DISPLAY=":0"' >> ~/.bashrc + +sudo systemctl stop packagekit +sudo systemctl disable packagekit +sudo systemctl mask packagekit +while sudo fuser /usr/lib/packagekitd >/dev/null 2>&1 ; do + echo "Waiting for PackageKit to finish..." + sleep 5 +done +sudo zypper -nq remove gnome-software + +# shellcheck disable=SC2031 +if [ "$http_proxy" != "" ]; then + sudo sed -i 's/PROXY_ENABLED=\"no\"/PROXY_ENABLED=\"yes\"/' /etc/sysconfig/proxy + sudo sed -i "s|HTTP_PROXY=\".*\"|HTTP_PROXY=\"$proxy\"|" /etc/sysconfig/proxy +fi diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-disable-gnome-notifications.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-disable-gnome-notifications.sh new file mode 100755 index 00000000..f38c9bab --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-disable-gnome-notifications.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# shellcheck source=../common/linux/disable-notifications.sh +source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-disable-ntp.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-disable-ntp.sh new file mode 100755 index 00000000..38707a8a --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-disable-ntp.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +# shellcheck source=../common/linux/disable-ntp_linux.sh +source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-enable-modules.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-enable-modules.sh new file mode 100755 index 00000000..46322103 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-enable-modules.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +set -ex + +sudo curl http://repo-clones.ci.qt.io:8081/tools/rmt-client-setup --output rmt-client-setup +sudo chmod 755 rmt-client-setup +sudo SUSEConnect --cleanup +sudo sh rmt-client-setup https://repo-clones.ci.qt.io:8082 --yes --fingerprint C9:4F:0B:81:DE:84:AF:F2:50:3E:89:B9:7F:BC:63:BB:A7:AC:BE:97 + +# Activate these modules +sudo SUSEConnect -p sle-module-basesystem/15.3/x86_64 +sudo SUSEConnect -p sle-module-server-applications/15.3/x86_64 +sudo SUSEConnect -p sle-module-desktop-applications/15.3/x86_64 +sudo SUSEConnect -p sle-module-development-tools/15.3/x86_64 +sudo SUSEConnect -p sle-module-python2/15.3/x86_64 + +sudo zypper lr -u diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-zypperpackages.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-zypperpackages.sh new file mode 100755 index 00000000..42beba81 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/02-zypperpackages.sh @@ -0,0 +1,119 @@ +#!/usr/bin/env bash + +############################################################################# +## +## Copyright (C) 2020 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +set -ex + +sudo zypper -nq install elfutils binutils + +sudo zypper addrepo --no-gpgcheck https://download.opensuse.org/repositories/devel:gcc/SLE-15/devel:gcc.repo +sudo zypper refresh +sudo zypper -nq install --force-resolution gcc10 gcc10-c++ + +sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 1 \ + --slave /usr/bin/g++ g++ /usr/bin/g++-10 \ + --slave /usr/bin/cc cc /usr/bin/gcc-10 \ + --slave /usr/bin/c++ c++ /usr/bin/g++-10 + +sudo zypper -nq install git ninja make patch wget tar + +sudo zypper -nq install bison flex gperf \ + zlib-devel \ + libudev-devel \ + glib2-devel \ + libopenssl-devel \ + freetype2-devel \ + fontconfig-devel \ + sqlite3-devel \ + libxkbcommon-devel \ + libxkbcommon-x11-devel + +sudo zypper -nq install cmake + +sudo zypper -nq install p7zip + +# EGL support +sudo zypper -nq install Mesa-libEGL-devel Mesa-libGL-devel + +# gtk3 style for QtGui/QStyle +sudo zypper -nq install gtk3-devel + +# Xinput2 +sudo zypper -nq install libXi-devel postgresql13 postgresql13-devel mysql-devel mysql mysql-server + +# system provided XCB libraries +sudo zypper -nq install xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel \ + xcb-util-wm-devel xcb-util-renderutil-devel + +# ICU +sudo zypper -nq install libicu-devel libicu-suse65_1 + +# qtwebengine +sudo zypper -nq install alsa-devel dbus-1-devel libxkbfile-devel libdrm-devel \ + libXcomposite-devel libXcursor-devel libXrandr-devel libXtst-devel \ + mozilla-nspr-devel mozilla-nss-devel glproto-devel libxshmfence-devel + +# qtwebkit +sudo zypper -nq install libxml2-devel libxslt-devel + +# GStreamer (qtwebkit and qtmultimedia), pulseaudio (qtmultimedia) +sudo zypper -nq install gstreamer-devel gstreamer-plugins-base-devel libpulse-devel + +# cups +sudo zypper -nq install cups-devel + +# speech-dispatcher +sudo zypper -nq install libspeechd-devel +#sudo sed -i 's:includedir=/usr/include:includedir=/usr/include/speech-dispatcher:' /usr/lib64/pkgconfig/speech-dispatcher.pc + +# ODBC support +sudo zypper -nq install unixODBC-devel unixODBC + +# sqlite support +sudo zypper -nq install sqlite3 sqlite3-devel + +# Java - needed by RTA jenkins +sudo zypper -nq install java + +# open-vm-tools requires update. Version in tier1 is broken and causes segfault on boot. +sudo zypper -nq update open-vm-tools + +# RTA tests requires python 2 xml modules +sudo zypper -nq install python-xml + +gccVersion="$(gcc --version |grep gcc |cut -b 17-23)" +echo "GCC = $gccVersion" >> versions.txt + +OpenSSLVersion="$(openssl version |cut -b 9-14)" +echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-libclang-v100-dyn.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-libclang-v100-dyn.sh new file mode 100755 index 00000000..b0080cbc --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-libclang-v100-dyn.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -ex + +BASEDIR=$(dirname "$0") +# shellcheck source=../common/unix/libclang-v100-dyn.sh +"$BASEDIR/../common/unix/libclang-v100-dyn.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-libclang.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-libclang.sh new file mode 100755 index 00000000..bbe2b4b4 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-libclang.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -ex + +BASEDIR=$(dirname "$0") +# shellcheck source=../common/unix/libclang.sh +"$BASEDIR/../common/unix/libclang.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-pythondev.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-pythondev.sh new file mode 100755 index 00000000..2da45c2b --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/08-pythondev.sh @@ -0,0 +1,102 @@ +#!/usr/bin/env bash + +############################################################################# +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +# provides: python development libraries +# version: provided by default Linux distribution repository +# needed to build pyside + +set -ex + +PROVISIONING_DIR="$(dirname "$0")/../" +. "$PROVISIONING_DIR"/common/unix/common.sourced.sh +. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh + + +# Python 2 +$CMD_PKG_INSTALL python-devel + +# Selected installation instructions coming from: +# https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/build_python3.sh +export PACKAGE_NAME="python" +export PACKAGE_VERSION="3.7.6" +export PACKAGE_SHA=55a2cce72049f0794e9a11a84862e9039af9183603b78bc60d89539f82cf533f +( + + $CMD_PKG_INSTALL ncurses zlib-devel libffi-devel libopenssl-devel + + echo 'Configuration and Installation started' + + #Download Source code + DownloadURL \ + http://ci-files01-hki.intra.qt.io/input/python/Python-${PACKAGE_VERSION}.tar.xz \ + https://www.python.org/ftp/${PACKAGE_NAME}/${PACKAGE_VERSION}/Python-${PACKAGE_VERSION}.tar.xz \ + $PACKAGE_SHA + tar -xf "Python-${PACKAGE_VERSION}.tar.xz" + + #Configure and Build + cd "Python-${PACKAGE_VERSION}" + ./configure --prefix=/usr/local --exec-prefix=/usr/local + make + sudo make install + + echo 'Installed python successfully' + + #Cleanup + cd - + rm "Python-${PACKAGE_VERSION}.tar.xz" + + #Verify python installation + export PATH="/usr/local/bin:${PATH}" + if command -V "$PACKAGE_NAME"${PACKAGE_VERSION:0:1} >/dev/null + then + printf -- "%s installation completed. Please check the Usage to start the service.\n" "$PACKAGE_NAME" + else + printf -- "Error while installing %s, exiting with 127 \n" "$PACKAGE_NAME" + exit 127 + fi +) + + +python3 --version | fgrep "$PACKAGE_VERSION" + +pip3 install --user wheel +pip3 install --user virtualenv + +# Install all needed packages in a special wheel cache directory +pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt" + +# shellcheck source=../common/unix/SetEnvVar.sh +source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh" +SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/09-cmake.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/09-cmake.sh new file mode 100755 index 00000000..5eb53566 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/09-cmake.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -ex + +"$(dirname "$0")/../common/linux/cmake_linux.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/20-sccache.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/20-sccache.sh new file mode 100755 index 00000000..b371d947 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/20-sccache.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +source "${BASH_SOURCE%/*}/../common/linux/sccache.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/22-mqtt_broker.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/22-mqtt_broker.sh new file mode 100755 index 00000000..e677427f --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/22-mqtt_broker.sh @@ -0,0 +1,37 @@ +#!/usr/bin/env bash + +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +# shellcheck source=../common/unix/mqtt_broker.sh +source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/30-install-conan.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/30-install-conan.sh new file mode 100755 index 00000000..b8820053 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/30-install-conan.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -ex + +BASEDIR=$(dirname "$0") +"$BASEDIR/../common/unix/install-conan.sh" "linux" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/55-emsdk.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/55-emsdk.sh new file mode 100755 index 00000000..44cf1b80 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/55-emsdk.sh @@ -0,0 +1,39 @@ +#!/usr/bin/env bash + +############################################################################# +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +set -ex + +# shellcheck source=../common/unix/emsdk.sh +source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh" diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/70-install_QemuGA.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/70-install_QemuGA.sh new file mode 100755 index 00000000..ef37af1c --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/70-install_QemuGA.sh @@ -0,0 +1,40 @@ +#!/usr/bin/env bash + +############################################################################# +## +## Copyright (C) 2020 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +# This script installs QEMU Guest Agent + +set -ex + +sudo zypper -nq install qemu-guest-agent diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/90-squish.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/90-squish.sh new file mode 100755 index 00000000..e4281588 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/90-squish.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +BASEDIR=$(dirname "$0") +"$BASEDIR/../common/unix/squishInstall.sh" + diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/99-unset-proxy.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/99-unset-proxy.sh new file mode 100755 index 00000000..5ff78055 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/99-unset-proxy.sh @@ -0,0 +1,39 @@ +#!/usr/bin/env bash +############################################################################# +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +set -ex + +# Having proxy set while running autotests makes them fail +sudo sed -i 's/PROXY_ENABLED=\"yes\"/PROXY_ENABLED=\"no\"/' /etc/sysconfig/proxy + diff --git a/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/99-version.sh b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/99-version.sh new file mode 100755 index 00000000..03565da2 --- /dev/null +++ b/coin/provisioning/qtci-linux-SLES-15_SP3-x86_64/99-version.sh @@ -0,0 +1,48 @@ +#!/usr/bin/env bash + +############################################################################# +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the provisioning scripts of the Qt Toolkit. +## +## $QT_BEGIN_LICENSE:LGPL21$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see http://www.qt.io/terms-conditions. For further +## information use the contact form at http://www.qt.io/contact-us. +## +## GNU Lesser General Public License Usage +## Alternatively, this file may be used under the terms of the GNU Lesser +## General Public License version 2.1 or version 3 as published by the Free +## Software Foundation and appearing in the file LICENSE.LGPLv21 and +## LICENSE.LGPLv3 included in the packaging of this file. Please review the +## following information to ensure the GNU Lesser General Public License +## requirements will be met: https://www.gnu.org/licenses/lgpl.html and +## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +## +## As a special exception, The Qt Company gives you certain additional +## rights. These rights are described in The Qt Company LGPL Exception +## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +## +## $QT_END_LICENSE$ +## +############################################################################# + +# 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 +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" -- cgit v1.2.3