summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-04-28 11:03:36 +0200
committerEike Ziller <eike.ziller@qt.io>2023-04-28 11:03:36 +0200
commit73d8b20d52a84ecd4860f950b3e97d4cd69d65e3 (patch)
tree8a88d0c9e7be3163789c1d33e9acdbc00fd10f32
parent927c34df2f9a1acb9da12b41aff9ca28f1843df1 (diff)
parent9e54d37ef6853163d522b19e95ddafcfaec329da (diff)
downloadqt-creator-73d8b20d52a84ecd4860f950b3e97d4cd69d65e3.tar.gz
Merge remote-tracking branch 'origin/9.0' into 10.0
Change-Id: Ic82c30a479a7ce7eab31b3c18abb3c46a71711cd
-rw-r--r--coin/instructions/provision.yaml67
1 files changed, 32 insertions, 35 deletions
diff --git a/coin/instructions/provision.yaml b/coin/instructions/provision.yaml
index bbed89c388..c11325d137 100644
--- a/coin/instructions/provision.yaml
+++ b/coin/instructions/provision.yaml
@@ -23,44 +23,41 @@ instructions:
ref: master
directory: "build/qtsdk"
userMessageOnFailure: "Failed to install qtsdk, check logs"
- - type: ExecuteCommand
- command: "python3 -m pip install pipenv==2022.4.8 --user"
- maxTimeInSeconds: 1200
- maxTimeBetweenOutput: 120
- userMessageOnFailure: "Failed to install Pipenv"
+ - type: InstallSourceArchive
+ maxTimeInSeconds: 600
+ maxTimeBetweenOutput: 600
+ project: qtsdk/tqtc-qtsdk
+ ref: master
+ directory: "build/tqtc-qtsdk"
+ userMessageOnFailure: "Failed to install tqtc-qtsdk, check logs"
+ - type: Group
+ instructions:
+ - type: ExecuteCommand
+ command: python tqtc-qtsdk/jenkins-templates/jenkins/scripts/pkg_bootstrap.py
+ maxTimeInSeconds: 36000
+ maxTimeBetweenOutput: 3600
+ userMessageOnFailure: "pkg_bootstrap.py failed"
enable_if:
- condition: property
- property: host.os
- in_values: [MacOS, Linux]
- - type: ExecuteCommand
- command: "python -m pip install pipenv==2022.4.8 --user"
- maxTimeInSeconds: 1200
- maxTimeBetweenOutput: 120
- userMessageOnFailure: "Failed to install Pipenv"
+ condition: and
+ conditions:
+ - condition: property
+ property: host.os
+ equals_value: Windows
+ - type: Group
+ instructions:
+ - type: ExecuteCommand
+ command: python3 tqtc-qtsdk/jenkins-templates/jenkins/scripts/pkg_bootstrap.py
+ maxTimeInSeconds: 36000
+ maxTimeBetweenOutput: 3600
+ userMessageOnFailure: "pkg_bootstrap.py failed"
enable_if:
- condition: property
- property: host.os
- equals_value: Windows
+ condition: and
+ conditions:
+ - condition: property
+ property: host.os
+ not_equals_value: Windows
- type: ChangeDirectory
- directory: "{{.AgentWorkingDir}}/build/qtsdk/packaging-tools"
- - type: ExecuteCommand
- command: "python3 -m pipenv install --skip-lock"
- maxTimeInSeconds: 1200
- maxTimeBetweenOutput: 120
- userMessageOnFailure: "Failed to install requirements from Pipfile"
- enable_if:
- condition: property
- property: host.os
- in_values: [MacOS, Linux]
- - type: ExecuteCommand
- command: "python -m pipenv install --skip-lock"
- maxTimeInSeconds: 1200
- maxTimeBetweenOutput: 120
- userMessageOnFailure: "Failed to install requirements from Pipfile"
- enable_if:
- condition: property
- property: host.os
- equals_value: Windows
+ directory: "{{.BuildDir}}/qtsdk/packaging-tools"
- type: ExecuteCommand
command: "python3 -m pipenv run python -u install_qt.py --qt-path {{.BuildDir}}/qt_install_dir --base-url {{.Env.QTC_QT_BASE_URL}} --base-url-postfix={{.Env.QTC_QT_POSTFIX}} --icu7z http://master.qt.io/development_releases/prebuilt/icu/prebuilt/56.1/icu-linux-g++-Rhel7.2-x64.7z {{.Env.QTC_QT_MODULES}}"
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution