aboutsummaryrefslogtreecommitdiffstats
path: root/coin/instructions/relocate_pyside.yaml
blob: afab83c701fbcbd00084a4b4210809087d96582d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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