OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "RECIPE_PACKAGE[depot_tools]/gclient.py", | |
7 "config", | |
8 "--spec", | |
9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', '
managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu
m/src.git'}]" | |
10 ], | |
11 "cwd": "[SLAVE_BUILD]", | |
12 "name": "gclient setup" | |
13 }, | |
14 { | |
15 "cmd": [ | |
16 "python", | |
17 "-u", | |
18 "RECIPE_PACKAGE[depot_tools]/gclient.py", | |
19 "sync", | |
20 "--verbose", | |
21 "--with_branch_heads", | |
22 "--nohooks", | |
23 "-j8", | |
24 "--reset", | |
25 "--force", | |
26 "--upstream", | |
27 "--no-nag-max", | |
28 "--delete_unversioned_trees", | |
29 "--revision", | |
30 "src@HEAD", | |
31 "--output-json", | |
32 "/path/to/tmp/json" | |
33 ], | |
34 "cwd": "[SLAVE_BUILD]", | |
35 "name": "gclient sync", | |
36 "~followup_annotations": [ | |
37 "@@@STEP_LOG_LINE@json.output@{@@@", | |
38 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | |
39 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | |
40 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
41 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
42 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
43 "@@@STEP_LOG_LINE@json.output@}@@@", | |
44 "@@@STEP_LOG_END@json.output@@@" | |
45 ] | |
46 }, | |
47 { | |
48 "cmd": [ | |
49 "python", | |
50 "-u", | |
51 "RECIPE_PACKAGE[depot_tools]/gclient.py", | |
52 "recurse", | |
53 "git", | |
54 "config", | |
55 "user.name", | |
56 "local_bot" | |
57 ], | |
58 "cwd": "[SLAVE_BUILD]", | |
59 "name": "gclient recurse (git config user.name)" | |
60 }, | |
61 { | |
62 "cmd": [ | |
63 "python", | |
64 "-u", | |
65 "RECIPE_PACKAGE[depot_tools]/gclient.py", | |
66 "recurse", | |
67 "git", | |
68 "config", | |
69 "user.email", | |
70 "local_bot@example.com" | |
71 ], | |
72 "cwd": "[SLAVE_BUILD]", | |
73 "name": "gclient recurse (git config user.email)" | |
74 }, | |
75 { | |
76 "cmd": [ | |
77 "python", | |
78 "-u", | |
79 "RECIPE_PACKAGE[depot_tools]/gclient.py", | |
80 "config", | |
81 "--spec", | |
82 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'WebKit', 'safesync_url': 'https://blink-status.appspot.com/lkgr', 'url': '
svn://svn.chromium.org/blink/trunk'}]" | |
83 ], | |
84 "cwd": "[SLAVE_BUILD]/src/third_party", | |
85 "name": "[spec: WebKit] gclient setup" | |
86 }, | |
87 { | |
88 "cmd": [ | |
89 "python", | |
90 "-u", | |
91 "[BUILD]/scripts/slave/gclient_safe_revert.py", | |
92 ".", | |
93 "[DEPOT_TOOLS]/gclient" | |
94 ], | |
95 "cwd": "[SLAVE_BUILD]/src/third_party", | |
96 "name": "[spec: WebKit] gclient revert" | |
97 }, | |
98 { | |
99 "cmd": [ | |
100 "python", | |
101 "-u", | |
102 "RECIPE_PACKAGE[depot_tools]/gclient.py", | |
103 "sync", | |
104 "--nohooks", | |
105 "--force", | |
106 "--verbose", | |
107 "--delete_unversioned_trees", | |
108 "--with_branch_heads", | |
109 "--revision", | |
110 "third_party/WebKit@123", | |
111 "--output-json", | |
112 "/path/to/tmp/json" | |
113 ], | |
114 "cwd": "[SLAVE_BUILD]/src/third_party", | |
115 "name": "[spec: WebKit] gclient sync", | |
116 "~followup_annotations": [ | |
117 "@@@STEP_LOG_LINE@json.output@{@@@", | |
118 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | |
119 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", | |
120 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", | |
121 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
122 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", | |
123 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", | |
124 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
125 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
126 "@@@STEP_LOG_LINE@json.output@}@@@", | |
127 "@@@STEP_LOG_END@json.output@@@", | |
128 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" | |
129 ] | |
130 }, | |
131 { | |
132 "cmd": [ | |
133 "python", | |
134 "-u", | |
135 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | |
136 "[SLAVE_BUILD]" | |
137 ], | |
138 "cwd": "[SLAVE_BUILD]", | |
139 "name": "cleanup index.lock", | |
140 "~followup_annotations": [ | |
141 "@@@STEP_LOG_LINE@python.inline@@@@", | |
142 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
143 "@@@STEP_LOG_LINE@python.inline@@@@", | |
144 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | |
145 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | |
146 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | |
147 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | |
148 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | |
149 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | |
150 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | |
151 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | |
152 "@@@STEP_LOG_END@python.inline@@@" | |
153 ] | |
154 }, | |
155 { | |
156 "cmd": [ | |
157 "python", | |
158 "-u", | |
159 "RECIPE_PACKAGE[depot_tools]/gclient.py", | |
160 "runhooks" | |
161 ], | |
162 "cwd": "[SLAVE_BUILD]", | |
163 "name": "gclient runhooks" | |
164 }, | |
165 { | |
166 "name": "$result", | |
167 "recipe_result": null, | |
168 "status_code": 0 | |
169 } | |
170 ] | |
OLD | NEW |