From cebd09e9ea1bfe06a711227b710b2a5ee4798149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aku=20Pietik=C3=A4inen?= Date: Wed, 18 Oct 2023 16:24:08 +0300 Subject: [PATCH] Update webos tier 1 image Increase Ubuntu 20.04 disk size to 1 TB to fix webos build. Change-Id: Id1290bf7745f500097341bd8476dc5be45b69b0d Task-number: QTQAINFRA-5898 Reviewed-by: Toni Saario --- coin/platform_configs/webos.yaml | 18 +++--- .../README_MANUAL_INSTALLATIONS | 59 +++++++++++++++++++ 2 files changed, 68 insertions(+), 9 deletions(-) create mode 100644 coin/pre-provisioning/qtci-linux-Ubuntu-20.04-x86_64/README_MANUAL_INSTALLATIONS diff --git a/coin/platform_configs/webos.yaml b/coin/platform_configs/webos.yaml index 200a91b7..e0f285fe 100644 --- a/coin/platform_configs/webos.yaml +++ b/coin/platform_configs/webos.yaml @@ -2,52 +2,52 @@ Version: 2 Module only: true Configurations: - Id: 'webos-emulator-build' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['DoNotRunTests'] Environment variables: ['BUILD_EMULATOR=enabled'] - Id: 'webos-emulator-qtbase-tests' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['TestOnly'] Environment variables: ['MODULE=qtbase'] Platform dependency: 'webos-emulator-build' - Id: 'webos-emulator-qtdeclarative-tests' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['TestOnly'] Environment variables: ['MODULE=qtdeclarative'] Platform dependency: 'webos-emulator-build' - Id: 'webos-emulator-qtwayland-tests' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['TestOnly'] Environment variables: ['MODULE=qtwayland'] Platform dependency: 'webos-emulator-build' - Id: 'webos-emulator-qtshadertools-tests' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['TestOnly'] Environment variables: ['MODULE=qtshadertools'] Platform dependency: 'webos-emulator-build' - Id: 'webos-emulator-qtgraphicaleffects-tests' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['TestOnly'] Environment variables: ['MODULE=qtgraphicaleffects'] Platform dependency: 'webos-emulator-build' - Id: 'webos-raspberry-build' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['DoNotRunTests'] Environment variables: ['BUILD_RASPBERRY=enabled'] - Id: 'webos-ndk-installer-build' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['DoNotRunTests'] Environment variables: ['BUILD_NDK_INSTALLER=enabled'] - Id: 'webos-ndk-install' - Template: 'qtci-linux-Ubuntu-20.04-x86_64-51' + Template: 'qtci-linux-Ubuntu-20.04-x86_64-52' Compiler: 'GCC' Features: ['TestOnly'] Platform dependency: ['webos-raspberry-build', 'webos-ndk-installer-build'] diff --git a/coin/pre-provisioning/qtci-linux-Ubuntu-20.04-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-linux-Ubuntu-20.04-x86_64/README_MANUAL_INSTALLATIONS new file mode 100644 index 00000000..7501b3e3 --- /dev/null +++ b/coin/pre-provisioning/qtci-linux-Ubuntu-20.04-x86_64/README_MANUAL_INSTALLATIONS @@ -0,0 +1,59 @@ +### Ubuntu 20.04 ### +Hard Disk: 1TB + +Language: English (United States) +Time & Date: Etc/Coordinated Universal Time +Software Selection: Desktop image, minimal install + +Language: English (US) +Typing: English (US) +Privacy: Location Services: OFF +Connect Your Online Accounts: Skip + + +# Configure Settings + Notifications: + * Notification Popups: OFF + * Lock Screen Notifications: OFF + Privacy: + * Screen Lock: OFF + * File History & Rubbish Bin: + * File History: Off + * Diagnostics: + * Send error reports to Canonical: Never + Power: + * Blank screen: Never + * Automatic suspend: Off + Appearance: + * Auto-hide the dock: Off + Devices: + * Displays: Resolution 1280 x 800 + Details: + * Time Zone: UTC + * run "sudo timedatectl set-timezone UTC" + * Users: Automatic login on + + Software & Updates: + * Updates: + * Subscribed to: Security updates only + * Automatically check for updates: Never + * Notify me of a new Ubuntu version: Never + +# Add user to sudoers +Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt + +Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub +run 'sudo grub2-mkconfig' + +# Install ssh server +run 'sudo apt install openssh-server' + +# Disable firewall +run 'sudo ufw disable' + +# Fetch and run coin-setup (in Opennebula) +Download http://coin/coin/binary/linux_amd64/coin-setup +run './coin-setup' + +Reboot +