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

Unified Diff: recipes/recipes/recipe_autoroller.expected/empty.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 side-by-side diff with in-line comments
Download patch
Index: recipes/recipes/recipe_autoroller.expected/empty.json
diff --git a/recipes/recipes/recipe_autoroller.expected/empty.json b/recipes/recipes/recipe_autoroller.expected/empty.json
index 5d617880154b82a95a26d7476c11258c0a55d2c1..10ff57cd92711946670b58ebd3c81e3e548d3cb3 100644
--- a/recipes/recipes/recipe_autoroller.expected/empty.json
+++ b/recipes/recipes/recipe_autoroller.expected/empty.json
@@ -81,6 +81,62 @@
"cmd": [
"git",
"retry",
+ "cache",
+ "populate",
+ "-c",
+ "[GIT_CACHE]",
+ "https://repo.repo/build"
+ ],
+ "cwd": "[TMP_BASE]/roll_build_tmp_2",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
+ },
+ "name": "build.populate cache",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "cache",
+ "exists",
+ "--quiet",
+ "--cache-dir",
+ "[GIT_CACHE]",
+ "https://repo.repo/build"
+ ],
+ "cwd": "[TMP_BASE]/roll_build_tmp_2",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
+ },
+ "name": "build.git cache",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "remote",
+ "set-url",
+ "origin",
+ "mirror_dir"
+ ],
+ "cwd": "[TMP_BASE]/roll_build_tmp_2",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
+ },
+ "name": "build.git remote",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
"fetch",
"origin",
"master"
« no previous file with comments | « recipes/recipes/recipe_autoroller.expected/basic.json ('k') | recipes/recipes/recipe_autoroller.expected/failed_upload.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698