aboutsummaryrefslogtreecommitdiffstats
path: root/coin/instructions/relocate_pyside.yaml
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2020-02-13 13:22:39 +0200
committerSimo Fält <simo.falt@qt.io>2020-02-27 18:28:08 +0200
commit76544c37745b0ba9ed1b8e35b82abafe99040620 (patch)
tree9c23f7514a1c87722d399b043f120231b22c335d /coin/instructions/relocate_pyside.yaml
parentb2388fc809710655464ed99a5a80a6af35ecf503 (diff)
Split module config instructions
Change-Id: Ia0b47d0e264f00d859e20e18980b7899dddaba98 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 1dd1c8aba56628ccaca5040a3b54b70ed093606c) Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'coin/instructions/relocate_pyside.yaml')
-rw-r--r--coin/instructions/relocate_pyside.yaml57
1 files changed, 57 insertions, 0 deletions
diff --git a/coin/instructions/relocate_pyside.yaml b/coin/instructions/relocate_pyside.yaml
new file mode 100644
index 000000000..afab83c70
--- /dev/null
+++ b/coin/instructions/relocate_pyside.yaml
@@ -0,0 +1,57 @@
+type: Group
+enable_if:
+ condition: property
+ property: features
+ not_contains_value: LicenseCheck
+instructions:
+ - type: ChangeDirectory
+ directory: "{{.AgentWorkingDir}}/pyside"
+ maxTimeInSeconds: 300
+ maxTimeBetweenOutput: 120
+ userMessageOnFailure: >
+ Failed to change to pyside dir
+ - type: ExecuteCommand
+ command: c:\\users\\qt\\MSVC.bat rd /s /q pyside-setup
+ maxTimeInSeconds: 300
+ maxTimeBetweenOutput: 120
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+ userMessageOnFailure: >
+ Failed to remove pyside-setup dir
+ - type: ExecuteCommand
+ command: /bin/rm -rf pyside-setup
+ maxTimeInSeconds: 300
+ maxTimeBetweenOutput: 120
+ enable_if:
+ condition: property
+ property: host.os
+ not_equals_value: Windows
+ userMessageOnFailure: >
+ Failed to remove pyside-setup dir
+ - type: InstallBinaryArchive
+ relativeStoragePath: "{{.Env.MODULE_ARTIFACTS_RELATIVE_STORAGE_PATH}}/artifacts.tar.gz"
+ directory: "pyside"
+ maxTimeInSeconds: 1200
+ maxTimeBetweenOutput: 1200
+ - type: ChangeDirectory
+ directory: "{{.AgentWorkingDir}}\\pyside\\pyside-setup"
+ maxTimeInSeconds: 7200
+ maxTimeBetweenOutput: 120
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+ userMessageOnFailure: >
+ Failed to install binary artifacts
+ - type: ChangeDirectory
+ directory: "{{.AgentWorkingDir}}/pyside/pyside-setup"
+ maxTimeInSeconds: 7200
+ maxTimeBetweenOutput: 120
+ enable_if:
+ condition: property
+ property: host.os
+ not_equals_value: Windows
+ userMessageOnFailure: >
+ Failed to change to pyside-setup dir