aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-linux-RHEL-7.4-x86_64
Commit message (Collapse)AuthorAgeFilesLines
* Provisioning: Relocate Libclang and correct sha1Heikki Halmet2018-08-161-1/+1
| | | | | | | | | | | | | Sha1's were changed because Liclang versions were rebuilded. To prevent this Libclang versions are now copied to ci-files01-hki which won't be affected if someone will rebuild libclang versions to download.qt.io. This will also reduce download time Task-number: QTQAINFRA-2156 Change-Id: I9164441cb876ee687db4878d06ba1c02cde601bb Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Revert "Install Python 2.7.13 to RHEL with pip"Simo Fält2018-04-181-5/+6
| | | | | | | | | | | This reverts commit 794913dde77e9a2918353894a33d03b16e6927c4, which seems to break pyside builds. Instead we install python-pip package from the EPEL repository. Change-Id: Ic84680b0b0d6950d389bb42a6add18c83256f00f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit 6a06c4b4fe7fad6595252ac035fc0c05627b62c6) Reviewed-by: Simo Fält <simo.falt@qt.io>
* Remove updating of RHEL 7.4 system during each provisioningTony Sarajärvi2018-04-181-1/+0
| | | | | | | | | | | | | Yum update doesn't only fetch the repository data. It also runs a distro upgrade. So if something gets updated that isn't compatible with us, it breaks. It also slows down the provisioning a lot. Change-Id: I27136bc572fbce5410b82ff9574cf85bf89e3100 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit daeaec9b3cf8125256b01f16c77b67383ff6f301) Reviewed-by: Liang Qi <liang.qi@qt.io>
* Install Python 2.7.13 to RHEL with pipTony Sarajärvi2018-04-181-2/+5
| | | | | | | | | | | | | System's default Python is 2.7.5 and doesn't come with pip at all. To install its pip, it would require us to enable the EPEL repository and install it from there. The repos we use already include Python 2.7.13. If we install that we get pip as well. Change-Id: I083a970697a962ddb301616695c2cf419f1229f8 Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit 794913dde77e9a2918353894a33d03b16e6927c4)
* Remove duplicate python-devel provisioning from RHEL 7.xTony Sarajärvi2018-04-181-1/+0
| | | | | | Change-Id: I445135d675fa6b5cb305f6aadf5b754ab248a1ff Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit f1eca9bbff35b4640c4779fb4b5cad25c33f7de0)
* Update Python 3.4 to 3.6 in RHEL 7.xFrederik Gladhorn2018-04-182-54/+5
| | | | | | | | | Also install Python 3 through system packages instead of some weird scripts. Change-Id: Ie22e126a422bd6efe9b3030d5044f4c196894ca8 Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit 9ae91ae3f87fb3e3ad030410c4d313cb217f530b)
* Install RHEL EPEL only onceRainer Keller2018-04-183-21/+50
| | | | | | | | | | Installing twice will fail when preventing the +e injection bug when fixing the try-catch issue. Change-Id: I26a1b9fa235c44fe933f2f29016a80f57d47ed49 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> (cherry picked from commit 9cb66c01143afa2b8115507c693a7266a31da6bb) Reviewed-by: Simo Fält <simo.falt@qt.io>
* Disable background update checks in RHEL 7.xTony Sarajärvi2018-04-181-0/+4
| | | | | | Change-Id: If17fd47850be8b3a59ded7e0a543c9160f92b84c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit f6d18ec9b3e6cc65b687810f39a570a0b39439cd)
* Download get-pip primarily from our local cacheTony Sarajärvi2018-03-201-1/+1
| | | | | | | | | | | | | | | We should first download from our local cache, and if that doesn't work, fetch it online. This commit doesn't fix it per se, but as we download it from our local cache, the version is the one our shasum checksum matches against. Task-number: QTQAINFRA-1876 Change-Id: Ia7de54cf090af47ba33111911582f9d48c0ab2a2 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 863252be498028c589c08ba23a70eb9cd92b1416) Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
* Clean old RHEL repo data before fetching new dataTony Sarajärvi2018-03-201-0/+4
| | | | | | | | | | Task-number: QTQAINFRA-1872 Change-Id: I49d9d1589adc5b34f1b7c2dccc14be0021f2baaa Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> Reviewed-by: Joni Jäntti <joni.jantti@qt.io> (cherry picked from commit 64c79b27d6457235a30dd124382b004d37d4c089)
* Use local RHEL repositories with RHEL 7.4Tony Sarajärvi2018-03-203-7/+31
| | | | | | | | | | | | | | | | This will remove the majority of our network traffic from the outbound connection while provisioning. Also proxy was removed for yum, as there is no point in proxying local data. As a side effect, this makes provisioning currently faster by reducing the time it takes by 35%. Task-number: QTQAINFRA-1849 Change-Id: Ida4fb86d4bef166fc72e521e395d9753ec47a687 Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io> Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 209cb73a363d794ad312e28f9ea38bb8ef8b47bb)
* Install libusbx-devel for QDB on RHEL 7.4Kari Oikarinen2018-03-011-1/+1
| | | | | | | | | | | | On previous RHEL version the package was libusb1-devel. That package doesn't seem to be there anymore, which presumably means why the package to install was changed to libusb-devel. Unfortunately libusb-devel provides a compatibility package for the old 0.1 API version and doesn't work with QDB. libusbx-devel seems to be the new name for the 1.0 API version of libusb on RHEL. (cherry picked from commit 140c6479b5916e21d6c03a94f844a0f8693af0f8) Change-Id: I978e9842b3f0ec3a355cd1724934c99a531903ef Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Disable set -e when enabling devtoolset-4 environment variablesHeikki Halmet2018-02-131-0/+1
| | | | | Change-Id: If427179da490f14963077cd733082258e354710f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Fix environment variable checking for proxyTony Sarajärvi2018-02-071-1/+1
| | | | | Change-Id: Iec261d4ce4e84ba656edf9de52b4dc42d0249e51 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Attach subscription to systemHeikki Halmet2018-01-291-1/+4
| | | | | | | | | | Subscriptions need to be reattached when subscriptions have been renewed by Red Hat. Directly pushed to get provisioning into working shape. Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Change-Id: I6e469d7fac3b848193f280702e1e807ce4ea096b
* Provisioning: Add Squish provisioning for Release Test AutomationHeikki Halmet2018-01-261-0/+4
| | | | | | | | | Squish is required by RTA for testing. Task-number: QTQAINFRA-1523 Change-Id: I0c3653565f19cc9b798a0b63325c47b017cf5537 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
* Provisioning: Add common shared folderHeikki Halmet2018-01-262-2/+2
| | | | | | | | | | Common shared folder includes scripts of files which are common for all operating system families. Changes under shared folder will trigger provisioning for all platforms Change-Id: I0789f87b76876d5f92673fe2f0e72d770e5f5ea4 Task-number: QTQAINFRA-1451 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Split Common folder based on operating system familiesHeikki Halmet2018-01-1011-11/+11
| | | | | | | | | | This change will split common folder to four different folders: Linux, Unix, Windows and MacOS. Each of these folders includes scripts which are common for their operating system familes Task-number: QTQAINFRA-1451 Change-Id: Ic93b2183052335dee875d1452b21e38d268b6474 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* Set up proxy for provisioning scriptsTony Sarajärvi2018-01-021-0/+5
| | | | | | Task-number: QTQAINFRA-1669 Change-Id: I582dc5037bd2b46dcd5c9c3b2cb13784e122d6a5 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Fix shebangs and give provisioning scripts +x rightsTony Sarajärvi2018-01-0215-15/+16
| | | | | Change-Id: Ib85721600b1e4461470a9ea4fd3b29fca0b35633 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Add set -ex to 7z provisioning in RHEL 7.4Tony Sarajärvi2018-01-021-0/+3
| | | | | | Change-Id: If6323055999830954df6893d72ff2031b34f0276 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Make provisioning script prefix style match across platformsJoni Jantti2017-12-2915-0/+0
| | | | | | | | | | | Currently we are using different styles and amount of digits for the provisioning script prefixes. This change will unify them across the platforms. Also removes a couple of duplicate files. Task-number: QTQAINFRA-1668 Change-Id: I039777e7616bccc29c6a4ac55db13326ae8dc87c Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provision fbx to RHEL 7.4 for 3DStudioTony Sarajärvi2017-12-271-0/+5
| | | | | Change-Id: I2aaad4abc2e3d42bdd1f5204d20ee4fea3c0388f Reviewed-by: Simo Fält <simo.falt@qt.io>
* Add set -ex to provisioning scripts for RHEL 7.4Tony Sarajärvi2017-12-2713-4/+58
| | | | | | | Task-number: QTQAINFRA-1659 Change-Id: I9e3c1ec559eab29ccb693956201fc2b63f999882 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Install Devtoolset-4 to Rhel 7.4Heikki Halmet2017-12-132-3/+3
| | | | | | | | | | | | Gcc need to be downgraded from 6 to 5, because Gcc 6 is too new for the latest Ubuntu LTS (16.04). This means Devtoolset-4 need to be used instead of Devtoolset-6. Task-number: QTBUG-64820 Change-Id: I2601aaaff5f3bbbadd867105fd4155239ab89825 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> (cherry picked from commit adcdf7b49f52e745009ff7e37e07c2d831ad82dc) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.9.3' into 5.9Liang Qi2017-12-111-0/+63
|\ | | | | | | Change-Id: I01a6ee1ecfaabe56e585194ccfab3b25fbd89e8b
| * provisioning: RHEL7.4: Add Python3Joni Jäntti2017-11-161-0/+63
| | | | | | | | | | | | | | Python3 is currently not installed in RHEL7.4 provisioning. Change-Id: I788b7f40ab7731f50f98f15defaac13f0296b54e Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Add NSS to RHEL 7.4Allan Sandfeld Jensen2017-12-101-0/+2
| | | | | | | | | | | | | | | | | | Needed by QtWebEngine Change-Id: I66a737457cb9dd5f2cc53d64f639037926a560ca Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry-picked from 9a9d798ce44ae6a77d408e44dd61fa5a5e07b99f) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | RHEL7.4: install packages in one yum instanceJoni Jäntti2017-12-091-52/+37
| | | | | | | | | | | | | | | | | | | | Currently we are opening and closing a yum instance for every package we install during provisioning. This is a bit inefficient so it's better to install them in one go. Task-number: QTQAINFRA-1586 Change-Id: Idbf814f9023da0fe8213b2ed84cd1a27a149fc27 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Install bluez-libs-develHeikki Halmet2017-11-301-0/+3
|/ | | | | | | | | bluez-libs-devel is needed to enable Qt Bluetooth Task-number: QTBUG-64782 Change-Id: Ie668a44463307c7089bb96a087acab04c27dd3a0 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Remove logical OR when echo errorsHeikki Halmet2017-11-071-10/+10
| | | | | | | | | | set -e won't work if logical OR is used after commands. These error echo's need to be removed so that error catch will works. Also set -ex added to print executed command when error caught. Task-number: QTQAINFRA-1533 Change-Id: Ib4ea832a0ee813f99f59ebacad51ec57c3eff57d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Fix p7zip installationHeikki Halmet2017-11-031-4/+17
| | | | | | Change-Id: Id6847ee203fdee03c6db067a952f9da5188d3d5c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Refresh Subscription-managerHeikki Halmet2017-11-031-0/+38
| | | | | | | | Subscription manager needs to be refreshed so that RedHat repositories will stay available for provisioning scripts Change-Id: Idebc994fbefde951000570f6690c6849abfd3666 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Make CI use a new RHEL 7.4 provisioningJoni Jäntti2017-10-1913-0/+536
Added all the provisioning scripts that install required programs and make changes to certain settings. These are needed to build qt5. This commit replaces RHEL 7.2 in desktop builds, android builds and INTEGRITY builds. Task-number: QTQAINFRA-1251 Task-number: QTQAINFRA-1252 Task-number: QTQAINFRA-1253 Task-number: QTQAINFRA-1267 Task-number: QTQAINFRA-1269 Change-Id: Icef19df7fb799a4008ccdc0584821c982055e339 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>