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

Side by Side Diff: recipe_modules/gclient/example.expected/revision.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
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@abc", 32 "src@abc",
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 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 102 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
107 "sync", 103 "sync",
108 "--nohooks", 104 "--nohooks",
109 "--force", 105 "--force",
110 "--verbose", 106 "--verbose",
111 "--delete_unversioned_trees", 107 "--delete_unversioned_trees",
112 "--with_branch_heads", 108 "--with_branch_heads",
113 "--revision", 109 "--revision",
114 "third_party/WebKit@123", 110 "third_party/WebKit@123",
115 "--output-json", 111 "--output-json",
116 "/path/to/tmp/json" 112 "/path/to/tmp/json"
117 ], 113 ],
118 "cwd": "[SLAVE_BUILD]/src/third_party", 114 "cwd": "[CWD]/src/third_party",
119 "env": { 115 "env": {
120 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 116 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
121 }, 117 },
122 "name": "[spec: WebKit] gclient sync", 118 "name": "[spec: WebKit] gclient sync",
123 "~followup_annotations": [ 119 "~followup_annotations": [
124 "@@@STEP_LOG_LINE@json.output@{@@@", 120 "@@@STEP_LOG_LINE@json.output@{@@@",
125 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 121 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
126 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", 122 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@",
127 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", 123 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@",
128 "@@@STEP_LOG_LINE@json.output@ }, @@@", 124 "@@@STEP_LOG_LINE@json.output@ }, @@@",
129 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", 125 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@",
130 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", 126 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@",
131 "@@@STEP_LOG_LINE@json.output@ }@@@", 127 "@@@STEP_LOG_LINE@json.output@ }@@@",
132 "@@@STEP_LOG_LINE@json.output@ }@@@", 128 "@@@STEP_LOG_LINE@json.output@ }@@@",
133 "@@@STEP_LOG_LINE@json.output@}@@@", 129 "@@@STEP_LOG_LINE@json.output@}@@@",
134 "@@@STEP_LOG_END@json.output@@@", 130 "@@@STEP_LOG_END@json.output@@@",
135 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" 131 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@"
136 ] 132 ]
137 }, 133 },
138 { 134 {
139 "cmd": [ 135 "cmd": [
140 "python", 136 "python",
141 "-u", 137 "-u",
142 "\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", 138 "\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",
143 "[SLAVE_BUILD]" 139 "[CWD]"
144 ], 140 ],
145 "cwd": "[SLAVE_BUILD]",
146 "name": "cleanup index.lock", 141 "name": "cleanup index.lock",
147 "~followup_annotations": [ 142 "~followup_annotations": [
148 "@@@STEP_LOG_LINE@python.inline@@@@", 143 "@@@STEP_LOG_LINE@python.inline@@@@",
149 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 144 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
150 "@@@STEP_LOG_LINE@python.inline@@@@", 145 "@@@STEP_LOG_LINE@python.inline@@@@",
151 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 146 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
152 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 147 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
153 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 148 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
154 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 149 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
155 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 150 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
156 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 151 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
157 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 152 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
158 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
159 "@@@STEP_LOG_END@python.inline@@@" 154 "@@@STEP_LOG_END@python.inline@@@"
160 ] 155 ]
161 }, 156 },
162 { 157 {
163 "cmd": [ 158 "cmd": [
164 "python", 159 "python",
165 "-u", 160 "-u",
166 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 161 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
167 "runhooks" 162 "runhooks"
168 ], 163 ],
169 "cwd": "[SLAVE_BUILD]",
170 "env": { 164 "env": {
171 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 165 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
172 }, 166 },
173 "name": "gclient runhooks" 167 "name": "gclient runhooks"
174 }, 168 },
175 { 169 {
176 "name": "$result", 170 "name": "$result",
177 "recipe_result": null, 171 "recipe_result": null,
178 "status_code": 0 172 "status_code": 0
179 } 173 }
180 ] 174 ]
OLDNEW
« no previous file with comments | « recipe_modules/gclient/example.expected/basic.json ('k') | recipe_modules/gclient/example.expected/tryserver.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698