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