OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
7 "--path", | 7 "--path", |
8 "[SLAVE_BUILD]/swarming.client", | 8 "[CWD]/swarming.client", |
9 "--url", | 9 "--url", |
10 "https://chromium.googlesource.com/external/swarming.client.git" | 10 "https://chromium.googlesource.com/external/swarming.client.git" |
11 ], | 11 ], |
12 "cwd": "[SLAVE_BUILD]", | |
13 "name": "git setup (swarming_client)" | 12 "name": "git setup (swarming_client)" |
14 }, | 13 }, |
15 { | 14 { |
16 "cmd": [ | 15 "cmd": [ |
17 "git", | 16 "git", |
18 "retry", | 17 "retry", |
19 "fetch", | 18 "fetch", |
20 "origin", | 19 "origin", |
21 "master" | 20 "master" |
22 ], | 21 ], |
23 "cwd": "[SLAVE_BUILD]/swarming.client", | 22 "cwd": "[CWD]/swarming.client", |
24 "name": "git fetch (swarming_client)" | 23 "name": "git fetch (swarming_client)" |
25 }, | 24 }, |
26 { | 25 { |
27 "cmd": [ | 26 "cmd": [ |
28 "git", | 27 "git", |
29 "checkout", | 28 "checkout", |
30 "-f", | 29 "-f", |
31 "FETCH_HEAD" | 30 "FETCH_HEAD" |
32 ], | 31 ], |
33 "cwd": "[SLAVE_BUILD]/swarming.client", | 32 "cwd": "[CWD]/swarming.client", |
34 "name": "git checkout (swarming_client)" | 33 "name": "git checkout (swarming_client)" |
35 }, | 34 }, |
36 { | 35 { |
37 "cmd": [ | 36 "cmd": [ |
38 "git", | 37 "git", |
39 "rev-parse", | 38 "rev-parse", |
40 "HEAD" | 39 "HEAD" |
41 ], | 40 ], |
42 "cwd": "[SLAVE_BUILD]/swarming.client", | 41 "cwd": "[CWD]/swarming.client", |
43 "name": "read revision", | 42 "name": "read revision", |
44 "stdout": "/path/to/tmp/", | 43 "stdout": "/path/to/tmp/", |
45 "~followup_annotations": [ | 44 "~followup_annotations": [ |
46 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 45 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
47 ] | 46 ] |
48 }, | 47 }, |
49 { | 48 { |
50 "cmd": [ | 49 "cmd": [ |
51 "git", | 50 "git", |
52 "clean", | 51 "clean", |
53 "-f", | 52 "-f", |
54 "-d", | 53 "-d", |
55 "-x" | 54 "-x" |
56 ], | 55 ], |
57 "cwd": "[SLAVE_BUILD]/swarming.client", | 56 "cwd": "[CWD]/swarming.client", |
58 "name": "git clean (swarming_client)" | 57 "name": "git clean (swarming_client)" |
59 }, | 58 }, |
60 { | 59 { |
61 "cmd": [ | 60 "cmd": [ |
62 "git", | 61 "git", |
63 "submodule", | 62 "submodule", |
64 "sync" | 63 "sync" |
65 ], | 64 ], |
66 "cwd": "[SLAVE_BUILD]/swarming.client", | 65 "cwd": "[CWD]/swarming.client", |
67 "name": "submodule sync (swarming_client)" | 66 "name": "submodule sync (swarming_client)" |
68 }, | 67 }, |
69 { | 68 { |
70 "cmd": [ | 69 "cmd": [ |
71 "git", | 70 "git", |
72 "submodule", | 71 "submodule", |
73 "update", | 72 "update", |
74 "--init", | 73 "--init", |
75 "--recursive" | 74 "--recursive" |
76 ], | 75 ], |
77 "cwd": "[SLAVE_BUILD]/swarming.client", | 76 "cwd": "[CWD]/swarming.client", |
78 "name": "submodule update (swarming_client)" | 77 "name": "submodule update (swarming_client)" |
79 }, | 78 }, |
80 { | 79 { |
81 "cmd": [ | 80 "cmd": [ |
82 "python", | 81 "python", |
83 "-u", | 82 "-u", |
84 "[SLAVE_BUILD]/swarming.client/swarming.py", | 83 "[CWD]/swarming.client/swarming.py", |
85 "--version" | 84 "--version" |
86 ], | 85 ], |
87 "cwd": "[SLAVE_BUILD]", | |
88 "name": "swarming.py --version", | 86 "name": "swarming.py --version", |
89 "stdout": "/path/to/tmp/", | 87 "stdout": "/path/to/tmp/", |
90 "~followup_annotations": [ | 88 "~followup_annotations": [ |
91 "@@@STEP_TEXT@0.4.4@@@" | 89 "@@@STEP_TEXT@0.4.4@@@" |
92 ] | 90 ] |
93 }, | 91 }, |
94 { | 92 { |
95 "cmd": [ | 93 "cmd": [ |
96 "python", | 94 "python", |
97 "-u", | 95 "-u", |
98 "[SLAVE_BUILD]/swarming.client/isolate.py", | 96 "[CWD]/swarming.client/isolate.py", |
99 "--version" | 97 "--version" |
100 ], | 98 ], |
101 "cwd": "[SLAVE_BUILD]", | |
102 "name": "isolate.py --version", | 99 "name": "isolate.py --version", |
103 "stdout": "/path/to/tmp/", | 100 "stdout": "/path/to/tmp/", |
104 "~followup_annotations": [ | 101 "~followup_annotations": [ |
105 "@@@STEP_TEXT@0.3.1@@@" | 102 "@@@STEP_TEXT@0.3.1@@@" |
106 ] | 103 ] |
107 }, | 104 }, |
108 { | 105 { |
109 "cmd": [ | 106 "cmd": [ |
110 "python", | 107 "python", |
111 "-u", | 108 "-u", |
112 "import sys; sys.exit(1)" | 109 "import sys; sys.exit(1)" |
113 ], | 110 ], |
114 "cwd": "[SLAVE_BUILD]", | |
115 "name": "swarming.py is too old", | 111 "name": "swarming.py is too old", |
116 "~followup_annotations": [ | 112 "~followup_annotations": [ |
117 "@@@STEP_TEXT@Expecting at least v20.0.0, got v0.4.4@@@", | 113 "@@@STEP_TEXT@Expecting at least v20.0.0, got v0.4.4@@@", |
118 "@@@STEP_FAILURE@@@" | 114 "@@@STEP_FAILURE@@@" |
119 ] | 115 ] |
120 }, | 116 }, |
121 { | 117 { |
122 "name": "$result", | 118 "name": "$result", |
123 "reason": "Expecting at least v20.0.0, got v0.4.4", | 119 "reason": "Expecting at least v20.0.0, got v0.4.4", |
124 "status_code": 1 | 120 "status_code": 1 |
125 } | 121 } |
126 ] | 122 ] |
OLD | NEW |