mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-23 00:16:20 +08:00
Compare commits
291 Commits
wip/qt3dst
...
v5.13.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aebccd2885 | ||
|
|
39b7b63d5b | ||
|
|
6d12189f0c | ||
|
|
27ecf13595 | ||
|
|
78cdf36832 | ||
|
|
cfef857815 | ||
|
|
f4e7c08e82 | ||
|
|
317fbf9243 | ||
|
|
ec613d93e5 | ||
|
|
842b72e080 | ||
|
|
c4e14a59ec | ||
|
|
de56775c32 | ||
|
|
4e3a0f79fb | ||
|
|
8f4c12bc03 | ||
|
|
89f6db8c22 | ||
|
|
fbe3a8d84e | ||
|
|
0a0ec7ffe3 | ||
|
|
076fb6bd6d | ||
|
|
c0fce7a3b3 | ||
|
|
c7f87acb37 | ||
|
|
b8eb110c81 | ||
|
|
b97df21bef | ||
|
|
bdc5dae67b | ||
|
|
acfc7ad18d | ||
|
|
c87a6e9c6d | ||
|
|
e6fccbf240 | ||
|
|
cb8e769cf6 | ||
|
|
41ef5a706d | ||
|
|
1760acb17d | ||
|
|
a4ca20dfce | ||
|
|
5d3b2413d0 | ||
|
|
de26b29c33 | ||
|
|
ddc99482eb | ||
|
|
0cf3fdabe3 | ||
|
|
a3136bdbfe | ||
|
|
b83b16277d | ||
|
|
fa03dbce1f | ||
|
|
39a9e58888 | ||
|
|
bcdfcd2668 | ||
|
|
d8a384f03f | ||
|
|
4909f4a765 | ||
|
|
66ea34668a | ||
|
|
1bb7d2d0c9 | ||
|
|
ad93109d92 | ||
|
|
0c0ed734ef | ||
|
|
15b4e146e5 | ||
|
|
d581d86fc5 | ||
|
|
30e7bf5745 | ||
|
|
7fd2796b00 | ||
|
|
f3c4f6edeb | ||
|
|
885e662082 | ||
|
|
80791b03ee | ||
|
|
27bbc46848 | ||
|
|
136639b445 | ||
|
|
f58935ebea | ||
|
|
097b013183 | ||
|
|
0414df3e2e | ||
|
|
c9a0797a11 | ||
|
|
9b0ff12595 | ||
|
|
e27c7adda7 | ||
|
|
acafe0ad49 | ||
|
|
b959cb5359 | ||
|
|
b03790e34d | ||
|
|
3277628d62 | ||
|
|
63181db03e | ||
|
|
42366fd740 | ||
|
|
8d90ddd531 | ||
|
|
2fd2a9d268 | ||
|
|
4175af18f8 | ||
|
|
82e0fe1664 | ||
|
|
d19f60d745 | ||
|
|
19cc6b2b80 | ||
|
|
edf6149a5b | ||
|
|
8ede8851f4 | ||
|
|
1f79ae5d86 | ||
|
|
49c808befb | ||
|
|
9e370453bb | ||
|
|
f32c9f755e | ||
|
|
0f89c02328 | ||
|
|
9b186a9d36 | ||
|
|
03d4a54e34 | ||
|
|
b326a502db | ||
|
|
f511a2d74f | ||
|
|
2b738468de | ||
|
|
f8439ea42c | ||
|
|
13b206662b | ||
|
|
2fb0e4f352 | ||
|
|
2970d3660c | ||
|
|
1e476b01fd | ||
|
|
58977376e1 | ||
|
|
689ed30f2a | ||
|
|
a94696ccd5 | ||
|
|
4c5d3f2e43 | ||
|
|
72f1742097 | ||
|
|
38e416be66 | ||
|
|
e6823acbc7 | ||
|
|
a268fb4689 | ||
|
|
abfbc0668c | ||
|
|
ac2a57b1c3 | ||
|
|
71e9322862 | ||
|
|
f470b8eabe | ||
|
|
c31548830f | ||
|
|
7001f15765 | ||
|
|
5a16472559 | ||
|
|
bd7b28582f | ||
|
|
a319bc5f5f | ||
|
|
231a5b777c | ||
|
|
59891119e7 | ||
|
|
daf8327b2c | ||
|
|
3a940903c0 | ||
|
|
1ba5e3b0b9 | ||
|
|
35c1c88749 | ||
|
|
e7f8eeb30d | ||
|
|
6131434bdf | ||
|
|
dedbec30d1 | ||
|
|
a04751c10e | ||
|
|
6f6b43593e | ||
|
|
dcb1c8b41c | ||
|
|
644f8b7006 | ||
|
|
09180d3f95 | ||
|
|
305278ff93 | ||
|
|
fd1f34192a | ||
|
|
d063074b0f | ||
|
|
7b36e44d7a | ||
|
|
0d7a64fd8c | ||
|
|
67ba0e70a1 | ||
|
|
bb18b48251 | ||
|
|
f4bbadba41 | ||
|
|
14adbe74dd | ||
|
|
5bba104a41 | ||
|
|
50bd689155 | ||
|
|
220097d10c | ||
|
|
a05bd71ede | ||
|
|
81f478b533 | ||
|
|
c15485df43 | ||
|
|
02404b0cec | ||
|
|
f22f1007f4 | ||
|
|
247b429c3c | ||
|
|
ebcfcbe69a | ||
|
|
3e838f2a34 | ||
|
|
b7c0e2db78 | ||
|
|
230a73409a | ||
|
|
3e6a04c09d | ||
|
|
991500dc85 | ||
|
|
9c49284978 | ||
|
|
8cdf60fe64 | ||
|
|
819362c5d6 | ||
|
|
8f63da629a | ||
|
|
049eb21a1d | ||
|
|
c6b018a925 | ||
|
|
aeea2c8425 | ||
|
|
4c4595b93b | ||
|
|
c2506b0f9c | ||
|
|
6465c42122 | ||
|
|
ea052ceb0a | ||
|
|
b692cf823a | ||
|
|
5db0ce74b7 | ||
|
|
a4e4c13f01 | ||
|
|
9d3f29dc03 | ||
|
|
7ef9985e4e | ||
|
|
a0291fde84 | ||
|
|
3e6f5b1486 | ||
|
|
04fa1bf4ef | ||
|
|
7d1d1aa2d2 | ||
|
|
6fbaba5d52 | ||
|
|
494d10fb73 | ||
|
|
0a1e27b33e | ||
|
|
dbaa42baa7 | ||
|
|
3436df53cf | ||
|
|
f2af07b8ed | ||
|
|
085407eb93 | ||
|
|
8710c7d9cf | ||
|
|
869c15629d | ||
|
|
bf868c7e7a | ||
|
|
48443b4b9a | ||
|
|
d269710383 | ||
|
|
403d4e1d96 | ||
|
|
314db90904 | ||
|
|
b3e35cbac5 | ||
|
|
16201ab31d | ||
|
|
c654e63c87 | ||
|
|
8630f18d1e | ||
|
|
c09135cb56 | ||
|
|
7eeee0df43 | ||
|
|
eb3c52455c | ||
|
|
3003529631 | ||
|
|
7158816eed | ||
|
|
48ab1d879b | ||
|
|
deecc97dc2 | ||
|
|
bbce3228af | ||
|
|
0545584315 | ||
|
|
4c46984c46 | ||
|
|
fc1d5bbe4c | ||
|
|
9a5d221afc | ||
|
|
a99977cf78 | ||
|
|
bec94435f8 | ||
|
|
abfc2cd571 | ||
|
|
e9d5fdaa20 | ||
|
|
2d0e6b81dd | ||
|
|
4e99a6976c | ||
|
|
d5c96aad5a | ||
|
|
06fb909429 | ||
|
|
da2bd45ba6 | ||
|
|
abbd43c943 | ||
|
|
b0afdd4bc7 | ||
|
|
2471d6dab8 | ||
|
|
7bd38a4997 | ||
|
|
26ff9bdc3d | ||
|
|
9b84c7135b | ||
|
|
84aa9b73ad | ||
|
|
73f1d0f518 | ||
|
|
1830cca2bc | ||
|
|
366eaceff0 | ||
|
|
afbd9305e3 | ||
|
|
044f079158 | ||
|
|
b40d27b808 | ||
|
|
3793e0ddfc | ||
|
|
77a73f65df | ||
|
|
85eb7b7a03 | ||
|
|
390a373f28 | ||
|
|
e425b8b65f | ||
|
|
332ec62ead | ||
|
|
4cc4daa28e | ||
|
|
8b634155a9 | ||
|
|
89e0159bbc | ||
|
|
affeefbbe6 | ||
|
|
463a873edd | ||
|
|
6f297420bb | ||
|
|
19a9abeac6 | ||
|
|
6b64780b61 | ||
|
|
421eb7551b | ||
|
|
f7b6a4c276 | ||
|
|
f30e44e9ff | ||
|
|
677c4d62c5 | ||
|
|
f103df4826 | ||
|
|
7324ace490 | ||
|
|
b78812f84e | ||
|
|
8e7b85af99 | ||
|
|
20b96704ee | ||
|
|
38e2fc6b80 | ||
|
|
da65a37041 | ||
|
|
72182d1333 | ||
|
|
c245638131 | ||
|
|
d732383e6b | ||
|
|
57e432e0da | ||
|
|
959d9bdb67 | ||
|
|
a695130478 | ||
|
|
477fc6a73f | ||
|
|
ce3791a214 | ||
|
|
bb0a12e410 | ||
|
|
d15a5b8841 | ||
|
|
e8e76d256b | ||
|
|
a55b732053 | ||
|
|
a4fc60b21c | ||
|
|
5a040ca46a | ||
|
|
de05c3d5e8 | ||
|
|
9dc75c3a3d | ||
|
|
4eda836c8c | ||
|
|
1f07276692 | ||
|
|
ea76ace825 | ||
|
|
a76e315034 | ||
|
|
e6e78d4e36 | ||
|
|
6d23debda8 | ||
|
|
4480ed8ab8 | ||
|
|
4a8b97d020 | ||
|
|
16c6fa419a | ||
|
|
0345ab91fb | ||
|
|
9597af1ae4 | ||
|
|
ad4b13b71c | ||
|
|
6a650748d3 | ||
|
|
f06e9ff32b | ||
|
|
9bfa486dd0 | ||
|
|
4e8b5bae5b | ||
|
|
cc5b03d6ca | ||
|
|
5e3511c0c6 | ||
|
|
a03ecaa7fd | ||
|
|
291aa4d366 | ||
|
|
1cfe79db61 | ||
|
|
fd4e4cceff | ||
|
|
a54910a07e | ||
|
|
8c1b4757fd | ||
|
|
a90fb8f83a | ||
|
|
ee9dd0d860 | ||
|
|
0be0d5a10c | ||
|
|
5024bd5725 | ||
|
|
90e3bb68e6 | ||
|
|
f767b01159 | ||
|
|
aab459709f | ||
|
|
a11917306e | ||
|
|
7e43cc3c7c | ||
|
|
5c1c629796 |
93
.gitmodules
vendored
93
.gitmodules
vendored
@@ -1,60 +1,60 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtsvg
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtscript"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = deprecated
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = essential
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 5.12
|
||||
status = addon
|
||||
branch = 5.13.2
|
||||
status = deprecated
|
||||
[submodule "qttranslations"]
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -62,7 +62,7 @@
|
||||
recommends = qtmultimedia qtquickcontrols qtquickcontrols2
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -83,14 +83,14 @@
|
||||
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -123,185 +123,192 @@
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtimageformats qtgamepad
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtgraphicaleffects"]
|
||||
depends = qtdeclarative
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtquickcontrols"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtgraphicaleffects
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtserialport
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtx11extras"]
|
||||
depends = qtbase
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtmacextras"]
|
||||
depends = qtbase
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtwinextras"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtandroidextras"]
|
||||
depends = qtbase
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtquickcontrols qtquickcontrols2 qtlocation qtwebchannel qttools
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
depends = qtdeclarative
|
||||
path = qtcanvas3d
|
||||
url = ../qtcanvas3d.git
|
||||
branch = 5.12
|
||||
status = addon
|
||||
branch = dev
|
||||
status = ignore
|
||||
[submodule "qtwebview"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtquickcontrols2"]
|
||||
depends = qtgraphicaleffects
|
||||
recommends = qtimageformats
|
||||
path = qtquickcontrols2
|
||||
url = ../qtquickcontrols2.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = essential
|
||||
[submodule "qtpurchasing"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtpurchasing
|
||||
url = ../qtpurchasing.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia qtquickcontrols
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgamepad
|
||||
url = ../qtgamepad.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtscxml"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
recommends = qtdeclarative
|
||||
path = qtwebglplugin
|
||||
url = ../qtwebglplugin.git
|
||||
branch = 5.12
|
||||
branch = 5.13.2
|
||||
status = addon
|
||||
[submodule "qtlottie"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = 5.13.2
|
||||
status = preview
|
||||
|
||||
@@ -42,7 +42,7 @@ BraceWrapping:
|
||||
AfterFunction: true
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterStruct: false
|
||||
AfterStruct: true
|
||||
AfterUnion: false
|
||||
BeforeCatch: false
|
||||
BeforeElse: false
|
||||
|
||||
@@ -1,43 +1,55 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -developer-build -release -angle -qtnamespace TestNamespace -qtlibinfix TestInfix -nomake tests -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
||||
-
|
||||
Template: 'qtci-windows-7-x86-3'
|
||||
Compiler: 'Mingw73'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -developer-build -release -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86%'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['Packaging']
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-x86-msvc2015'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-arm-msvc2015'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-16.04-x86_64-2'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'Mingw73'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch x86'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -R . -qtlibinfix TestInfix -qtnamespace TestNamespace -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
-
|
||||
@@ -61,16 +73,16 @@
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -no-opengl -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-42.3-x86_64'
|
||||
Template: 'qtci-linux-openSUSE-15.0-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-42.3-x86_64'
|
||||
Template: 'qtci-linux-openSUSE-15.0-x86_64'
|
||||
Compiler: 'ICC_18'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-pch -system-sqlite -R . -platform linux-icc-64 -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-42.3-x86_64'
|
||||
Template: 'qtci-linux-openSUSE-15.0-x86_64'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
@@ -86,7 +98,7 @@
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-sql-mysql -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -separate-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib QMAKE_LFLAGS_APP+=-s'
|
||||
@@ -126,46 +138,55 @@
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -xplatform macx-watchos-clang'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -no-use-gold-linker -sysconfdir /etc/xdg -opengl es2 -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch armeabi-v7a -xplatform android-clang'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host darwin-x86_64 -android-arch x86'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -no-use-gold-linker -sysconfdir /etc/xdg -opengl es2 -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch arm64-v8a -xplatform android-clang'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-use-gold-linker -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch x86'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
Environment variables: ['GST_PLUGIN_SCANNER=/opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/libexec/gstreamer-1.0/gst-plugin-scanner']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Environment variables: ['GST_PLUGIN_SCANNER=/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/libexec/gstreamer-1.0/gst-plugin-scanner']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'mips64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-mips64/sysroots/x86_64-pokysdk-linux/usr/bin/mips64-poky-linux/mips64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-mips64/sysroots/mips64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-mips64/sysroots/mips64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'INTEGRITY_11_04'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -xplatform integrity-armv7-imx6'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WinRT_10'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-x64-msvc2015'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'MSVC2017'
|
||||
@@ -17,33 +17,49 @@
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2017 -xplatform winrt-arm-msvc2017'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WinRT_10'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2017 -xplatform winrt-x64-msvc2017'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -no-use-gold-linker -sysconfdir /etc/xdg -opengl es2 -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch armeabi-v7a -xplatform android-clang'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-use-gold-linker -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch x86'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-use-gold-linker -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch x86_64'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -no-use-gold-linker -sysconfdir /etc/xdg -opengl es2 -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch arm64-v8a -xplatform android-clang'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw73'
|
||||
@@ -51,7 +67,7 @@
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch armeabi-v7a'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Mingw73'
|
||||
@@ -59,13 +75,13 @@
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch arm64-v8a'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Mingw73'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch x86'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch x86_64'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'Android_ANY'
|
||||
@@ -85,11 +101,11 @@
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host darwin-x86_64 -android-arch x86'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host darwin-x86_64 -android-arch x86_64'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'QNX_700'
|
||||
@@ -98,37 +114,49 @@
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-x86-qcc'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -opengl es2 -xplatform qnx-armle-v7-qcc'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'armv8'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -opengl es2 -nomake tests -nomake examples -no-sql-mysql -xplatform qnx-aarch64le-qcc'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -opengl es2 -xplatform qnx-x86-64-qcc'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'armv8'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-aarch64le-qcc'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-x86-64-qcc'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake examples -nomake tests -no-feature-thread -static -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -no-pch -platform win32-g++ -xplatform wasm-emscripten'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake examples -nomake tests -no-feature-thread -static -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -no-pch -xplatform wasm-emscripten'
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
@@ -13,13 +13,13 @@
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'MSVC2015'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -static -nomake tests -nomake examples -no-icu -force-debug-info -platform win32-msvc2015 -xplatform winrt-x64-msvc2015'
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-42.3-x86_64'
|
||||
Template: 'qtci-linux-openSUSE-15.0-x86_64'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'MSVC2015'
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
@@ -15,7 +15,7 @@
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -R . -developer-build -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -no-xcb -nomake examples -nomake tests -openssl -prefix /home/qt/work/install -psql_config /dev/null -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -tslib -verbose'
|
||||
Configure arguments: '-opensource -confirm-license -R . -developer-build -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -no-xcb -nomake examples -nomake tests -openssl -prefix /home/qt/work/install -psql_config /dev/null -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -tslib -verbose'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Compiler: 'Mingw73'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -nomake tests -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-10'
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -static -nomake tests -nomake examples -no-icu -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
############################################################################
|
||||
##
|
||||
## 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$
|
||||
##
|
||||
#############################################################################
|
||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||
|
||||
# This script will install Visual Studio 2017 Build Tools
|
||||
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
||||
|
||||
$version = "2017_version_15.0"
|
||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_build_tools_for_visual_studio_" + $version + "_x86_x64_10254482.exe"
|
||||
$sha1 = "a31e099e5114fef80a21654689e6864afc544a16"
|
||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
||||
|
||||
Download $url_cache $url_cache $msvcPackage
|
||||
Verify-Checksum $msvcPackage $sha1
|
||||
cmd /c "$msvcPackage --all --passive --wait"
|
||||
echo "Cleaning $msvcPackage.."
|
||||
Remove-Item -Recurse -Force "$msvcPackage"
|
||||
echo "Visual Studio Build Tools = $version" >> ~\versions.txt
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -30,29 +30,22 @@
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
. "$PSScriptRoot\..\..\provisioning\common\helpers.ps1"
|
||||
|
||||
# Install Visual Studio $version with $update_version
|
||||
# Original download page: https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs
|
||||
$version = "2015"
|
||||
$update_version = "3"
|
||||
# Visual Studio $version was installed manually using $installer.
|
||||
$version = "2015 update 3"
|
||||
$version_number ="14.0.25431.01"
|
||||
$installer = "http://ci-files01-hki.intra.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_web_installer_8922978"
|
||||
|
||||
# Only way to install specific Visual studio release is to use feed.xml.
|
||||
# Visual Studio $version setup will use the feed.xml that was available when $update_version released -> 'https://msdn.microsoft.com/en-us/library/mt653628.aspx'
|
||||
# These parameters will install Visual Studio Enterprise Update $update_version (the original Update $update_version without any further Update $update_version-era updates)
|
||||
$parameters = "/OverrideFeedURI http://download.microsoft.com/download/6/B/B/6BBD3561-D764-4F39-AB8E-05356A122545/20160628.2/enu/feed.xml"
|
||||
# default plus following components were selected:
|
||||
# * Visual C++
|
||||
# * Universal Windows App Development Tools
|
||||
# - Tools (1.4.1) and Windows SDK (10.0.14393)
|
||||
# - Windows 10 SDK (10.0.10586)
|
||||
# - Windows 10 SDK (10.0.10240)
|
||||
# * Common Tools
|
||||
# -Visual Studio Extensibility Tools Update 3
|
||||
|
||||
$msvc_web_installer = "vs" + $version + "_" + $update_version
|
||||
$package = "C:\Windows\temp\$msvc_web_installer.exe"
|
||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/$msvc_web_installer.exe"
|
||||
$url_official = "https://go.microsoft.com/fwlink/?LinkId=691129"
|
||||
$sha1 = "68abf90424aff604a04d6c61fb52adcd2cab2266"
|
||||
# NOTE! Windows SDK 10.0.14393 installation failed through visual studio installer so it was installed using $sdk_installer
|
||||
$sdk_installer = "http://ci-files01-hki.intra.qt.io/input/windows/sdksetup.exe"
|
||||
|
||||
echo "Fetching Visual Studio $version update $update_version..."
|
||||
Download $url_official $url_cache $package
|
||||
Verify-Checksum $package $sha1
|
||||
echo "Installing Visual studio $version update $update_version..."
|
||||
cmd /c "$package $parameters /norestart /Quiet"
|
||||
remove-item $package
|
||||
|
||||
echo "Visual Studio = $version update $update_version" >> ~\versions.txt
|
||||
echo "Visual Studio = $version version $version_number" >> ~\versions.txt
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -31,19 +31,57 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||
|
||||
# This script will install Visual Studio 2017
|
||||
# Visual Studio $version version $version_number was installed manually using $installer.
|
||||
|
||||
$version = "2017"
|
||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_visual_studio_professional_" + $version + "_x86_x64_10049787.exe"
|
||||
$sha1 = "8d678d27735018a99dc22ddb5412e4e6868991ae"
|
||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
||||
$version_number = "15.8.5"
|
||||
$installer = "http://ci-files01-hki.ci.local/input/windows/vs_professional__1312218103.1526017942.exe"
|
||||
|
||||
# Following components were selected from installer:
|
||||
# Microsoft.Net.Component.4.5.TargetingPack (.NET Framework 4.5 targeting pack)
|
||||
# Microsoft.Net.Component.4.6.1.SDK (.NET Framework 4.6.1 SDK)
|
||||
# Microsoft.Component.NetFX.Native (.NET Native)
|
||||
# Microsoft.VisualStudio.Component.PortableLibrary (.NET Portable Library targeting pack)
|
||||
# Microsoft.VisualStudio.Component.SQL.CLR (CLR data types for SQL Server)
|
||||
# Microsoft.VisualStudio.Component.VisualStudioData (Data sources and service references)
|
||||
# Microsoft.Component.ClickOnce (ClickOnce Publishing)
|
||||
# Microsoft.VisualStudio.Component.AppInsights.Tools (Developer Analytics tools)
|
||||
# Microsoft.VisualStudio.Component.NuGet (NuGet package manager)
|
||||
# Microsoft.VisualStudio.Component.Static.Analysis.Tools (Static analysis tools)
|
||||
# Microsoft.VisualStudio.Component.TextTemplating (Text Template Transformation)
|
||||
# Microsoft.VisualStudio.Component.Roslyn.Compiler (C# and Visual Basic Roslyn compilers)
|
||||
# Microsoft.Component.MSBuild (MSBuild)
|
||||
# Microsoft.VisualStudio.Component.VC.Tools.x86.x64 (VC++ 2017 version 15.8 v14.15 latest v141 tools)
|
||||
# Microsoft.VisualStudio.Component.VC.Redist.14.Latest (Visual C++ 2017 Redistributable Update)
|
||||
# Microsoft.VisualStudio.Component.VC.Tools.ARM (Visual C++ compilers and libraries for ARM)
|
||||
# Microsoft.VisualStudio.Component.VC.Tools.ARM64 (Visual C++ compilers and libraries for ARM64)
|
||||
# Microsoft.VisualStudio.Component.VC.CMake.Project (Visual C++ tools for CMake)
|
||||
# Microsoft.VisualStudio.Component.DiagnosticTools (.NET profiling tools)
|
||||
# Microsoft.VisualStudio.Component.VC.DiagnosticTools (C++ profiling tools)
|
||||
# Microsoft.VisualStudio.Component.JavaScript.Diagnostics (JavaScript diagnostics)
|
||||
# Microsoft.VisualStudio.Component.Debugger.JustInTime (Just-In-Time debugger)
|
||||
# Microsoft.VisualStudio.Component.Roslyn.LanguageServices (C# and Visual Basic)
|
||||
# Microsoft.VisualStudio.Component.JavaScript.TypeScript (JavaScript and TypeScript language support)
|
||||
# Component.Microsoft.VisualStudio.RazorExtension (Razor Language Services)
|
||||
# Component.Linux.CMake (Visual C++ tools for CMake and Linux)
|
||||
# Microsoft.VisualStudio.Component.VC.CoreIde (Visual Studio C++ core features)
|
||||
# Microsoft.VisualStudio.Component.Graphics.Tools (Graphics debugger and GPU profiler for DirectX)
|
||||
# Microsoft.VisualStudio.Component.Graphics (Image and 3D model editors)
|
||||
# Microsoft.VisualStudio.Component.Graphics.Win81 (Graphics Tools Windows 8.1 SDK)
|
||||
# Microsoft.VisualStudio.Component.TypeScript.2.3 (TypeScript 2.3 SDK)
|
||||
# Microsoft.VisualStudio.Component.TypeScript.3.0 (TypeScript 3.0 SDK)
|
||||
# Microsoft.VisualStudio.Component.VC.ATL (Visual C++ ATL for x86 and x64)
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.10240 (Windows 10 SDK (10.0.10240.0))
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.10586 (Windows 10 SDK (10.0.10586.0))
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.14393 (Windows 10 SDK (10.0.14393.0))
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.15063.Desktop (Windows 10 SDK (10.0.15063.0) for Desktop C++ [x86 and x64])
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP (Windows 10 SDK (10.0.15063.0) for UWP: C#, VB, JS)
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.15063.UWP.Native (Windows 10 SDK (10.0.15063.0) for UWP: C++)
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop (Windows 10 SDK (10.0.16299.0) for Desktop C++ [x86 and x64])
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.16299.UWP (Windows 10 SDK (10.0.16299.0) for UWP: C#, VB, JS)
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.16299.UWP.Native (Windows 10 SDK (10.0.16299.0) for UWP: C++)
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.16299.Desktop.arm (Windows 10 SDK (10.0.16299.0) for Desktop C++ [ARM and ARM64])
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.17134 (Windows 10 SDK (10.0.17134.0))
|
||||
# Microsoft.VisualStudio.Component.Windows10SDK.17763 (Windows 10 SDK (10.0.17763.0))
|
||||
|
||||
Download $url_cache $url_cache $msvcPackage
|
||||
Verify-Checksum $msvcPackage $sha1
|
||||
cmd /c "$msvcPackage --all --norestart --quiet --wait --add Microsoft.VisualStudio.Component.VC.Tools.ARM"
|
||||
echo "Cleaning $msvcPackage.."
|
||||
Remove-Item -Recurse -Force "$msvcPackage"
|
||||
echo "Visual Studio = $version" >> ~\versions.txt
|
||||
echo "Visual Studio = $version version version_number" >> ~\versions.txt
|
||||
|
||||
@@ -80,14 +80,22 @@ else
|
||||
sudo chown -R qt:users "$targetFolder"
|
||||
fi
|
||||
|
||||
# Run the following command under `eval` or `sh -c` so that the shell properly splits it
|
||||
sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
|
||||
|
||||
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||
# shellcheck disable=SC2031
|
||||
if [ "$http_proxy" != "" ]; then
|
||||
proxy_host=$(echo "$proxy" | cut -d'/' -f3 | cut -d':' -f1)
|
||||
proxy_port=$(echo "$proxy" | cut -d':' -f3)
|
||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" --no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" "platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||
echo "y" | "$sdkTargetFolder/tools/bin/sdkmanager" \
|
||||
--no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" \
|
||||
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
else
|
||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||
echo "y" | "$sdkTargetFolder/tools/bin/sdkmanager" \
|
||||
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
fi
|
||||
|
||||
echo "Checking the contents of Android SDK..."
|
||||
@@ -106,8 +114,11 @@ echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
||||
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
||||
|
||||
cd "$sdkTargetFolder/tools/bin"
|
||||
./sdkmanager --install "emulator"
|
||||
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86"
|
||||
./sdkmanager --install "emulator" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
|
||||
|
||||
echo "Checking the contents of Android SDK again..."
|
||||
ls -l "$sdkTargetFolder"
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1.4.5 (GNU/Linux)
|
||||
|
||||
mQGiBEyvJq8RBAD64FtKbU3VFsZ4PAzcSi9rETc1qXZLVQYtrE38niriIJUuT/tC
|
||||
kxGjkduD7ozP6rxL+M8fk9UdbbmzhHhXzQT2blyYy2iwpZP5+AFeQawz+oyMRVze
|
||||
x6IY5qO31TiRu+aEBptk6nco4DULlKABlvtjKI+gJ4buJm+TumyrPaxe9wCgpFwl
|
||||
O0fEjpOfQd+6Du0sCnPX7+8D/3xYVj9q5ILmrJ9zehBKjRYEcaP0rZVqudH51FUS
|
||||
I0LQNHsJdzKLzhT+Zj7TJU4KnCN4sX7amfYL3GT9qyZEBDx2alubvEsI36wtNq0i
|
||||
ewU4XmyZ+Rd7Q4mAPNoBGe5DsUA8wn/7iHGg9aJHu+GXvH7T3DVoUxW5W2KqPw+h
|
||||
jzqGBACWGuuCefa683uf6aKqpTS3JB+01BDPf+sG9qJ+k7xcJOsEiXIe1X5vH9ov
|
||||
kEvTM12kzY7SGwlsFsTDT1xioDl62g5nPlZMXErUBVnjoMtjl9bDwUPJY/vP1S9M
|
||||
VaONBMoJEON3HRui9jhdEK25LTdrcFlFpRzJI3AgdXwy8aQyiLRGZGV2ZWw6bGFu
|
||||
Z3VhZ2VzOmdvIE9CUyBQcm9qZWN0IDxkZXZlbDpsYW5ndWFnZXM6Z29AYnVpbGQu
|
||||
b3BlbnN1c2Uub3JnPohmBBMRAgAmBQJc9DoCAhsDBQkUY8NTBgsJCAcDAgQVAggD
|
||||
BBYCAwECHgECF4AACgkQr0z+TTB9e/lQZgCfXIjj30HyCPvUbSbSd6zOS0seAegA
|
||||
n3DXayMpRphNmyJgLvl5qKfsX7f6iEYEExECAAYFAkyvJq8ACgkQOzARt2udZSOg
|
||||
qQCeOba7kjk7CI+64GOkhhTGSdjnjdQAn2IC5tx+PW38XKwl3Jr5YVp0RyR0
|
||||
=AOj6
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
@@ -39,8 +39,10 @@ echo "Disable Network Time Protocol (NTP)"
|
||||
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
sudo timedatectl set-ntp false
|
||||
elif cat /etc/os-release | grep "PRETTY_NAME" | grep -q "Leap 15"; then
|
||||
(sudo systemctl stop chronyd && sudo systemctl disable chronyd)
|
||||
elif cat /etc/os-release |grep "SUSE Linux Enterprise Server 15"; then
|
||||
sudo timedatectl set-ntp false
|
||||
else
|
||||
(systemctl &>/dev/null && sudo systemctl disable ntpd) || sudo /sbin/chkconfig ntpd off
|
||||
sudo systemctl disable ntpd || sudo /sbin/chkconfig ntpd off
|
||||
fi
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -48,5 +48,8 @@ sudo docker info
|
||||
sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
|
||||
# Install Avahi to discover Docker containers in the test network
|
||||
sudo apt-get install avahi-daemon -y
|
||||
|
||||
# Start testserver provisioning
|
||||
source "${BASH_SOURCE%/*}/testserver/docker_testserver.sh"
|
||||
source "${BASH_SOURCE%/*}/docker_testserver.sh"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -35,35 +35,28 @@
|
||||
|
||||
set -ex
|
||||
|
||||
case ${BASH_SOURCE[0]} in
|
||||
*/linux/*) SERVER_PATH="${BASH_SOURCE[0]%/linux/*}/shared/testserver" ;;
|
||||
*/*) SERVER_PATH="${BASH_SOURCE[0]%/*}/../shared/testserver" ;;
|
||||
*) SERVER_PATH="../shared/testserver" ;;
|
||||
esac
|
||||
|
||||
# testserver shared scripts
|
||||
source "$SERVER_PATH/testserver_util.sh"
|
||||
|
||||
# Using SHA-1 of each server context as the tag of docker images. A tag labels a
|
||||
# specific image version. It is used by docker compose file (docker-compose.yml)
|
||||
# to launch the corresponding docker containers. If one of the server contexts
|
||||
# (./apache2, ./danted, ...) gets changes, all the related compose files in
|
||||
# qtbase should be updated as well.
|
||||
#
|
||||
# For example, here's how to get the SHA-1 of apache test server.
|
||||
# find ./apache2 -type f -print0 | sort -z | xargs -r0 sha1sum | \
|
||||
# awk '{ print $1 }' | sha1sum | awk '{ print $1 }'
|
||||
|
||||
testserver='apache2 squid vsftpd ftp-proxy danted'
|
||||
source "$SERVER_PATH/settings.sh"
|
||||
|
||||
for server in $testserver
|
||||
do
|
||||
context="${BASH_SOURCE%/*}/$server"
|
||||
sha1=$(find $context -type f -print0 | sort -z | xargs -r0 sha1sum | awk '{ print $1 }' | \
|
||||
sha1sum | awk '{ print $1 }')
|
||||
sudo docker build -t qt-test-server-$server:$sha1 $context
|
||||
|
||||
# transition - The fixed tag is temporarily used by CI to pass the qtbase testing.
|
||||
case $server in
|
||||
apache2) fixed_tag="cc9ea678b92bdda33acb9fa0159bb4ad0f3cd947" ;;
|
||||
squid) fixed_tag="577d99307eea9a8cccfec944d25be2bce2fe99cc" ;;
|
||||
vsftpd) fixed_tag="18896604c7e90b543e56d80c8a8aabdb65a590d0" ;;
|
||||
ftp-proxy) fixed_tag="2c6c8f1ab6a364b540c43d705fb6f15a585cb2af" ;;
|
||||
danted) fixed_tag="327dd56c3c35db85b26fac93213a5a1918475bc7" ;;
|
||||
esac
|
||||
[ -z "$fixed_tag" ] || \
|
||||
sudo docker tag qt-test-server-$server:$sha1 qt-test-server-$server:$fixed_tag
|
||||
context="$SERVER_PATH/$server"
|
||||
# Sort files by their SHA-1 and use the accumulated result as the TAG
|
||||
sudo docker build -t qt-test-server-$server:$(sha1tree $context) $context
|
||||
done
|
||||
|
||||
sudo docker images
|
||||
@@ -49,7 +49,7 @@ echo "$sha1 $targetFile" | sha1sum --check
|
||||
if [ ! -d "$targetFolder" ]; then
|
||||
mkdir -p $targetFolder
|
||||
fi
|
||||
sudo tar -C $targetFolder -xvzf $targetFile
|
||||
sudo tar -C $targetFolder -xzf $targetFile
|
||||
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||
|
||||
# Verify that we have last file in tar
|
||||
|
||||
@@ -41,8 +41,8 @@ set -ex
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
targetFolder="/opt/"
|
||||
sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/qnx700-20180801-linux.tar.xz"
|
||||
sha1="5d2c8f531823b1f7a2e20968dc698c187c7de94c"
|
||||
sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/qnx700-20190325-linux.tar.xz"
|
||||
sha1="a278234bf38cc70ead98fc0a8d2e63070fb69621"
|
||||
folderName="qnx700"
|
||||
targetFile="qnx700.tar.xz"
|
||||
wget --tries=5 --waitretry=5 --progress=dot:giga --output-document="$targetFile" "$sourceFile"
|
||||
|
||||
47
coin/provisioning/common/linux/telegraf-coin.conf
Normal file
47
coin/provisioning/common/linux/telegraf-coin.conf
Normal file
@@ -0,0 +1,47 @@
|
||||
[global_tags]
|
||||
[agent]
|
||||
interval = "10s"
|
||||
round_interval = true
|
||||
metric_batch_size = 100
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "5s"
|
||||
precision = ""
|
||||
logfile = "/var/log/telegraf-coin.log"
|
||||
hostname = "$COIN_UNIQUE_JOB_ID"
|
||||
omit_hostname = false
|
||||
[[outputs.influxdb]]
|
||||
urls= ["https://qtinfluxdb01.intra.qt.io:8086"]
|
||||
insecure_skip_verify = true
|
||||
database = "coin_vms"
|
||||
skip_database_creation = true
|
||||
username = "coin_vms_writer"
|
||||
password = "COIN_VMS_WRITER_PASS"
|
||||
[[inputs.cpu]]
|
||||
percpu = true
|
||||
totalcpu = true
|
||||
collect_cpu_time = false
|
||||
report_active = false
|
||||
[[inputs.disk]]
|
||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
|
||||
[[inputs.diskio]]
|
||||
[[inputs.kernel]]
|
||||
[[inputs.mem]]
|
||||
[[inputs.processes]]
|
||||
[[inputs.swap]]
|
||||
[[inputs.system]]
|
||||
[[inputs.kernel_vmstat]] # linux-only
|
||||
[[inputs.netstat]]
|
||||
|
||||
|
||||
# Monitor Coin process
|
||||
[[inputs.procstat]]
|
||||
exe = "coin-"
|
||||
pid_finder = "native"
|
||||
|
||||
|
||||
# Monitor I/O latency
|
||||
[[inputs.exec]]
|
||||
data_format = "influx"
|
||||
commands = [ "/usr/bin/telegraf-ioping.sh /" ]
|
||||
@@ -1,3 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# Will install homebrew package manager for macOS
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </dev/null
|
||||
|
||||
|
||||
# Will install homebrew package manager for macOS.
|
||||
# WARNING: Requires commandlinetools
|
||||
|
||||
# TODO audit and cache this file locally, see QTQAINFRA-3134
|
||||
curl -L -o /tmp/homebrew_install https://raw.githubusercontent.com/Homebrew/install/master/install
|
||||
|
||||
/usr/bin/ruby /tmp/homebrew_install </dev/null
|
||||
|
||||
brew update
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -33,23 +33,38 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Install required packages with APT
|
||||
|
||||
set -ex
|
||||
# Increase the soft and hard RLIMIT_NOFILE and RLIMIT_NPROC limits.
|
||||
# By default they are 256/unlimited and 709/1064
|
||||
# and they sometimes create problems to the build process and telegraf.
|
||||
|
||||
echo "Disabling auto update"
|
||||
sudo sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/' /etc/apt/apt.conf.d/10periodic
|
||||
for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.service; do
|
||||
sudo systemctl stop $service
|
||||
sudo systemctl disable $service
|
||||
done
|
||||
|
||||
installPackages+=(git)
|
||||
installPackages+=(p7zip-full)
|
||||
installPackages+=(expect)
|
||||
set -e
|
||||
|
||||
echo "Running update for apt"
|
||||
sudo apt-get update
|
||||
echo "Installing packages"
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
|
||||
echo "Current limits are:"
|
||||
ulimit -a
|
||||
launchctl limit
|
||||
|
||||
$CMD_INSTALL -m 644 -o root -g wheel \
|
||||
$PROVISIONING_DIR/common/macos/limit.maxfiles.plist \
|
||||
$PROVISIONING_DIR/common/macos/limit.maxproc.plist \
|
||||
/Library/LaunchDaemons/
|
||||
|
||||
# Activate the new limits immediately (not for the current session though)
|
||||
sudo launchctl load -w /Library/LaunchDaemons/limit.maxfiles.plist
|
||||
sudo launchctl load -w /Library/LaunchDaemons/limit.maxproc.plist
|
||||
|
||||
echo "After adjusting, limits are:"
|
||||
ulimit -a
|
||||
launchctl limit
|
||||
|
||||
|
||||
# NOTE: If the limits are not increased enough, it might be because of
|
||||
# restrictions set by the kernel. They can be temporarily altered with:
|
||||
|
||||
# sudo sysctl -w kern.maxproc=xxxx
|
||||
# sudo sysctl -w kern.maxprocperuid=xxx
|
||||
@@ -50,7 +50,7 @@ function InstallCommandLineTools {
|
||||
hdiutil attach "/tmp/$packageName"
|
||||
cd "/Volumes/Command Line Developer Tools"
|
||||
echo "Installing"
|
||||
sudo installer -verbose -pkg ./*.pkg -target /
|
||||
sudo installer -pkg ./*.pkg -target /
|
||||
cd /
|
||||
# Let's fait for 5 second before unmounting. Sometimes resource is busy and cant be unmounted
|
||||
sleep 3
|
||||
|
||||
@@ -40,7 +40,6 @@ set -ex
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
brew update
|
||||
brew install ${BASH_SOURCE%/*}/libiodbc.rb
|
||||
|
||||
# CPLUS_INCLUDE_PATH is set so clang and configure can find libiodbc
|
||||
|
||||
20
coin/provisioning/common/macos/limit.maxfiles.plist
Normal file
20
coin/provisioning/common/macos/limit.maxfiles.plist
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>limit.maxfiles</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>launchctl</string>
|
||||
<string>limit</string>
|
||||
<string>maxfiles</string>
|
||||
<string>65536</string>
|
||||
<string>524288</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>ServiceIPC</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
20
coin/provisioning/common/macos/limit.maxproc.plist
Normal file
20
coin/provisioning/common/macos/limit.maxproc.plist
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>limit.maxproc</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>launchctl</string>
|
||||
<string>limit</string>
|
||||
<string>maxproc</string>
|
||||
<string>8192</string>
|
||||
<string>32768</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>ServiceIPC</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -42,9 +42,9 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
# shellcheck source=./pip.sh
|
||||
source "${BASH_SOURCE%/*}/pip.sh"
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-2.7.14-macosx10.6.pkg"
|
||||
AltUrl="https://www.python.org/ftp/python/2.7.14/python-2.7.14-macosx10.6.pkg"
|
||||
SHA1="fa2bb77243ad0cb611aa3295204fab403bb0fa09"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-2.7.16-macosx10.6.pkg"
|
||||
AltUrl="https://www.python.org/ftp/python/2.7.16/python-2.7.16-macosx10.6.pkg"
|
||||
SHA1="895a8327a58e7c0e58852638ab3d84843643535b"
|
||||
DestDir="/"
|
||||
|
||||
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
||||
@@ -55,5 +55,5 @@ InstallPip python2.7
|
||||
|
||||
SetEnvVar "PATH" "/Library/Frameworks/Python.framework/Versions/2.7/bin/:\$PATH"
|
||||
|
||||
echo "python2 = 2.7.14" >> ~/versions.txt
|
||||
echo "python2 = 2.7.16" >> ~/versions.txt
|
||||
|
||||
|
||||
51
coin/provisioning/common/macos/telegraf-coin.conf
Normal file
51
coin/provisioning/common/macos/telegraf-coin.conf
Normal file
@@ -0,0 +1,51 @@
|
||||
[global_tags]
|
||||
[agent]
|
||||
interval = "10s"
|
||||
round_interval = true
|
||||
metric_batch_size = 100
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "5s"
|
||||
precision = ""
|
||||
logfile = "/var/log/telegraf-coin.log"
|
||||
hostname = "$COIN_UNIQUE_JOB_ID"
|
||||
omit_hostname = false
|
||||
[[outputs.influxdb]]
|
||||
urls= ["https://qtinfluxdb01.intra.qt.io:8086"]
|
||||
insecure_skip_verify = true
|
||||
database = "coin_vms"
|
||||
skip_database_creation = true
|
||||
username = "coin_vms_writer"
|
||||
password = "COIN_VMS_WRITER_PASS"
|
||||
#[[inputs.cpu]] # linux-only
|
||||
# percpu = true
|
||||
# totalcpu = true
|
||||
# collect_cpu_time = false
|
||||
# report_active = false
|
||||
[[inputs.disk]]
|
||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
|
||||
#[[inputs.diskio]] # linux-only
|
||||
[[inputs.kernel]]
|
||||
[[inputs.mem]]
|
||||
[[inputs.processes]]
|
||||
[[inputs.swap]]
|
||||
[[inputs.system]]
|
||||
#[[inputs.kernel_vmstat]] # linux-only
|
||||
[[inputs.netstat]]
|
||||
|
||||
|
||||
# Monitor Coin process
|
||||
[[inputs.procstat]]
|
||||
exe = "coin-"
|
||||
# Buggy on macOS if using the "native" pid_finder, see:
|
||||
# https://github.com/influxdata/telegraf/issues/6265
|
||||
# Tested 1.12.1 version that "native" pid_finder has been fixed,
|
||||
# but it is slow and times out frequently
|
||||
pid_finder = "pgrep"
|
||||
|
||||
|
||||
# Monitor I/O latency
|
||||
[[inputs.exec]]
|
||||
data_format = "influx"
|
||||
commands = [ "/usr/bin/telegraf-ioping.sh /" ]
|
||||
@@ -0,0 +1,52 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1
|
||||
|
||||
mQINBFYJmwQBEADCw7mob8Vzk+DmkYyiv0dTU/xgoSlp4SQwrTzat8MB8jxmx60l
|
||||
QjmhqEyuB8ho4zzZF9KV+gJWrG6Rj4t69JMTJWM7jFz+0B1PC7kJfNM+VcBmkTnj
|
||||
fP+KJjqz50ETnsF0kQTG++UJeRYjG1dDK0JQNQJAM6NQpIWJI339lcDf15vzrMnb
|
||||
OgIlNxV6j1ZZqkle4fvScF1NQxYScRiL+sRgVx92SI4SyD/xZnVGD/szB+4OCzah
|
||||
+0Q/MnNGV6TtN0RiCDZjIUYiHoeT9iQXEONKf7T62T4zUafO734HyqGvht93MLVU
|
||||
GQAeuyx0ikGsULfOsJfBmb3XJS9u+16v7oPFt5WIbeyyNuhUu0ocK/PKt5sPYR4u
|
||||
ouPq6Ls3RY3BGCH9DpokcYsdalo51NMrMdnYwdkeq9MEpsEKrKIN5ke7fk4weamJ
|
||||
BiLI/bTcfM7Fy5r4ghdI9Ksw/ULXLm4GNabkIOSfT7UjTzcBDOvWfKRBLX4qvsx4
|
||||
YzA5kR+nX85u6I7W10aSqBiaLqk6vCj0QmBmCjlSeYqNQqSzH/6OoL6FZ7lP6AiG
|
||||
F2NyGveJKjugoXlreLEhOYp20F81PNwlRBCAlMC2Q9mpcFu0dtAriVoG4gVDdYn5
|
||||
t+BiGfD2rJlCinYLgYBDpTPcdRT3VKHWqL9fcC4HKmic0mwWg9homx550wARAQAB
|
||||
tDFJbmZsdXhEQiBQYWNrYWdpbmcgU2VydmljZSA8c3VwcG9ydEBpbmZsdXhkYi5j
|
||||
b20+iQI3BBMBCgAhBQJWCZsEAhsDBQsJCAcDBRUKCQgLBRYDAgEAAh4BAheAAAoJ
|
||||
EGhKFM8lguDF9XEQAK9rREnZt6ujh7GXfeNki35bkn39q8GYh0mouShFbFY9o0i3
|
||||
UJVChsxokJSRPgFh9GOhOPTupl3rzfdpD+IlWI2Myt6han2HOjZKNZ4RGNrYJ5UR
|
||||
uxt4dKMWlMbpkzL56bhHlx97RoXKv2d2zRQfw9nyZb6t3lw2k2kKXsMxjGa0agM+
|
||||
2SropwYOXdtkz8UWaGd3LYxwEvW3AuhI8EEEHdLetQaYe9sANDvUEofgFbdsuICH
|
||||
9QLmbYavk7wyGTPBKfPBbeyTxwW2rMUnFCNccMKLm1i5NpZYineBtQbX2cfx9Xsk
|
||||
1JLOzEBmNal53H2ob0kjev6ufzOD3s8hLu4KMCivbIz4YT3fZyeExn0/0lUtsQ56
|
||||
5fCxE983+ygDzKsCnfdXqm3GgjaI90OkNr1y4gWbcd5hicVDv5fD3TD9f0GbpDVw
|
||||
yDz8YmvNzxMILt5Glisr6aH7gLG/u8jxy0D8YcBiyv5kfY4vMI2yXHpGg1cn/sVu
|
||||
ZB01sU09VVIM2BznnimyAayI430wquxkZCyMx//BqFM1qetIgk1wDZTlFd0n6qtA
|
||||
fDmXAC4s5pM5rfM5V57WmPaIqnRIaESJ35tFUFlCHfkfl/N/ribGVDg1z2KDW08r
|
||||
96oEiIIiV4GfXl+NprJqpNS3Cn+aCXtd7/TsDScDEgs4sMaR29Lsf26cuWk8uQIN
|
||||
BFYJmwQBEADDPi3fmwn6iwkiDcH2E2V31cHlBw9OdJfxKVUdyAQEhTtqmG9P8XFZ
|
||||
ERRQF155XLQPLvRlUlq7vEYSROn5J6BAnsjdjsH9LmFMOEV8CIRCRIDePG/Mez2d
|
||||
nIK5yiU6GkS3IFaQg2T9/tOBKxm0ZJPfqTXbT4jFSfvYJ3oUqc+AyYxtb8gj1GRk
|
||||
X283/86/bA3C98u7re1vPtiDRyM8r0+lhEc59Yx/EAOL+X2gZyTgyUoH+LLuOWQK
|
||||
s1egI8y80R8NZfM1nMiQk2ywMsTFwQjSVimScvzqv5Nt8k8CvHUQ3a6R+6doXGNX
|
||||
5RnUqn9Qvmh0JY5sNgFsoaGbuk2PJrVaGBRnfnjaDqAlZpDhwkWhcCcguNhRbRHp
|
||||
N7/a0pQr70bAG9VikzLyGC17EU0sxney/hyNHkr4Uyy2OXHpuJvRjVKy/BwZ3fxA
|
||||
AYX2oZIOxQB3/OulzO/DppaCVhRtp1bt+Z5f+fpisiVb5DvZcMdeyAoQ4+oOr7v3
|
||||
EasIs2XYcQ+kOE3Y2kdlHWBeuXzxgWgJZ1OOpwGMjR3Uy6IwhuSWtreJBA4er+Df
|
||||
vgSPwKBsRLNLbPe3ftjArnC5GfMiGgikVdAUdN4OkEqvUbkRoAVGKTOMLUKm+ZkG
|
||||
OskJOVYS+JAina0qkYEFF7haycMjf9olhqLmTIC+6X7Ox9R2plaOhQARAQABiQIf
|
||||
BBgBCgAJBQJWCZsEAhsMAAoJEGhKFM8lguDF8ZIP/1q9Sdz8oMvf9AJXZ7AYxm77
|
||||
V+kJzJqi62nZLWJnrFXDZJpU+LkYlb3fstsZ1rvBhnrEPSmFxoj72CP0RtcyX7wJ
|
||||
dA7K1Fl9LpJi5H8300cC7UyG94MUYbrXijbLTbnFTfNr1tGx4a1T/7Yyxx/wZGrT
|
||||
H/X8cvNybkl33SxDdlQQ9kx3lFOwC41e3TkGsUWxn3TCfvDh8VdA6Py6JeSPFGOb
|
||||
MEO2/q7oUgvjfV+ivN5ayZi9bWgeqm1sgtmTHHQ4RqwwKrAb5ynXpn1b9QrkevgT
|
||||
b91uzMA22Prl4DuzKiaMYDcZOQ3vtf0eFBP0GOSSgUKS4bQ3dGgi1JmQ7VuAM4uj
|
||||
+Ug5TnGoLwclTwLksc7v89C5MMPgm2vVXvCUDzyzQA7bIHFeX+Rziby4nymec4Nr
|
||||
eeXYNBJWrEp8XR7UNWmEgroXRoN1x9/6esh5pnoUXGAIWuKzSLQM70/wWxS67+v2
|
||||
aC1GNb+pXXAzYeIIiyLWaZwCSr8sWMvshFT9REk2+lnb6sAeJswQtfTUWI00mVqZ
|
||||
dvI3Wys2h0IyIejuwetTUvGhr9VgpqiLLfGzGlt/y2sg27wdHzSJbMh0VrVAK26/
|
||||
BlvEwWDCFT0ZJUMG9Lvre25DD0ycbougLsRYjzmGb/3k3UktS3XTCxyBa/k3TPw3
|
||||
vqIHrEqk446nGPDqJPS5
|
||||
=9iF7
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
26
coin/provisioning/common/shared/telegraf/telegraf-ioping.sh
Normal file
26
coin/provisioning/common/shared/telegraf/telegraf-ioping.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Measure I/O latency once, return data in InfluxDB format
|
||||
#
|
||||
# Run one ioping command for read, and one for write.
|
||||
# Each one sends 3 requests and reports the minimum time, in nanoseconds.
|
||||
# (Because of limitations of ioping, we can't just send one request and get
|
||||
# the number back in the batch format. Additionally, the number seems to be
|
||||
# fluctuating quite a bit so taking the smallest number out of 3 requests is
|
||||
# stabilising it a bit.)
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
[ x"$1" = x ] && echo "$0 takes a path as a first argument" && exit 1
|
||||
|
||||
# Try to run in high priority to avoid slow-downs because of
|
||||
# factors other than I/O.
|
||||
renice -n -10 -p $$ >/dev/null 2>&1 || true
|
||||
|
||||
|
||||
rlatency="$(ioping -B -k -c 3 -i 0.1 "$1" | cut -d " " -f 5)"
|
||||
wlatency="$(ioping -B -k -c 3 -i 0.1 -W "$1" | cut -d " " -f 5)"
|
||||
|
||||
printf "ioping,path=$1 read_latency_ns=%u,write_latency_ns=%u\n" \
|
||||
$rlatency $wlatency
|
||||
@@ -0,0 +1,6 @@
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_windows_i386.zip d2dea67a28fd7a9e21395d14f0b7ce1b6413e85cc9ffd89cc7ff8f35e8af5837
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_windows_amd64.zip 88d8c8146b561f43726e61688b42d0b5ab88fc22607b94df5a2c8245bbb27e29
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_darwin_amd64.tar.gz 58a2b294c1b6408c396b5526719cf7cad557f7075fed10ff0b2a74141ea2d629
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_linux_amd64.tar.gz 070a76800d1a5f33413b8948286f75caa55ebd924f6fb6996a753b9979799ef5
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_linux_i386.tar.gz 964077b6846708f579a100d7ea6090e2d8350ace75ec735d539bc452bc551038
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1-static_linux_amd64.tar.gz bb03814c99c037ce0758e3884660910f2f6fd78f3d49a8e1ef531693b3cfe25d
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -35,5 +35,16 @@
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/mqtt_broker.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
|
||||
TestMachine='qt-test-server'
|
||||
|
||||
# Deploy docker virtual machine (Boot2Docker) into VirtualBox only if it doesn't exist
|
||||
if [ -z $(docker-machine ls -q --filter "name=$TestMachine") ]
|
||||
then
|
||||
docker-machine create -d virtualbox $TestMachine
|
||||
docker-machine ip $TestMachine
|
||||
fi
|
||||
|
||||
# Switch the docker engine to $TestMachine
|
||||
eval $(docker-machine env $TestMachine)
|
||||
|
||||
docker-machine ls
|
||||
6
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/60-qnx660.sh → coin/provisioning/common/shared/testserver/settings.sh
Executable file → Normal file
6
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/60-qnx660.sh → coin/provisioning/common/shared/testserver/settings.sh
Executable file → Normal file
@@ -1,5 +1,3 @@
|
||||
#!/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
@@ -35,5 +33,5 @@
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/linux/qnx_660.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/qnx_660.sh"
|
||||
# A list of test servers to be provisioned
|
||||
testserver='apache2 squid vsftpd ftp-proxy danted'
|
||||
@@ -1,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -35,5 +33,9 @@
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/linux/openssl_for_android_linux.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/openssl_for_android_linux.sh"
|
||||
# Sort files by their SHA-1, and then return the accumulated result
|
||||
sha1tree () {
|
||||
find "$@" -type f -print0 | \
|
||||
xargs -0 shasum | cut -d ' ' -f 1 | \
|
||||
sort | shasum | cut -d ' ' -f 1
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -33,31 +33,78 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
|
||||
# A helper script used for downloading a file from a URL or an alternative
|
||||
# URL. Also the SHA1 is checked for the file. Target filename should also
|
||||
# be given.
|
||||
#
|
||||
# If called directly from another script, it will exit the parent script
|
||||
# as well, if not called in its own subshell with parentheses.
|
||||
# URL. Also the SHA is checked for the file (SHA algorithm is autodetected
|
||||
# based on the SHA length). Target filename should also be given.
|
||||
|
||||
set -ex
|
||||
############################ BOILERPLATE ###############################
|
||||
command -v sha1sum >/dev/null || alias sha1sum='shasum -a 1'
|
||||
command -v sha256sum >/dev/null || alias sha256sum='shasum -a 256'
|
||||
command -v sha384sum >/dev/null || alias sha384sum='shasum -a 384'
|
||||
command -v sha512sum >/dev/null || alias sha512sum='shasum -a 512'
|
||||
########################################################################
|
||||
|
||||
function DownloadURL {
|
||||
url=$1
|
||||
url_alt=$2
|
||||
expectedSha1=$3
|
||||
targetFile=$4
|
||||
|
||||
echo "Downloading from primary URL '$url'"
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || {
|
||||
echo "Failed to download '$url' multiple times"
|
||||
echo "Downloading from alternative URL '$url_alt'"
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt" || { echo 'Failed to download even from alternative url'; exit 1; }
|
||||
}
|
||||
Download () {
|
||||
url="$1"
|
||||
targetFile="$2"
|
||||
|
||||
echo "Checking SHA1 on PKG '$targetFile'"
|
||||
echo "$expectedSha1 *$targetFile" > "$targetFile.sha1"
|
||||
sha1sum --check "$targetFile.sha1"
|
||||
rm -f "$targetFile.sha1"
|
||||
command -v curl >/dev/null \
|
||||
&& curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" \
|
||||
|| wget --tries 5 -O "$targetFile" "$url"
|
||||
}
|
||||
|
||||
VerifyHash () {
|
||||
file=$1
|
||||
expectedHash=$2
|
||||
|
||||
if [ ! -f "$file" ]
|
||||
then return 2 # file does not exist
|
||||
fi
|
||||
|
||||
|
||||
hashLength="$(echo "$expectedHash" | wc -c | sed 's/ *//g')"
|
||||
# Use backticks because of bug with bash-3 (default on macOS),
|
||||
# caused when there are unbalanced parentheses inside $()
|
||||
# shellcheck disable=SC2006
|
||||
hash=`case "$hashLength" in
|
||||
41) sha1sum "$file" ;;
|
||||
65) sha256sum "$file" ;;
|
||||
97) sha384sum "$file" ;;
|
||||
129) sha512sum "$file" ;;
|
||||
*) echo "FATAL! Unknown hash length: $hashLength" 1>&2 && exit 1 ;;
|
||||
esac | cut -d ' ' -f 1`
|
||||
|
||||
if [ ! "$expectedHash" = "$hash" ]
|
||||
then
|
||||
echo "FAIL! wrong file hash: $file $hash" 1>&2
|
||||
return 1
|
||||
fi
|
||||
echo "OK verified integrity of: $file"
|
||||
}
|
||||
|
||||
# Check if file already exists and is good, otherwise download it
|
||||
DownloadURL () {
|
||||
url=$1
|
||||
url2=$2
|
||||
expectedHash=$3
|
||||
targetFile=$4
|
||||
|
||||
if VerifyHash "$targetFile" "$expectedHash"
|
||||
then
|
||||
echo "Skipping download, found and validated existing file: $targetFile"
|
||||
else
|
||||
echo "Downloading from primary URL: $url"
|
||||
if ! Download "$url" "$targetFile"
|
||||
then
|
||||
echo "FAIL! to download, trying alternative URL: $url2" 1>&2
|
||||
if ! Download "$url" "$targetFile"
|
||||
then
|
||||
echo 'FAIL! to download even from alternative url' 1>&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
VerifyHash "$targetFile" "$expectedHash"
|
||||
fi
|
||||
}
|
||||
|
||||
139
coin/provisioning/common/unix/common.sourced.sh
Normal file
139
coin/provisioning/common/unix/common.sourced.sh
Normal file
@@ -0,0 +1,139 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
|
||||
# Script to be sourced from everywhere you need a common environment. Defines:
|
||||
export PROVISIONING_DIR
|
||||
export PROVISIONING_OS
|
||||
export PROVISIONING_OS_ID
|
||||
export PROVISIONING_ARCH
|
||||
export CMD_PKG_INSTALL
|
||||
export CMD_PKG_LOCALINSTALL
|
||||
export CMD_INSTALL
|
||||
|
||||
|
||||
|
||||
if [ x"$IS_PROVISIONING_COMMON_SOURCED" != x ]
|
||||
then
|
||||
echo "common.sourced.sh has already been sourced, re-sourcing skipped"
|
||||
return
|
||||
fi
|
||||
|
||||
# Do not export; you want children to re-source, because they only inherit the
|
||||
# variables but not the functions
|
||||
IS_PROVISIONING_COMMON_SOURCED=1
|
||||
|
||||
|
||||
fatal () {
|
||||
echo "$1" 1>&2
|
||||
if [ x"$2" != x ]
|
||||
then exit "$2"
|
||||
else exit
|
||||
fi
|
||||
}
|
||||
|
||||
is_script_executed () {
|
||||
[ x"$(basename "$0")" = x"$1" ]
|
||||
}
|
||||
|
||||
|
||||
is_script_executed common.sourced.sh \
|
||||
&& fatal "Script common.sourced.sh should always be sourced, not executed"
|
||||
|
||||
|
||||
set_common_environment () {
|
||||
# Unfortunately we can't find the provisioning directory from a sourced
|
||||
# script in a portable way
|
||||
# PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
|
||||
[ x"$PROVISIONING_DIR" = x ] \
|
||||
&& fatal "PROVISIONING_DIR variable needs to be set before calling set_common_environment"
|
||||
|
||||
uname_s="$(uname -s)"
|
||||
case "$uname_s" in
|
||||
Linux)
|
||||
PROVISIONING_OS=linux
|
||||
. /etc/os-release
|
||||
PROVISIONING_OS_ID="$ID"
|
||||
case "$PROVISIONING_OS_ID" in
|
||||
suse|sles|opensuse*)
|
||||
CMD_PKG_INSTALL="sudo zypper -nq install"
|
||||
CMD_PKG_LOCALINSTALL="sudo zypper --no-gpg-checks -nq install"
|
||||
;;
|
||||
debian|ubuntu)
|
||||
CMD_PKG_INSTALL="sudo apt -y install"
|
||||
CMD_PKG_LOCALINSTALL="sudo apt -y install"
|
||||
;;
|
||||
rhel|centos|fedora)
|
||||
CMD_PKG_INSTALL="sudo yum -y install"
|
||||
CMD_PKG_LOCALINSTALL="sudo yum -y --nogpgcheck localinstall"
|
||||
;;
|
||||
*) fatal "Unknown ID in /etc/os-release: $PROVISIONING_OS_ID" ;;
|
||||
esac
|
||||
;;
|
||||
Darwin)
|
||||
PROVISIONING_OS=macos
|
||||
PROVISIONING_OS_ID=macos
|
||||
CMD_PKG_INSTALL="brew install"
|
||||
CMD_PKG_LOCALINSTALL="echo 'TODO how to install a package file on macOS'"
|
||||
;;
|
||||
*)
|
||||
fatal "Unknown system in uname: $uname_s" 42
|
||||
;;
|
||||
esac
|
||||
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64) PROVISIONING_ARCH=amd64 ;;
|
||||
i[3456]86) PROVISIONING_ARCH=x86 ;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
CMD_INSTALL="sudo install"
|
||||
}
|
||||
|
||||
set_common_environment
|
||||
|
||||
set_dry_run () {
|
||||
if [ x"$PROVISIONING_DRY_RUN" != x ]
|
||||
then
|
||||
CMD_PKG_INSTALL="echo DRYRUN: $CMD_PKG_INSTALL"
|
||||
CMD_PKG_LOCALINSTALL="echo DRYRUN: $CMD_PKG_LOCALINSTALL"
|
||||
CMD_INSTALL="echo DRYRUN: $CMD_INSTALL"
|
||||
fi
|
||||
}
|
||||
|
||||
set_dry_run
|
||||
@@ -32,25 +32,41 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=./InstallFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=./SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
|
||||
version="1.38.16"
|
||||
version="1.38.27"
|
||||
version_node="8.9.1"
|
||||
urlEmscriptenCache="http://ci-files01-hki.intra.qt.io/input/emsdk/emscripten-$version.tar.gz"
|
||||
urlEmscriptenExternal="https://github.com/kripken/emscripten/archive/$version.tar.gz"
|
||||
urlEmscriptenLlvmCache="http://ci-files01-hki.intra.qt.io/input/emsdk/emscripten-llvm-e$version.tar.gz"
|
||||
urlEmscriptenLlvmExternal="https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/tag/linux_64bit/emscripten-llvm-e$version.tar.gz"
|
||||
urlNodeCache="http://ci-files01-hki.intra.qt.io/input/emsdk/node-v$version_node-linux-x64.tar.xz"
|
||||
urlNodeExternal="https://s3.amazonaws.com/mozilla-games/emscripten/packages/node-v$version_node-linux-x64.tar.xz"
|
||||
sha1Emscripten="353ad7bf614f73b73ed1d05aedd66321d679e03d"
|
||||
sha1EmscriptenLlvm="e132c26ad657c07f88cc550fd23f1d6f1b6c0673"
|
||||
sha1Node="eaec5de2af934f7ebc7f9597983e71c5d5a9a726"
|
||||
urlOfficial="https://s3.amazonaws.com/mozilla-games/emscripten/packages"
|
||||
urlCache="http://ci-files01-hki.intra.qt.io/input/emsdk"
|
||||
targetFolder="/opt/emsdk"
|
||||
|
||||
urlEmscriptenCache="$urlCache/emscripten-$version.tar.gz"
|
||||
urlEmscriptenExternal="https://github.com/kripken/emscripten/archive/$version.tar.gz"
|
||||
sha1Emscripten="ff9748a8f6b8eaa8192cce9fe2befc801443a161"
|
||||
|
||||
if uname -a |grep -q Darwin; then
|
||||
urlEmscriptenLlvmCache="$urlCache/macos/emscripten-llvm-e$version.tar.gz"
|
||||
urlEmscriptenLlvmExternal="$urlOfficial/llvm/tag/osx_64bit/emscripten-llvm-e$version.tar.gz"
|
||||
urlNodeCache="$urlCache/macos/node-v$version_node-darwin-x64.tar.gz"
|
||||
urlNodeExternal="$urlOfficial/node-v$version_node-darwin-x64.tar.gz"
|
||||
sha1EmscriptenLlvm="66dffbc44cfcb7bcb1ed0d2658b519276c3077fa"
|
||||
sha1Node="b9ec6fe9701d385e385886a4b171ba02bb6aead7"
|
||||
node_js="$targetFolder/node-v$version_node-darwin-x64/bin"
|
||||
else
|
||||
urlEmscriptenLlvmCache="$urlCache/linux/emscripten-llvm-e$version.tar.gz"
|
||||
urlEmscriptenLlvmExternal="$urlOfficial/llvm/tag/linux_64bit/emscripten-llvm-e$version.tar.gz"
|
||||
urlNodeCache="$urlCache/linux/node-v$version_node-linux-x64.tar.xz"
|
||||
urlNodeExternal="$urlOfficial/node-v$version_node-linux-x64.tar.xz"
|
||||
sha1EmscriptenLlvm="8f5cd026c98cd40e53e6d11fbc32b116280ef9bb"
|
||||
sha1Node="eaec5de2af934f7ebc7f9597983e71c5d5a9a726"
|
||||
node_js="$targetFolder/node-v$version_node-linux-x64/bin"
|
||||
fi
|
||||
|
||||
sudo mkdir "$targetFolder"
|
||||
|
||||
InstallFromCompressedFileFromURL "$urlEmscriptenCache" "$urlEmscriptenExternal" "$sha1Emscripten" "$targetFolder" ""
|
||||
@@ -64,7 +80,7 @@ cat <<EOM >"$targetFolder/.emscripten"
|
||||
LLVM_ROOT='$targetFolder/emscripten-llvm-e$version/'
|
||||
EMSCRIPTEN_NATIVE_OPTIMIZER='$targetFolder/emscripten-llvm-e$version/optimizer'
|
||||
BINARYEN_ROOT='$targetFolder/emscripten-llvm-e$version/binaryen'
|
||||
NODE_JS='$targetFolder/node-v$version_node-linux-x64/bin/node'
|
||||
NODE_JS='$node_js/node'
|
||||
EMSCRIPTEN_ROOT='$targetFolder/emscripten-$version'
|
||||
SPIDERMONKEY_ENGINE = ''
|
||||
V8_ENGINE = ''
|
||||
@@ -73,7 +89,7 @@ COMPILER_ENGINE = NODE_JS
|
||||
JS_ENGINES = [NODE_JS]
|
||||
EOM
|
||||
|
||||
SetEnvVar "PATH" "\"$targetFolder/emscripten-llvm-e$version/:$targetFolder/node-v$version_node-linux-x64/bin:$targetFolder/emscripten-$version:\$PATH\""
|
||||
SetEnvVar "PATH" "\"\$PATH:$targetFolder/emscripten-llvm-e$version/:$node_js:$targetFolder/emscripten-$version\""
|
||||
SetEnvVar "EMSCRIPTEN" "$targetFolder/emscripten-$version"
|
||||
SetEnvVar "EM_CONFIG" "$targetFolder/.emscripten"
|
||||
|
||||
@@ -64,7 +64,7 @@ if uname -a |grep -q Darwin; then
|
||||
else
|
||||
./configure
|
||||
fi
|
||||
make
|
||||
make -j5
|
||||
sudo make install
|
||||
|
||||
# Refresh shared library cache if OS isn't macOS
|
||||
|
||||
@@ -122,7 +122,7 @@ function MountAndInstall {
|
||||
sudo cp $targetFileMount /tmp
|
||||
UnMount
|
||||
sudo hdiutil attach "/tmp/$targetFile"
|
||||
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
||||
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null
|
||||
mountFolder="/Volumes/froglogic Squish"
|
||||
UnMount
|
||||
elif [[ $targetFile == *.run ]]; then
|
||||
@@ -130,7 +130,7 @@ function MountAndInstall {
|
||||
sudo cp $targetFileMount $targetDirectory
|
||||
UnMount
|
||||
sudo chmod +x $targetDirectory/$targetFile
|
||||
sudo $targetDirectory/$targetFile unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
||||
sudo $targetDirectory/$targetFile unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null
|
||||
sudo rm -fr "$targetDirectory/$targetFile"
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
sudo mkdir /usr/lib/tcl8.6
|
||||
|
||||
98
coin/provisioning/common/unix/telegraf_install.sh
Executable file
98
coin/provisioning/common/unix/telegraf_install.sh
Executable file
@@ -0,0 +1,98 @@
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
|
||||
# This script installs telegraf and ioping and our script telegraf-ioping.sh
|
||||
# to the /usr/bin directory.
|
||||
#
|
||||
# The reasons we don't install to /usr/local/bin are:
|
||||
# 1. On SLES and RHEL, the PATH of sudo (secure_path setting in /etc/sudoers)
|
||||
# does not include /usr/local/bin.
|
||||
# 2. On macOS /usr/local/bin does not even exist early in provisioning.
|
||||
|
||||
|
||||
######################## BOILERPLATE ###########################
|
||||
set -e
|
||||
|
||||
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
|
||||
|
||||
is_script_executed telegraf_install.sh \
|
||||
|| fatal "Script telegraf_install.sh should be executed, not sourced"
|
||||
|
||||
################################################################
|
||||
|
||||
|
||||
[ "$PROVISIONING_OS" = linux ] \
|
||||
&& ioping_sha256=259abf04bcb84f4126ff97c04b6651e1cf5ea6d8a9ff364c769a26c95b6eeb44 \
|
||||
|| ioping_sha256=55de6a2f1a5343e0ce8df31d82d47a9e79c7e612edbc6dfb39b5fc6fb358b2e3
|
||||
DownloadURL "http://ci-files01-hki.intra.qt.io/input/ioping/ioping.${PROVISIONING_OS}-${PROVISIONING_ARCH}" \
|
||||
'' "$ioping_sha256" ioping
|
||||
$CMD_INSTALL -m 755 ./ioping /usr/bin/
|
||||
rm -f ioping
|
||||
|
||||
# 2. Install custom ioping monitoring script
|
||||
$CMD_INSTALL -m 755 "$PROVISIONING_DIR"/common/shared/telegraf/telegraf-ioping.sh /usr/bin/
|
||||
|
||||
# 3. Download and install telegraf
|
||||
|
||||
[ x"$PROVISIONING_OS" = xmacos ] && os=darwin || os=linux
|
||||
[ x"$PROVISIONING_ARCH" = xx86 ] && arch=i386 || arch=amd64
|
||||
package_filename=telegraf-1.12.1_${os}_${arch}.tar.gz
|
||||
package_sha256_list="$PROVISIONING_DIR"/common/shared/telegraf/telegraf_packages.sha256.txt
|
||||
package_sha256=$(sed -n "s/.*$package_filename *//p" "$package_sha256_list")
|
||||
|
||||
DownloadURL \
|
||||
http://ci-files01-hki.intra.qt.io/input/telegraf/"$package_filename" \
|
||||
https://dl.influxdata.com/telegraf/releases/"$package_filename" \
|
||||
"$package_sha256" \
|
||||
telegraf.tar.gz
|
||||
|
||||
tar -xzf ./telegraf.tar.gz -C /tmp
|
||||
telegraf_binary=$(find /tmp/telegraf* -name telegraf -type f | grep /bin/ | head -1)
|
||||
$CMD_INSTALL -m 755 "$telegraf_binary" /usr/bin/
|
||||
rm -rf /tmp/telegraf*
|
||||
|
||||
# 4. Edit config file with passwords
|
||||
"$PROVISIONING_DIR"/common/unix/telegraf_password.sh
|
||||
|
||||
# 5. Start telegraf in background (-b) and with retaining the environment (-E)
|
||||
# in order to report as hostname = $COIN_UNIQUE_JOB_ID.
|
||||
/usr/bin/sudo -b -E telegraf --config /etc/telegraf-coin.conf >/dev/null 2>&1
|
||||
|
||||
echo DONE: "Installed and started telegraf: $package_filename"
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -33,27 +33,28 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script modifies system settings for automated use
|
||||
|
||||
set -ex
|
||||
######################## BOILERPLATE ###########################
|
||||
set -e
|
||||
|
||||
# shellcheck source=../common/unix/check_and_set_proxy.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||
|
||||
NTS_IP=10.212.2.216
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.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
|
||||
echo "Disable questions on shutdown."
|
||||
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
|
||||
is_script_executed telegraf_password.sh \
|
||||
|| fatal "Script telegraf_password.sh should be executed, not sourced, to avoid leaking secrets in the logs"
|
||||
# Avoid leaking secrets in the logs
|
||||
set +x
|
||||
################################################################
|
||||
|
||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
|
||||
if [ "$proxy" != "" ]; then
|
||||
echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
|
||||
fi
|
||||
# Provisioning should run even without the secrets repository
|
||||
influxdb_password=$(cut -d : -f 2 ~qt/work/influxdb/coin_vms_writer.auth) \
|
||||
|| influxdb_password=no_password_provided
|
||||
|
||||
rm -f ~qt/work/influxdb/coin_vms_writer.auth
|
||||
sed "s|COIN_VMS_WRITER_PASS|$influxdb_password|" \
|
||||
"$PROVISIONING_DIR"/common/"$PROVISIONING_OS"/telegraf-coin.conf \
|
||||
> .telegraf-coin.conf.final
|
||||
$CMD_INSTALL -m 600 .telegraf-coin.conf.final /etc/telegraf-coin.conf
|
||||
rm -f .telegraf-coin.conf.final
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -31,4 +31,42 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
schtasks /Delete /TN "\Microsoft\Windows\Defrag\ScheduledDefrag" /F
|
||||
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
|
||||
# thus needing its own version.
|
||||
Write-Host "Disabling defragmentation"
|
||||
$version = Get-CimInstance Win32_OperatingSystem | Select-Object -ExpandProperty Caption
|
||||
if ($version -like '*Windows 7*'){
|
||||
$pi = New-Object System.Diagnostics.ProcessStartInfo
|
||||
$pi.FileName = "C:\Windows\System32\schtasks.exe"
|
||||
$pi.RedirectStandardError = $true
|
||||
$pi.UseShellExecute = $false
|
||||
$pi.Arguments = "/Delete /TN `"\Microsoft\Windows\Defrag\ScheduledDefrag`" /F"
|
||||
$prog = New-Object System.Diagnostics.Process
|
||||
$prog.StartInfo = $pi
|
||||
$prog.Start() | Out-Null
|
||||
$err = $prog.StandardError.ReadToEnd()
|
||||
$prog.WaitForExit()
|
||||
if ($prog.ExitCode -eq 0){
|
||||
Write-Host "Scheduled defragmentation removed"
|
||||
} else {
|
||||
if ($err -like '*cannot find the file*'){
|
||||
Write-Host "No scheduled defragmentation task found"
|
||||
exit 0
|
||||
} else {
|
||||
Write-Host "Error while deleting scheduled defragmentation task: $err"
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
try {
|
||||
$state = (Get-ScheduledTask -ErrorAction Stop -TaskName "ScheduledDefrag").State
|
||||
Write-Host "Scheduled defragmentation task found in state: $state"
|
||||
}
|
||||
catch {
|
||||
Write-Host "No scheduled defragmentation task found"
|
||||
exit 0
|
||||
}
|
||||
Write-Host "Unregistering scheduled defragmentation task"
|
||||
Unregister-ScheduledTask -ErrorAction Stop -Confirm:$false -TaskName ScheduledDefrag
|
||||
Write-Host "Scheduled Defragmentation task was cancelled"
|
||||
}
|
||||
|
||||
88
coin/provisioning/common/windows/disable-schedule-tasks.ps1
Normal file
88
coin/provisioning/common/windows/disable-schedule-tasks.ps1
Normal file
@@ -0,0 +1,88 @@
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
# This script will remove unneeded Tasks from Task Scheduler
|
||||
|
||||
# Application Experience 'Microsoft Compatibility Appraiser' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program."
|
||||
DisableSchedulerTask "Application Experience\Microsoft Compatibility Appraiser"
|
||||
|
||||
# Application Experience 'ProgramDataUpdater' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program"
|
||||
DisableSchedulerTask "Application Experience\ProgramDataUpdater"
|
||||
|
||||
# Autochk 'Proxy' - "This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program."
|
||||
DisableSchedulerTask "Autochk\Proxy"
|
||||
|
||||
# Chkdsk 'ProactiveScan' - "NTFS Volume Health Scan"
|
||||
DisableSchedulerTask "Chkdsk\ProactiveScan"
|
||||
|
||||
# Chkdsk 'SyspartRepair'
|
||||
DeleteSchedulerTask "Chkdsk\SyspartRepair"
|
||||
|
||||
# Customer Experience Improvement Program 'Consolidator' - "If the user has consented to participate in the Windows Customer Experience Improvement Program, this job collects and sends usage data to Microsoft."
|
||||
DisableSchedulerTask "Customer Experience Improvement Program\Consolidator"
|
||||
|
||||
# Customer Experience Improvement Program 'sbCeip' - "The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft. The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows. If the user has not consented to participate in Windows CEIP, this task does not do anything."
|
||||
DisableSchedulerTask "Customer Experience Improvement Program\UsbCeip"
|
||||
|
||||
# Device Information 'Device'
|
||||
DisableSchedulerTask "Device Information\Device"
|
||||
|
||||
# Diagnosis 'Scheduled' - "The Windows Scheduled Maintenance Task performs periodic maintenance of the computer system by fixing problems automatically or reporting them through Security and Maintenance."
|
||||
DisableSchedulerTask "Diagnosis\Scheduled"
|
||||
|
||||
# DiskDiagnostic 'Microsoft-Windows-DiskDiagnosticDataCollector' - "The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program."
|
||||
DisableSchedulerTask "DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
|
||||
|
||||
# ExploitGuard 'ExploitGuard MDM policy Refresh' - "Task for applying changes to the machine's Exploit Protection settings."
|
||||
DisableSchedulerTask "ExploitGuard\ExploitGuard MDM policy Refresh"
|
||||
|
||||
# Feedback/Siuf 'DmClient'
|
||||
DisableSchedulerTask "Feedback\Siuf\DmClient"
|
||||
|
||||
# Feedback/Siuf 'DmClient'OnScenarioDownload'
|
||||
DisableSchedulerTask "Feedback\Siuf\DmClientOnScenarioDownload"
|
||||
|
||||
# File Classification Infrastructure 'Property Definition Sync'
|
||||
DisableSchedulerTask "File Classification Infrastructure\Property Definition Sync"
|
||||
|
||||
# InstallService 'ScanForUpdates'
|
||||
DisableSchedulerTask "InstallService\ScanForUpdates"
|
||||
|
||||
# InstallService 'ScanForUpdatesAsUser'
|
||||
DisableSchedulerTask "InstallService\ScanForUpdatesAsUser"
|
||||
|
||||
# LanguageComponentsInstaller 'Installation' - "Install language components that match the user's language list."
|
||||
DisableSchedulerTask "LanguageComponentsInstaller\Installation"
|
||||
|
||||
# LanguageComponentsInstaller 'ReconcileLanguageResources' - "Install language components that match the user's language list."
|
||||
DisableSchedulerTask "LanguageComponentsInstaller\ReconcileLanguageResources"
|
||||
|
||||
# PI 'Secure-Boot-Update' - "This task updates the Secure Boot variables."
|
||||
DisableSchedulerTask "PI\Secure-Boot-Update"
|
||||
|
||||
# PI 'Sqm-Tasks' - "This task gathers information about the Trusted Platform Module (TPM), Secure Boot, and Measured Boot."
|
||||
DisableSchedulerTask "PI\Sqm-Tasks"
|
||||
|
||||
# Power Efficiency Diagnotics 'AnalyzeSystem' - "This task analyzes the system looking for conditions that may cause high energy use."
|
||||
DisableSchedulerTask "PushToInstall\Registration"
|
||||
|
||||
# Servicing 'StartComponentCleanup'
|
||||
DisableSchedulerTask "Servicing\StartComponentCleanup"
|
||||
|
||||
# SettingSync 'BackgroundUploadTask'
|
||||
DeleteSchedulerTask "SettingSync\BackgroundUploadTask"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTask' - "This task restarts the Software Protection Platform service at the specified time"
|
||||
DeleteSchedulerTask "SoftwareProtectionPlatform\SvcRestartTask"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTaskLogon' - "This task restarts the Software Protection Platform service at the specified time"
|
||||
DisableSchedulerTask "SoftwareProtectionPlatform\SvcRestartTaskLogon"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTaskNetwork' - "This task restarts the Software Protection Platform service when a new network is detected"
|
||||
DisableSchedulerTask "SoftwareProtectionPlatform\SvcRestartTaskNetwork"
|
||||
|
||||
# UNP 'RunUpdateNotificationMgr'
|
||||
DeleteSchedulerTask "UNP\RunUpdateNotificationMgr"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
# Disable UpdateOrchestrator
|
||||
|
||||
$name = "UpdateOrchestrator"
|
||||
$path = "C:\Windows\System32\Tasks\Microsoft\Windows\$name"
|
||||
|
||||
takeown /F $path /A /R
|
||||
icacls $path /grant Administrators:F /T
|
||||
SCHTASKS /Change /TN "Microsoft\Windows\$name\Reboot" /DISABLE
|
||||
del "$path\Schedule Scan"
|
||||
del "$path\Schedule Scan Static Task"
|
||||
del "$path\Backup Scan"
|
||||
del "$path\UpdateModelTask"
|
||||
del "$path\USO_UxBroker"
|
||||
|
||||
# Disable Update orchestrator service
|
||||
reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /V Start /T REG_dWORD /D 4 /F
|
||||
@@ -1,3 +1,36 @@
|
||||
###########################################################################
|
||||
##
|
||||
## 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Turning off win defender.
|
||||
#
|
||||
# If disabled manually, windows will automatically enable it after
|
||||
@@ -6,3 +39,21 @@
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
|
||||
|
||||
# 'Windows Defender Cache Maintenance' - "Periodic maintenance task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Cache Maintenance"
|
||||
|
||||
# 'Windows Defender Cleanup' - "Periodic cleanup task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Cleanup"
|
||||
|
||||
# 'Windows Defender Scheduled Scan' - "Periodic scan task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Scheduled Scan"
|
||||
|
||||
# 'Windows Defender Verification' - "Periodic verification task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Verification"
|
||||
|
||||
# Disable 'QueueReporting' - "Windows Error Reporting task to process queued reports."
|
||||
DisableSchedulerTask "Windows Error Reporting\QueueReporting"
|
||||
|
||||
# Disable WindowsUpdate from Task Scheduler
|
||||
DisableSchedulerTask "WindowsUpdate\Scheduled Start"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Disable Windows File Protection
|
||||
# Windows File Protection feature in Microsoft Windows prevents programs from replacing critical Windows system files.
|
||||
|
||||
reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V SFCDisable /T REG_dWORD /D 0xffffff9d /F
|
||||
@@ -0,0 +1,4 @@
|
||||
# Disable Windows Module Installer (Trusted Installer).
|
||||
# Trusted Installe enables installation, modification, and removal of Windows updates and optional components.
|
||||
# If this service is disabled, install or uninstall of Windows updates might fail for this computer.
|
||||
sc.exe config TrustedInstaller start=disabled
|
||||
@@ -0,0 +1,25 @@
|
||||
# Windows Update Medic Service (WaaSMedicSvc)'PerformRemediation' helps recover update-related services to the supported configuration.
|
||||
# WaasMedicSvc keeps re-starting Windows Update, even if it disabled manually.
|
||||
# Even Admin user don't have privileged to disable PerformRemediation from Task Scheduler which means that WaaSMedicSvc.dll need's to be removed from the system
|
||||
|
||||
$limit = (Get-Date).AddMinutes(20)
|
||||
$path = "C:\Windows\System32\WaaSMedicSvc.dll"
|
||||
|
||||
DO {
|
||||
takeown /F $path
|
||||
icacls $path /grant Administrators:f
|
||||
Write-host "Deleting $path"
|
||||
|
||||
Try {
|
||||
del $path
|
||||
}
|
||||
Catch [System.UnauthorizedAccessException] {
|
||||
Write-host "Access to the path '$path' is denied."
|
||||
Continue
|
||||
}
|
||||
|
||||
if ((Get-Date) -gt $limit) {
|
||||
exit 1
|
||||
}
|
||||
|
||||
}while (Test-Path -Path "$path")
|
||||
121
coin/provisioning/common/windows/emsdk.ps1
Normal file
121
coin/provisioning/common/windows/emsdk.ps1
Normal file
@@ -0,0 +1,121 @@
|
||||
############################################################################
|
||||
##
|
||||
## 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$
|
||||
##
|
||||
############################################################################
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
# This script will install emscripten needed by WebAssembly
|
||||
|
||||
$version = "1.38.27"
|
||||
$versionNode = "8.9.1"
|
||||
$versionWinPython = "2.7.13"
|
||||
$versionJre = "8_update_152"
|
||||
|
||||
$urlOfficialMozilla = "https://s3.amazonaws.com/mozilla-games/emscripten/packages"
|
||||
$urlCache = "http://ci-files01-hki.intra.qt.io/input/emsdk"
|
||||
|
||||
$urlOfficialEmscriptenLlvm = "$urlOfficialMozilla/llvm/tag/win_64bit/emscripten-llvm-e$version.zip"
|
||||
$urlCacheEmscriptenLlvm = "$urlCache/windows/emscripten-llvm-e$version.zip"
|
||||
$sha1EmscriptenLlvm = "1cd950feec50f1f3265f04ab01fb270250eb4232"
|
||||
|
||||
$urlOfficialNode = "$urlOfficialMozilla/node-v$versionNode-win-x64.zip"
|
||||
$urlCacheNode = "$urlCache/windows/node-v$versionNode-win-x64.zip"
|
||||
$sha1Node = "249c840f7b953e4cb7ac9db89aa92a98daa1dc63"
|
||||
|
||||
$urlOfficialWinPython = "$urlOfficialMozilla/WinPython-64bit-$versionWinPython.1Zero.zip"
|
||||
$urlCacheWinPython = "$urlCache/windows/WinPython-64bit-$versionWinPython.1Zero.zip"
|
||||
$sha1WinPython = "7e5a021878e0165ba0603e995b013e244d6e10cb"
|
||||
|
||||
$urlOfficialProtableJre = "$urlOfficialMozilla/portable_jre_${versionJre}_64bit.zip"
|
||||
$urlCacheProtableJre = "$urlCache/windows/portable_jre_${versionJre}_64bit.zip"
|
||||
$sha1ProtableJre = "6830524ec8b16742f956897abb6b6f5ef890a1c2"
|
||||
|
||||
$urlOfficialEmscripten = "https://github.com/kripken/emscripten/archive/$version.zip"
|
||||
$urlCacheEmscripten = "$urlCache/windows/emscripten-$version.zip"
|
||||
$sha1Emscripten = "22d78a0af48b50271ab183fd3d8ea2f9ba311ee7"
|
||||
|
||||
$installLocationEmsdk = "C:\\Utils\\emsdk"
|
||||
$temp = "C:\Windows\Temp"
|
||||
|
||||
function Install {
|
||||
|
||||
Param (
|
||||
[string] $urlOfficial = $(BadParam("Official url path")),
|
||||
[string] $urlCache = $(BadParam("Cached url path")),
|
||||
[string] $sha1 = $(BadParam("SHA1 checksum of the file")),
|
||||
[string] $location = $(BadParam("Download location")),
|
||||
[string] $installLocation = $(BadParam("Install location"))
|
||||
)
|
||||
|
||||
Download $urlOfficial $urlCache $location
|
||||
Verify-Checksum $location $sha1
|
||||
Extract-7Zip $location $installLocation
|
||||
|
||||
}
|
||||
|
||||
New-Item -ItemType directory -Force -Path "$installLocationEmsdk"
|
||||
|
||||
Install $urlOfficialEmscriptenLlvm $urlCacheEmscriptenLlvm $sha1EmscriptenLlvm "$temp\emscripten-llvm-e$version.zip" "$installLocationEmsdk\emscripten-llvm-e$version"
|
||||
Install $urlOfficialNode $urlCacheNode $sha1Node "$temp\node-v$versionNode-win-x64.zip" "$installLocationEmsdk"
|
||||
Install $urlOfficialWinPython $urlCacheWinPython $sha1WinPython "$temp\WinPython-64bit-$versionWinPython.1Zero.zip" "$installLocationEmsdk"
|
||||
Install $urlOfficialProtableJre $urlCacheProtableJre $sha1ProtableJre "$temp\portable_jre_$versionJre_64bit.zip" "$installLocationEmsdk"
|
||||
Install $urlOfficialEmscripten $urlCacheEmscripten $sha1Emscripten "$temp\emscripten-$version.zip" "$installLocationEmsdk"
|
||||
|
||||
cd $installLocationEmsdk
|
||||
"LLVM_ROOT='$installLocationEmsdk\\emscripten-llvm-e$version'" | Out-File '.emscripten' -Encoding ASCII
|
||||
"EMSCRIPTEN_NATIVE_OPTIMIZER='$installLocationEmsdk\\emscripten-llvm-e$version\\optimizer'" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
"BINARYEN_ROOT='$installLocationEmsdk\\emscripten-llvm-e$version\\binaryen'" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
"NODE_JS='$installLocationEmsdk\\node-v$versionNode-win-x64\\bin\\node'" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
"EMSCRIPTEN_ROOT='$installLocationEmsdk\emscripten-$version'" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
"SPIDERMONKEY_ENGINE = ''" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
"V8_ENGINE = ''" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
"TEMP_DIR = '/tmp'" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
"COMPILER_ENGINE = NODE_JS" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
"JS_ENGINES = [NODE_JS]" | Out-File '.emscripten' -Append -Encoding ASCII
|
||||
|
||||
Set-EnvironmentVariable "EMSDK" "$installLocationEmsdk"
|
||||
Set-EnvironmentVariable "EM_CONFIG" "$installLocationEmsdk\.emscripten"
|
||||
Set-EnvironmentVariable "EMSDK_LLVM_ROOT" "$installLocationEmsdk\emscripten-llvm-e$version"
|
||||
Set-EnvironmentVariable "EMSCRIPTEN_NATIVE_OPTIMIZER" "$installLocationEmsdk\emscripten-llvm-e$version\optimizer.exe"
|
||||
Set-EnvironmentVariable "BINARYEN_ROOT" "$installLocationEmsdk\emscripten-llvm-e$version\binaryen"
|
||||
Set-EnvironmentVariable "EMSDK_NODE" "$installLocationEmsdk\node$versionNode-win-x64\bin\node.exe"
|
||||
Set-EnvironmentVariable "EMSDK_PYTHON" "$installLocationEmsdk\WinPython-64bit-$versionWinPython.1Zero\python-$versionWinPython.amd64\python.exe"
|
||||
Set-EnvironmentVariable "EMSDK_JAVA_HOME" "$installLocationEmsdk\java64"
|
||||
Set-EnvironmentVariable "EMSCRIPTEN" "$installLocationEmsdk\emscripten-$version"
|
||||
Set-EnvironmentVariable "EMSCRIPTEN_ROOT" "$installLocationEmsdk\emscripten-$version"
|
||||
Set-EnvironmentVariable "EMSDK_PATH" "$installLocationEmsdk\emscripten-$version;$installLocationEmsdk;$installLocationEmsdk\node$versionNode-win-x64\bin;$installLocationEmsdk\emscripten-llvm-e$version;$installLocationEmsdk\WinPython-64bit-$versionWinPython.1Zero\python-$versionWinPython.amd64;$installLocationEmsdk\java64\bin"
|
||||
|
||||
Write-Output "emsdk = $version" >> ~/versions.txt
|
||||
Write-Output "emsdk llvm = $version" >> ~/versions.txt
|
||||
Write-Output "emsdk NodeJs = $versionNode" >> ~/versions.txt
|
||||
Write-Output "emsdk WinPython 64bit = $versionWinPython" >> ~/versions.txt
|
||||
Write-Output "emsdk portable jre = $versionJre" >> ~/versions.txt
|
||||
@@ -3,7 +3,7 @@ function Verify-Checksum
|
||||
Param (
|
||||
[string]$File=$(throw("You must specify a filename to get the checksum of.")),
|
||||
[string]$Expected=$(throw("Checksum required")),
|
||||
[ValidateSet("sha1","md5")][string]$Algorithm="sha1"
|
||||
[ValidateSet("sha256","sha1","md5")][string]$Algorithm="sha1"
|
||||
)
|
||||
Write-Host "Verifying checksum of $File"
|
||||
$fs = new-object System.IO.FileStream $File, "Open"
|
||||
@@ -222,3 +222,23 @@ function Remove {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function DisableSchedulerTask {
|
||||
|
||||
Param (
|
||||
[string]$Task = $(BadParam("a task"))
|
||||
)
|
||||
|
||||
Write-Host "Disabling $Task from Task Scheduler"
|
||||
SCHTASKS /Change /TN "Microsoft\Windows\$Task" /DISABLE
|
||||
}
|
||||
|
||||
function DeleteSchedulerTask {
|
||||
|
||||
Param (
|
||||
[string]$Task = $(BadParam("a task"))
|
||||
)
|
||||
|
||||
Write-Host "Disabling $Task from Task Scheduler"
|
||||
SCHTASKS /DELETE /TN "Microsoft\Windows\$Task" /F
|
||||
}
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
# This script installs 7-Zip
|
||||
|
||||
$version = "20181211"
|
||||
$prog = "msys2"
|
||||
if (Is64BitWinHost) {
|
||||
@@ -56,17 +58,13 @@ $TargetLocation = "C:\Utils"
|
||||
Download $url_official $url_cache $PackagePath
|
||||
Verify-Checksum $PackagePath $sha1
|
||||
Extract-tar_gz $PackagePath $TargetLocation
|
||||
$bash = "$TargetLocation\$folder\usr\bin\bash"
|
||||
$msys = "$TargetLocation\$folder\msys2_shell.cmd"
|
||||
|
||||
# install perl
|
||||
Run-Executable "$bash" "`"-l`" `"-c`" `"rm -rf /etc/pacman.d/gnupg;pacman-key --init;pacman-key --populate msys2;pacman -S --noconfirm perl make`""
|
||||
Run-Executable "$bash" "`"-l`" `"-c`" `"yes | cpan -i Text::Template Test::More`""
|
||||
Run-Executable "$msys" "`"-l`" `"-c`" `"rm -rf /etc/pacman.d/gnupg;pacman-key --init;pacman-key --populate msys2;pacman -S --noconfirm perl make`""
|
||||
Run-Executable "$msys" "`"-l`" `"-c`" `"cpan -i Text::Template Test::More`""
|
||||
|
||||
Write-Host "Cleaning $PackagePath.."
|
||||
Remove-Item -Recurse -Force -Path "$PackagePath"
|
||||
|
||||
# pacman-key launches gpg-agent and dirmngr in the background, see https://github.com/Alexpux/MSYS2-pacman/issues/56
|
||||
Stop-Process -Name "gpg-agent" -ErrorAction Ignore
|
||||
Stop-Process -Name "dirmngr" -ErrorAction Ignore
|
||||
|
||||
Write-Output "MSYS2 = $version" >> ~\versions.txt
|
||||
Write-Output "7-Zip = $version" >> ~\versions.txt
|
||||
|
||||
68
coin/provisioning/common/windows/install_telegraf.ps1
Normal file
68
coin/provisioning/common/windows/install_telegraf.ps1
Normal file
@@ -0,0 +1,68 @@
|
||||
#############################################################################
|
||||
##
|
||||
## 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
. "$PSScriptRoot\..\..\common\windows\helpers.ps1"
|
||||
|
||||
|
||||
# Install a specific version of Telegraf
|
||||
# https://github.com/influxdata/telegraf/releases
|
||||
|
||||
$version = "1.12.1"
|
||||
|
||||
if (Is64BitWinHost) {
|
||||
$arch = "amd64"
|
||||
$sha256 = "88d8c8146b561f43726e61688b42d0b5ab88fc22607b94df5a2c8245bbb27e29"
|
||||
} else {
|
||||
$arch = "i386"
|
||||
$sha256 = "d2dea67a28fd7a9e21395d14f0b7ce1b6413e85cc9ffd89cc7ff8f35e8af5837"
|
||||
}
|
||||
|
||||
$filename = "telegraf-" + $version + "_windows_" + $arch + ".zip"
|
||||
|
||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\" + $filename
|
||||
$url_official = "https://dl.influxdata.com/telegraf/releases/" + $filename
|
||||
$tempfile = "C:\Windows\Temp\" + $filename
|
||||
|
||||
Write-Host "Fetching Telegraf $version..."
|
||||
Download $url_official $url_cache $tempfile
|
||||
Verify-Checksum $tempfile $sha256 sha256
|
||||
|
||||
Write-Host "Installing telegraf.exe under C:\Utils\telegraf"
|
||||
Extract-7Zip $tempfile C:\Utils "telegraf"
|
||||
Copy-Item "$PSScriptRoot\..\..\common\windows\telegraf-coin.conf" C:\telegraf-coin.conf
|
||||
|
||||
. "$PSScriptRoot\telegraf_password.ps1"
|
||||
|
||||
Start-Process -FilePath C:\Utils\telegraf\telegraf.exe -ArgumentList "--config C:\telegraf-coin.conf"
|
||||
|
||||
Write-Output "Telegraf = $version" >> ~\versions.txt
|
||||
@@ -12,5 +12,5 @@ $destination = "C:\msys"
|
||||
Download $url $url $zip
|
||||
Verify-Checksum $zip $sha1
|
||||
C:\Utils\sevenzip\7z.exe x $zip -oC:\
|
||||
|
||||
Set-EnvironmentVariable "MSYS_PATH" "$destination\\1.0\\bin"
|
||||
Write-Output "Msys = $version" >> ~/versions.txt
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -36,7 +36,7 @@
|
||||
# This script installs MySQL $version.
|
||||
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||
|
||||
$version = "5.6.11"
|
||||
$version = "5.7.25"
|
||||
$baseNameX64 = "mysql-$version-winx64"
|
||||
$packagex64 = "C:\Windows\temp\$baseNameX64.zip"
|
||||
$baseNameX86 = "mysql-$version-win32"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2016 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -75,6 +75,9 @@ if (($archVer -eq 32) -And (Is64BitWinHost)) {
|
||||
|
||||
Run-Executable "$targetDir\python.exe" "-m ensurepip"
|
||||
|
||||
Write-Host "Upgrade pip to the latest version available."
|
||||
Run-Executable "$targetDir\python.exe" "-m pip install --upgrade pip"
|
||||
|
||||
# Install python virtual env
|
||||
if (IsProxyEnabled) {
|
||||
$proxy = Get-Proxy
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Copyright (C) 2017 Pelagicore AG
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
@@ -79,6 +79,10 @@ if (IsProxyEnabled) {
|
||||
Write-Host "Using proxy ($proxy) with pip"
|
||||
$pip_args = "--proxy=$proxy"
|
||||
}
|
||||
|
||||
Write-Host "Upgrade pip3 to the latest version available."
|
||||
Run-Executable "$install_path\python.exe" "-m pip install --upgrade pip"
|
||||
|
||||
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wheel"
|
||||
|
||||
# Install all needed packages in a special wheel cache directory
|
||||
|
||||
41
coin/provisioning/common/windows/telegraf-coin.conf
Normal file
41
coin/provisioning/common/windows/telegraf-coin.conf
Normal file
@@ -0,0 +1,41 @@
|
||||
[global_tags]
|
||||
[agent]
|
||||
interval = "10s"
|
||||
round_interval = true
|
||||
metric_batch_size = 100
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "5s"
|
||||
precision = ""
|
||||
logfile = "C:\\telegraf-coin.log"
|
||||
hostname = "$COIN_UNIQUE_JOB_ID"
|
||||
omit_hostname = false
|
||||
[[outputs.influxdb]]
|
||||
urls= ["https://qtinfluxdb01.intra.qt.io:8086"]
|
||||
insecure_skip_verify = true
|
||||
database = "coin_vms"
|
||||
skip_database_creation = true
|
||||
username = "coin_vms_writer"
|
||||
password = "COIN_VMS_WRITER_PASS"
|
||||
[[inputs.cpu]]
|
||||
percpu = true
|
||||
totalcpu = true
|
||||
collect_cpu_time = false
|
||||
report_active = false
|
||||
[[inputs.disk]]
|
||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
|
||||
[[inputs.diskio]]
|
||||
[[inputs.kernel]]
|
||||
[[inputs.mem]]
|
||||
#[[inputs.processes]]
|
||||
[[inputs.swap]]
|
||||
[[inputs.system]]
|
||||
#[[inputs.kernel_vmstat]] # linux-only
|
||||
[[inputs.netstat]]
|
||||
|
||||
|
||||
# Monitor Coin process
|
||||
[[inputs.procstat]]
|
||||
exe = "coin-"
|
||||
pid_finder = "native"
|
||||
12
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/40-android_linux.sh → coin/provisioning/common/windows/telegraf_password.ps1
Executable file → Normal file
12
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/40-android_linux.sh → coin/provisioning/common/windows/telegraf_password.ps1
Executable file → Normal file
@@ -1,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## 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.
|
||||
@@ -33,7 +31,9 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/linux/android_linux.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/android_linux.sh"
|
||||
$colon_file = Get-Content "C:\Users\qt\work\influxdb\coin_vms_writer.auth"
|
||||
$influxdb_password = $colon_file.Substring($colon_file.LastIndexOf(':') + 1)
|
||||
$telegraf_conf = "C:\telegraf-coin.conf"
|
||||
(Get-Content $telegraf_conf) | ForEach-Object { $_.Replace("COIN_VMS_WRITER_PASS", $influxdb_password) } | Out-File -Encoding UTF8 $telegraf_conf
|
||||
Remove-Item "C:\Users\qt\work\influxdb\coin_vms_writer.auth"
|
||||
@@ -38,6 +38,11 @@ $dcs = (Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\
|
||||
$dcs[8] = $_ -band 0xF7
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name DefaultConnectionSettings -Value $dcs
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 0
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride
|
||||
|
||||
if(Get-ItemProperty -ErrorAction SilentlyContinue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer){
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer
|
||||
|
||||
}
|
||||
if(Get-ItemProperty -ErrorAction SilentlyContinue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride){
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride
|
||||
}
|
||||
|
||||
3
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/01-install_telegraf.sh
Executable file
3
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/01-install_telegraf.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/unix/telegraf_install.sh
|
||||
@@ -44,6 +44,5 @@ targetFile="/tmp/$package"
|
||||
|
||||
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
|
||||
|
||||
sudo rpm -ivh "$targetFile"
|
||||
sudo yum -y install "$targetFile"
|
||||
rm "$targetFile"
|
||||
|
||||
|
||||
3
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/01-install_telegraf.sh
Executable file
3
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/01-install_telegraf.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/unix/telegraf_install.sh
|
||||
@@ -38,6 +38,7 @@ set -ex
|
||||
echo "set WritePreparedUpdates=false" | sudo tee -a /etc/PackageKit/PackageKit.conf
|
||||
sudo systemctl stop packagekit
|
||||
sudo systemctl disable packagekit
|
||||
sudo yum -y remove PackageKit gnome-software
|
||||
|
||||
sudo subscription-manager config --rhsm.manage_repos=0
|
||||
sudo subscription-manager refresh
|
||||
@@ -46,6 +46,5 @@ targetFile="/tmp/$package"
|
||||
|
||||
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
|
||||
|
||||
sudo rpm -ivh "$targetFile"
|
||||
sudo yum -y install "$targetFile"
|
||||
rm "$targetFile"
|
||||
|
||||
3
coin/provisioning/qtci-linux-SLES-12-x86_64/01-install_telegraf.sh
Executable file
3
coin/provisioning/qtci-linux-SLES-12-x86_64/01-install_telegraf.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/unix/telegraf_install.sh
|
||||
@@ -35,5 +35,5 @@
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/linux/emsdk.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/emsdk.sh"
|
||||
# shellcheck source=../common/unix/emsdk.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user