Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(627)

Side by Side Diff: recipe_modules/gclient/example.expected/tryserver.json

Issue 1915463002: depot_tools: add infra_paths recipe module for infra-specific paths (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « recipe_modules/gclient/example.expected/revision.json ('k') | recipe_modules/git/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "--revision", 31 "--revision",
33 "src@HEAD", 32 "src@HEAD",
34 "--output-json", 33 "--output-json",
35 "/path/to/tmp/json" 34 "/path/to/tmp/json"
36 ], 35 ],
37 "cwd": "[SLAVE_BUILD]",
38 "env": { 36 "env": {
39 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
40 }, 38 },
41 "name": "gclient sync", 39 "name": "gclient sync",
42 "~followup_annotations": [ 40 "~followup_annotations": [
43 "@@@STEP_LOG_LINE@json.output@{@@@", 41 "@@@STEP_LOG_LINE@json.output@{@@@",
44 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 42 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
45 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 43 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
46 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@", 44 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
47 "@@@STEP_LOG_LINE@json.output@ }@@@", 45 "@@@STEP_LOG_LINE@json.output@ }@@@",
48 "@@@STEP_LOG_LINE@json.output@ }@@@", 46 "@@@STEP_LOG_LINE@json.output@ }@@@",
49 "@@@STEP_LOG_LINE@json.output@}@@@", 47 "@@@STEP_LOG_LINE@json.output@}@@@",
50 "@@@STEP_LOG_END@json.output@@@" 48 "@@@STEP_LOG_END@json.output@@@"
51 ] 49 ]
52 }, 50 },
53 { 51 {
54 "cmd": [ 52 "cmd": [
55 "python", 53 "python",
56 "-u", 54 "-u",
57 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 55 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
58 "recurse", 56 "recurse",
59 "git", 57 "git",
60 "config", 58 "config",
61 "user.name", 59 "user.name",
62 "local_bot" 60 "local_bot"
63 ], 61 ],
64 "cwd": "[SLAVE_BUILD]",
65 "env": { 62 "env": {
66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 63 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
67 }, 64 },
68 "name": "gclient recurse (git config user.name)" 65 "name": "gclient recurse (git config user.name)"
69 }, 66 },
70 { 67 {
71 "cmd": [ 68 "cmd": [
72 "python", 69 "python",
73 "-u", 70 "-u",
74 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 71 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
75 "recurse", 72 "recurse",
76 "git", 73 "git",
77 "config", 74 "config",
78 "user.email", 75 "user.email",
79 "local_bot@example.com" 76 "local_bot@example.com"
80 ], 77 ],
81 "cwd": "[SLAVE_BUILD]",
82 "env": { 78 "env": {
83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 79 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
84 }, 80 },
85 "name": "gclient recurse (git config user.email)" 81 "name": "gclient recurse (git config user.email)"
86 }, 82 },
87 { 83 {
88 "cmd": [ 84 "cmd": [
89 "python", 85 "python",
90 "-u", 86 "-u",
91 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 87 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
92 "config", 88 "config",
93 "--spec", 89 "--spec",
94 "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'}]" 90 "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'}]"
95 ], 91 ],
96 "cwd": "[SLAVE_BUILD]/src/third_party", 92 "cwd": "[CWD]/src/third_party",
97 "env": { 93 "env": {
98 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 94 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
99 }, 95 },
100 "name": "[spec: WebKit] gclient setup" 96 "name": "[spec: WebKit] gclient setup"
101 }, 97 },
102 { 98 {
103 "cmd": [ 99 "cmd": [
104 "python", 100 "python",
105 "-u", 101 "-u",
106 "[BUILD]/scripts/slave/gclient_safe_revert.py", 102 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py",
107 ".", 103 ".",
108 "[DEPOT_TOOLS]/gclient" 104 "[ROOT]/b/depot_tools/gclient"
109 ], 105 ],
110 "cwd": "[SLAVE_BUILD]/src/third_party", 106 "cwd": "[CWD]/src/third_party",
111 "name": "[spec: WebKit] gclient revert" 107 "name": "[spec: WebKit] gclient revert"
112 }, 108 },
113 { 109 {
114 "cmd": [ 110 "cmd": [
115 "python", 111 "python",
116 "-u", 112 "-u",
117 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 113 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
118 "sync", 114 "sync",
119 "--nohooks", 115 "--nohooks",
120 "--force", 116 "--force",
121 "--verbose", 117 "--verbose",
122 "--delete_unversioned_trees", 118 "--delete_unversioned_trees",
123 "--with_branch_heads", 119 "--with_branch_heads",
124 "--revision", 120 "--revision",
125 "third_party/WebKit@123", 121 "third_party/WebKit@123",
126 "--output-json", 122 "--output-json",
127 "/path/to/tmp/json" 123 "/path/to/tmp/json"
128 ], 124 ],
129 "cwd": "[SLAVE_BUILD]/src/third_party", 125 "cwd": "[CWD]/src/third_party",
130 "env": { 126 "env": {
131 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 127 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
132 }, 128 },
133 "name": "[spec: WebKit] gclient sync", 129 "name": "[spec: WebKit] gclient sync",
134 "~followup_annotations": [ 130 "~followup_annotations": [
135 "@@@STEP_LOG_LINE@json.output@{@@@", 131 "@@@STEP_LOG_LINE@json.output@{@@@",
136 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 132 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
137 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", 133 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@",
138 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", 134 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@",
139 "@@@STEP_LOG_LINE@json.output@ }, @@@", 135 "@@@STEP_LOG_LINE@json.output@ }, @@@",
140 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", 136 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@",
141 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", 137 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@",
142 "@@@STEP_LOG_LINE@json.output@ }@@@", 138 "@@@STEP_LOG_LINE@json.output@ }@@@",
143 "@@@STEP_LOG_LINE@json.output@ }@@@", 139 "@@@STEP_LOG_LINE@json.output@ }@@@",
144 "@@@STEP_LOG_LINE@json.output@}@@@", 140 "@@@STEP_LOG_LINE@json.output@}@@@",
145 "@@@STEP_LOG_END@json.output@@@", 141 "@@@STEP_LOG_END@json.output@@@",
146 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" 142 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@"
147 ] 143 ]
148 }, 144 },
149 { 145 {
150 "cmd": [ 146 "cmd": [
151 "python", 147 "python",
152 "-u", 148 "-u",
153 "\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", 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",
154 "[SLAVE_BUILD]" 150 "[CWD]"
155 ], 151 ],
156 "cwd": "[SLAVE_BUILD]",
157 "name": "cleanup index.lock", 152 "name": "cleanup index.lock",
158 "~followup_annotations": [ 153 "~followup_annotations": [
159 "@@@STEP_LOG_LINE@python.inline@@@@", 154 "@@@STEP_LOG_LINE@python.inline@@@@",
160 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 155 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
161 "@@@STEP_LOG_LINE@python.inline@@@@", 156 "@@@STEP_LOG_LINE@python.inline@@@@",
162 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 157 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
163 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 158 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
164 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 159 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
165 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 160 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
166 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 161 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
167 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 162 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
168 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 163 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
169 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 164 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
170 "@@@STEP_LOG_END@python.inline@@@" 165 "@@@STEP_LOG_END@python.inline@@@"
171 ] 166 ]
172 }, 167 },
173 { 168 {
174 "cmd": [ 169 "cmd": [
175 "python", 170 "python",
176 "-u", 171 "-u",
177 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 172 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
178 "runhooks" 173 "runhooks"
179 ], 174 ],
180 "cwd": "[SLAVE_BUILD]",
181 "env": { 175 "env": {
182 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 176 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
183 }, 177 },
184 "name": "gclient runhooks" 178 "name": "gclient runhooks"
185 }, 179 },
186 { 180 {
187 "name": "$result", 181 "name": "$result",
188 "recipe_result": null, 182 "recipe_result": null,
189 "status_code": 0 183 "status_code": 0
190 } 184 }
191 ] 185 ]
OLDNEW
« no previous file with comments | « recipe_modules/gclient/example.expected/revision.json ('k') | recipe_modules/git/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698