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

Side by Side Diff: recipes/recipes/recipe_autoroller_public.expected/basic.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 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py", 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
7 "https://luci-config.appspot.com/_ah/api/config/v1/projects", 7 "https://luci-config.appspot.com/_ah/api/config/v1/projects",
8 "--outfile", 8 "--outfile",
9 "/path/to/tmp/", 9 "/path/to/tmp/",
10 "--attempts", 10 "--attempts",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 ], 74 ],
75 "name": "build.git setup", 75 "name": "build.git setup",
76 "~followup_annotations": [ 76 "~followup_annotations": [
77 "@@@STEP_NEST_LEVEL@1@@@" 77 "@@@STEP_NEST_LEVEL@1@@@"
78 ] 78 ]
79 }, 79 },
80 { 80 {
81 "cmd": [ 81 "cmd": [
82 "git", 82 "git",
83 "retry", 83 "retry",
84 "cache",
85 "populate",
86 "-c",
87 "[GIT_CACHE]",
88 "https://repo.repo/build"
89 ],
90 "cwd": "[TMP_BASE]/roll_build_tmp_2",
91 "env": {
92 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
93 },
94 "name": "build.populate cache",
95 "~followup_annotations": [
96 "@@@STEP_NEST_LEVEL@1@@@"
97 ]
98 },
99 {
100 "cmd": [
101 "git",
102 "cache",
103 "exists",
104 "--quiet",
105 "--cache-dir",
106 "[GIT_CACHE]",
107 "https://repo.repo/build"
108 ],
109 "cwd": "[TMP_BASE]/roll_build_tmp_2",
110 "env": {
111 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
112 },
113 "name": "build.git cache",
114 "stdout": "/path/to/tmp/",
115 "~followup_annotations": [
116 "@@@STEP_NEST_LEVEL@1@@@"
117 ]
118 },
119 {
120 "cmd": [
121 "git",
122 "remote",
123 "set-url",
124 "origin",
125 "mirror_dir"
126 ],
127 "cwd": "[TMP_BASE]/roll_build_tmp_2",
128 "env": {
129 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
130 },
131 "name": "build.git remote",
132 "~followup_annotations": [
133 "@@@STEP_NEST_LEVEL@1@@@"
134 ]
135 },
136 {
137 "cmd": [
138 "git",
139 "retry",
84 "fetch", 140 "fetch",
85 "origin", 141 "origin",
86 "master" 142 "master"
87 ], 143 ],
88 "cwd": "[TMP_BASE]/roll_build_tmp_2", 144 "cwd": "[TMP_BASE]/roll_build_tmp_2",
89 "env": { 145 "env": {
90 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" 146 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
91 }, 147 },
92 "name": "build.git fetch", 148 "name": "build.git fetch",
93 "~followup_annotations": [ 149 "~followup_annotations": [
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 "[TMP_BASE]/recipes_tmp_1" 402 "[TMP_BASE]/recipes_tmp_1"
347 ], 403 ],
348 "name": "rmtree [TMP_BASE]/recipes_tmp_1" 404 "name": "rmtree [TMP_BASE]/recipes_tmp_1"
349 }, 405 },
350 { 406 {
351 "name": "$result", 407 "name": "$result",
352 "recipe_result": null, 408 "recipe_result": null,
353 "status_code": 0 409 "status_code": 0
354 } 410 }
355 ] 411 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698