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

Side by Side Diff: recipes/recipes/recipe_autoroller.expected/with_auth.json

Issue 2212353002: recipe_autoroller: use git cache (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 4 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 "/opt/infra-tools/authutil", 4 "/opt/infra-tools/authutil",
5 "token", 5 "token",
6 "-service-account-json", 6 "-service-account-json",
7 "/creds/service_accounts/service-account-recipe-roller.json" 7 "/creds/service_accounts/service-account-recipe-roller.json"
8 ], 8 ],
9 "name": "Get auth token", 9 "name": "Get auth token",
10 "stdout": "/path/to/tmp/" 10 "stdout": "/path/to/tmp/"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ], 86 ],
87 "name": "build.git setup", 87 "name": "build.git setup",
88 "~followup_annotations": [ 88 "~followup_annotations": [
89 "@@@STEP_NEST_LEVEL@1@@@" 89 "@@@STEP_NEST_LEVEL@1@@@"
90 ] 90 ]
91 }, 91 },
92 { 92 {
93 "cmd": [ 93 "cmd": [
94 "git", 94 "git",
95 "retry", 95 "retry",
96 "cache",
97 "populate",
98 "-c",
99 "[GIT_CACHE]",
100 "https://repo.repo/build"
101 ],
102 "cwd": "[TMP_BASE]/roll_build_tmp_2",
103 "env": {
104 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
105 },
106 "name": "build.populate cache",
107 "~followup_annotations": [
108 "@@@STEP_NEST_LEVEL@1@@@"
109 ]
110 },
111 {
112 "cmd": [
113 "git",
114 "cache",
115 "exists",
116 "--quiet",
117 "--cache-dir",
118 "[GIT_CACHE]",
119 "https://repo.repo/build"
120 ],
121 "cwd": "[TMP_BASE]/roll_build_tmp_2",
122 "env": {
123 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
124 },
125 "name": "build.git cache",
126 "stdout": "/path/to/tmp/",
127 "~followup_annotations": [
128 "@@@STEP_NEST_LEVEL@1@@@"
129 ]
130 },
131 {
132 "cmd": [
133 "git",
134 "remote",
135 "set-url",
136 "origin",
137 "mirror_dir"
138 ],
139 "cwd": "[TMP_BASE]/roll_build_tmp_2",
140 "env": {
141 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
142 },
143 "name": "build.git remote",
144 "~followup_annotations": [
145 "@@@STEP_NEST_LEVEL@1@@@"
146 ]
147 },
148 {
149 "cmd": [
150 "git",
151 "retry",
96 "fetch", 152 "fetch",
97 "origin", 153 "origin",
98 "master" 154 "master"
99 ], 155 ],
100 "cwd": "[TMP_BASE]/roll_build_tmp_2", 156 "cwd": "[TMP_BASE]/roll_build_tmp_2",
101 "env": { 157 "env": {
102 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" 158 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
103 }, 159 },
104 "name": "build.git fetch", 160 "name": "build.git fetch",
105 "~followup_annotations": [ 161 "~followup_annotations": [
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 "[TMP_BASE]/recipes_tmp_1" 414 "[TMP_BASE]/recipes_tmp_1"
359 ], 415 ],
360 "name": "rmtree [TMP_BASE]/recipes_tmp_1" 416 "name": "rmtree [TMP_BASE]/recipes_tmp_1"
361 }, 417 },
362 { 418 {
363 "name": "$result", 419 "name": "$result",
364 "recipe_result": null, 420 "recipe_result": null,
365 "status_code": 0 421 "status_code": 0
366 } 422 }
367 ] 423 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698