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