aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
* Windows 10: Enable developer modewip/qtsaferenderer/1.0Oliver Wolff2018-04-181-0/+5
| | | | | | | | Developer mode is required by RTA for testing. Change-Id: I4f20fb8d694d5148b7f976c1ef4bb23ff2fb57ba (cherry picked from commit f51fd755b5b1594744b6e68f630dd4d6c8167b6b) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Win10 - Add Squish for mingw53Joni Jantti2018-04-181-0/+6
| | | | | | | | | | RTA requires Squish for mingw53 on Windows 10 machines for testing. Task-number: QTQAINFRA-1729 Change-Id: I42f2c6c62dd004ebc072835340ce24105cfac5e8 (cherry picked from commit 5e31866727b4485f07a17295277be889305c4b3b) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Win7-x86 - Add msvc14_x86 squish packageJoni Jantti2018-04-181-0/+3
| | | | | | | | | | Squish is required by RTA testing. Task-number: QTQAINFRA-1732 Change-Id: I8ab0b11ccc299cc0b10e59f99d1cf27c0cdd48b9 (cherry picked from commit f6f00fdce1f3f00775e8b399dc8813883af5bf90) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Upgrade pip to latest versionHeikki Halmet2018-04-183-4/+24
| | | | | | | | | | | | | | Latest pip version is not installed during python installation. Pip need to be reinstalled after python installation because older version of pip seems to cause installation problems randomly at least with python 2.7 Task-number: QTQAINFRA-1902 Change-Id: If3d74130ecee6e410c64cad309feff9edc0e5db0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit 2e6af2bba76358323d386a8287b9f34b08210347) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Remove sha1 file after shasum checkHeikki Halmet2018-04-181-0/+1
| | | | | | | Change-Id: Iee8e66d98e5ebd2dee18baf8e1752a86065417d1 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit c79d285ffa13590192e7768f7923645c73026a27) Reviewed-by: Liang Qi <liang.qi@qt.io>
* Make unzip less verbose in macOSTony Sarajärvi2018-04-181-1/+1
| | | | | | | Change-Id: I83249f724ecbfeeb4fd5c1cd33a9c6195c590c4b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit ab021d4bb4a92143892a68d89dbe9f3dd4e3f81f) Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Fix java installation for macHeikki Halmet2018-04-181-19/+10
| | | | | | | Change-Id: I3b6672e671720416af71631c2f9ce814f07e596a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit a6feaec2877d9089d9b9ba5c934b89a4de78de42) Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Remove try_catch.sh helper scriptTony Sarajärvi2018-04-181-64/+0
| | | | | | | Change-Id: I3981920bb8085ffbad89c31e0fd628a6e11146b6 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 1b5f8cec03297af93150537cc3c8eb0bcd01f3fc)
* Simplify openssl_for_android_linux provisioning scriptJędrzej Nowacki2018-04-181-31/+9
| | | | | | | | | | | | | The script was over-engineered. The new version provides the same functionality while removing uninteresting postmortem messages. In addition try_catch.sh has a bug that injects set +e So it is good to avoid using it. Change-Id: I9e26e8fedad71d40270fe94695d5e1c09c3d9023 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit bb9739773ccd2844bad5e8c0124405acb3315ecb) Reviewed-by: Simo Fält <simo.falt@qt.io>
* Remove try_catch codes from unix scriptsTony Sarajärvi2018-04-183-191/+77
| | | | | | Change-Id: Iabadbf28c65132ae614048cb98e92f57e3786056 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 90261c1df5cb62a47b44d2d9b84c0753d6ebf9e4)
* Provisioning: Move http_proxy.txt under shared folderHeikki Halmet2018-04-183-2/+2
| | | | | | | | Change-Id: Id5b2f07a92eadfb21fbfdb3fb65621d6322dc8c4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> (cherry picked from commit 23b4bcf6c5773f1499e89b132e87e4d0333676a7) Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Set proxy on Windows VMs while provisioningTony Sarajärvi2018-04-187-1/+122
| | | | | | | Task-number: QTQAINFRA-1669 Change-Id: Ia6b5b668051642a3729d7c7c83c69d8797045847 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 54d8396d681c97ace18e2710394b8b34fa8f0411)
* Remove try_catch codes from common macOS scriptsTony Sarajärvi2018-04-186-321/+106
| | | | | | | Change-Id: I66291e2da5514499387b61e01ad85a652cd24d7b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit a98b0f3d7989bedf6f0bcc1a83b52aad1d3baa3e) Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: osx-10.11 - JavaMatti Paaso2018-04-181-0/+132
| | | | | | | | This is needed for running RTA jobs in Coin. Change-Id: Iff855dae54babef00c055a2c8b938871101305e3 Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit c3b33afc322dc24120741722b680d0cccc3e2cb1)
* Remove try_catch from common linux scriptsTony Sarajärvi2018-04-181-73/+34
| | | | | | | Change-Id: I9c7b472fa4c448f40c9adc6cc8a0d84cb9c5e74c Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 1c6abfae014b3ece4d14d3dc7b9a22353cf18c66)
* Simplify DownloadURLJędrzej Nowacki2018-04-181-38/+8
| | | | | | | | | | | | | | | The script was over-engineered. The new version provides the same functionality while removing uninteresting postmortem messages. In addition try_catch.sh has a bug that injects set +e to a sourcing script which was propagating through DownloadURL.sh to almost all provisioning scripts. So it is good to avoid using it. Change-Id: If191a0dcf52a29c4bec580a254e8e58a00130f6d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> (cherry picked from commit 8a47814c91828a2f1541b99b58c8ee2eb085cb51) Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* Provisioning: Create symbolic for shasum tool on macOS for compatibilityRainer Keller2018-04-183-7/+51
| | | | | | | | | | | | On macOS the sha1 tool is named 'shasum' while on all other unix systems it is called 'sha1sum'. In order to make all unix provisioning scripts run on macOS without special case handling a symbolic link is created. Change-Id: Ib1365cbb0dcb31e68a22959ce939fb450ec7e3f7 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit 04d1ee1df4302c78be54da76826221661ff25056)
* Disable update download in backgroundTony Sarajärvi2018-03-201-0/+3
| | | | | | | | | Task-number: QTQAINFRA-1852 Change-Id: I6d8e433fa40dd080fe84efcf3d0c655d14f86010 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit eebc0133f00f15d6166de7fe74f0f30bc3af50a2) Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
* Provision: Use specific Python2 version in macOSSimo Fält2018-02-131-0/+52
| | | | | | | | Make sure we use some specific Python2 version on macOS instead of the one pre-installed along with system. Change-Id: Ifee07a8cf003e282ec3cb67535818f9fe39c8679 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Remove excess comment line for shellcheckTony Sarajärvi2018-02-071-1/+0
| | | | | | Change-Id: I3e9b8091c158a978bd95e48b18df326c3a545798 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@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: Disable Network Time ProtocolHeikki Halmet2018-02-022-0/+84
| | | | | | | | NTP need to be disabled from all tier2 templates Task-number: QTQAINFRA-1608 Change-Id: I89e019c23b7a194efffa011200a8c870e3a65d66 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Add Win7_x64 provisioning for RTA purposesJoni Jäntti2018-02-023-0/+186
| | | | | | | | | | | | Windows 7 x64 (Windows 7 msvc2013-x86_64) template is needed since RTA is starting to deploy machines from coin. Task-number: QTQAINFRA-1521 Task-number: QTQAINFRA-1615 Change-Id: I7e9665bd37ee010a59ff3792f435d65eb9ad8c17 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
* Provisioning: Add Squish provisioning for Release Test AutomationHeikki Halmet2018-01-263-0/+390
| | | | | | | | | 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-265-3/+3
| | | | | | | | | | 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>
* Provisioning: Use SetEnvVar helper function in scriptsJoni Jantti2018-01-2610-24/+87
| | | | | | | | | | | Currently when adding an environment variable in provisioning we have to check if the system is Ubuntu and use .profile instead of .bashrc. This check should be done in a function so we don't have to duplicate it for every provisioning script separately. Change-Id: I2fa128032123e17d20dfb39cd3668e22e4bb0d55 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Merge remote-tracking branch 'origin/5.9.4' into 5.9Liang Qi2018-01-181-1/+5
|\ | | | | | | Change-Id: I1c5c5e6e938f33dd8b0b9c40e64d509eeec25774
| * Provisioning: Set CMake to PATH on UbuntuTony Sarajärvi2018-01-091-1/+5
| | | | | | | | | | | | | | | | | | | | Ubuntu uses .profile file instead of .bashrc. We need to use the correct file accordingly. Task-number: QTBUG-65594 (cherry picked from commit 22e4664eb08dc5384c5afd0bd6c6a0725b242517) Change-Id: Iceeec53882f1a5c97cd8f7ea5b013d543c156acb Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Fix disabling windows updatesOliver Wolff2018-01-181-2/+19
| | | | | | | | | | | | | | | | | | | | On some machines the updates were already disabled, which lead to the call to disable the service failing. Now we just move on without error. Change-Id: Ia48f7164c23dfe24e24548558d582cdc0190b7e3 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Fix provisioning: NotePad++ path on 64 bit windowsFrederik Gladhorn2018-01-181-6/+1
| | | | | | | | | | | | | | | | | | We install the 64 bit version of np++ which is installed in the regular program files folder. Change-Id: I702210eaf7dfae75bbfcfd9cc98d8ed96d775f61 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* | Split Common folder based on operating system familiesHeikki Halmet2018-01-1085-34/+34
|/ | | | | | | | | | 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-024-1/+63
| | | | | | 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-0219-18/+18
| | | | | Change-Id: Ib85721600b1e4461470a9ea4fd3b29fca0b35633 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Add clean Ubuntu 16.04 provisioningJoni Jäntti2017-12-291-2/+5
| | | | | | | | | | Currently Ubuntu 16.04 template has stuff installed on its tier 1. We want to have a clean installed tier 1 and install everything on it during provisioning. This will save some disk space on our hosts. Task-number: QTQAINFRA-1574 Change-Id: Ia7e6df62835a8e31943c00996f12ac70c6c71aed Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Remove provisioning of ICU for VS2012Tony Sarajärvi2017-12-271-36/+0
| | | | | | | Visual Studio 2012 isn't used in our builds. Change-Id: I7f2480a1811efd1c1f164f468407ab55d5c4102d Reviewed-by: Simo Fält <simo.falt@qt.io>
* Fix broken and duplicate Ruby provisioningJoni Jantti2017-12-132-15/+6
| | | | | | | | | Ruby is being installed twice on certain Windows platforms and the 32 bit versions of these don't have a working PATH addition. Task-number: QTQAINFRA-1632 Change-Id: Id7fd269854d17c32df7d0b82ac9e750e645af564 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.9.3' into 5.9Liang Qi2017-12-111-0/+3
|\ | | | | | | Change-Id: I01a6ee1ecfaabe56e585194ccfab3b25fbd89e8b
| * Provisioning: Remove old cmake before installing new oneHeikki Halmet2017-11-111-0/+3
| | | | | | | | | | | | | | | | | | Windows 10 x86 isn't yet vanilla so provisioning needs to remove old cmake before installation Change-Id: I2712aaa652492520d68a597d99a3c2d6bdbe2433 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Fix mesa_llvmpipe provisioning script for x64 WindowsJoni Jäntti2017-12-091-1/+1
| | | | | | | | | | | | | | | | | | This script doesn't extract the dll to System32 on a x64 system. Calling "sysnative" doesn't seem to work with the custom function being used. Change-Id: Iea734a400d8c095ea2e3fe54f38e4756fba406f9 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Install command line tools for osx 10.11 and macOS 10.12Heikki Halmet2017-12-081-0/+88
| | | | | | | | | | | | | | | | | | | | | | Command line tools is needed by homebrew when installing p7zip Task-number: QTBUG-64729 Change-Id: Ia13838e3f5845351cb682c7d25127c8f36172d3b Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit beb73056c30445c5236c7bbb12248bfa0939cb4a) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Remove unneeded provisioning scriptsTony Sarajärvi2017-11-131-49/+0
| | | | | | | | | | Change-Id: Ie8ff5810f07528fd23044e1b1396fc4fdde58283 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Provisioning: FBX SDKTony Sarajärvi2017-11-113-0/+209
|/ | | | | | | | | | We need to provision the FBX SDK for Qt3DStudio. Task-number: QTQAINFRA-1449 Change-Id: I52587cd653b7954340d5f58978ffbd008330337c Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Disable NTP synchronization for WindowsJan Arve Sæther2017-11-101-0/+2
| | | | | | | | | | | | | | | | | | | During CI, it has been observed that some processes didn't leave their wait state. (So they were "hanging") During analysis of the event log on that CI node, we found out that at the same time those processes entered this state, the NTP client set a new time and indeed the local time of the CI node changed (it was changed 2 hours forward in our case). For the record, the processes we observed this with was jom.exe and cc1plus.exe (the latter is the g++ compiler in the mingw toolchain)). We therefore have a strong suspicion that the NTP time change was causing the CI hang, so we simply disable it. The virtual machine should anyway get the correct time from its VM host when its started. Change-Id: I1204063399e2a4741b7b26b79858759c1bc5eab2 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* Provisioning: Update Java to version 8Heikki Halmet2017-11-091-62/+0
| | | | | | | | | | | | Current version of Java isn't installing correctly during provisioning. Silent installation needs parameters which are added to script. Without those the installation process tries to open Java3BillDevices.jpg unsuccessfully and the installation fails Task-number: QTQAINFRA-1498 Task-number: QTQAINFRA-1394 Change-Id: I5672d230eb348186345887da81cdd97a4f59bce8 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Remove logical OR when echo errorsHeikki Halmet2017-11-071-4/+4
| | | | | | | | | | 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 .ci.local addresses to .intra.qt.ioTony Sarajärvi2017-11-036-8/+8
| | | | | Change-Id: I0ae934a65a2eaefa0bc4db9afbe3b8701dcb0906 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Cleanup of provisioning scripts as tier1 images are vanillaTony Sarajärvi2017-10-286-129/+0
| | | | | Change-Id: I58c5cb64075c0b60e2e8881dd32d6fad3ab98ec7 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provision vanilla Windows 7 x86 and use itTony Sarajärvi2017-10-242-0/+84
| | | | | Change-Id: I96eefe2e69b5cbe5d68329be2bb4273d03bb85ca Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Make CI use a new RHEL 7.4 provisioningJoni Jäntti2017-10-195-0/+333
| | | | | | | | | | | | | | | | | 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>
* Make 7zip provisioning script add 7zip to pathJoni Jäntti2017-10-171-5/+9
| | | | | | | | | 7zip is nice to have in path for future purposes such as when cherry-picking to other branches where we use different extracts scripts. Change-Id: I40b0f8568e285d85927ad30365c0ab9224e21332 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>