diff options
author | Eric Boren <borenet@google.com> | 2018-04-26 14:23:08 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-26 18:51:13 +0000 |
commit | e8615f969e92009551b70c85d1913202390e0b0d (patch) | |
tree | cdabbd4f78be6bbed4dfe6774d13b7e8f93abcc7 /infra/bots/recipes/check_generated_files.expected | |
parent | 329694260c6d40ea3ef8fff45d67bbc5a35b1276 (diff) |
[recipes] Use named caches for git and workdirs
Bug: skia:
Change-Id: Iaf3d190252c9483c8b9e58a3ab0305db4173cc1c
Reviewed-on: https://skia-review.googlesource.com/123929
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Diffstat (limited to 'infra/bots/recipes/check_generated_files.expected')
-rw-r--r-- | infra/bots/recipes/check_generated_files.expected/Housekeeper-PerCommit-CheckGeneratedFiles.json | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/infra/bots/recipes/check_generated_files.expected/Housekeeper-PerCommit-CheckGeneratedFiles.json b/infra/bots/recipes/check_generated_files.expected/Housekeeper-PerCommit-CheckGeneratedFiles.json index 7c9fe21dab..af5f08e271 100644 --- a/infra/bots/recipes/check_generated_files.expected/Housekeeper-PerCommit-CheckGeneratedFiles.json +++ b/infra/bots/recipes/check_generated_files.expected/Housekeeper-PerCommit-CheckGeneratedFiles.json @@ -9,7 +9,7 @@ "ensure-directory", "--mode", "0777", - "[CUSTOM_/_B_WORK]" + "[START_DIR]/cache/work" ], "infra_step": true, "name": "makedirs checkout_path" @@ -22,10 +22,10 @@ "--json-output", "/path/to/tmp/json", "remove", - "[CUSTOM_/_B_WORK]/.gclient_entries" + "[START_DIR]/cache/work/.gclient_entries" ], "infra_step": true, - "name": "remove [CUSTOM_/_B_WORK]/.gclient_entries" + "name": "remove [START_DIR]/cache/work/.gclient_entries" }, { "cmd": [ @@ -33,13 +33,13 @@ "-u", "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", "--spec-path", - "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]", + "cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]", "--patch_root", "skia", "--revision_mapping_file", "{\"got_revision\": \"skia\"}", "--git-cache-dir", - "[CUSTOM_/_B_CACHE]", + "[START_DIR]/cache/git", "--cleanup-dir", "[CLEANUP]/bot_update", "--output_json", @@ -47,7 +47,7 @@ "--revision", "skia@abc123" ], - "cwd": "[CUSTOM_/_B_WORK]", + "cwd": "[START_DIR]/cache/work", "env_prefixes": { "PATH": [ "RECIPE_PACKAGE_REPO[depot_tools]" @@ -114,7 +114,7 @@ "diff", "--no-ext-diff" ], - "cwd": "[CUSTOM_/_B_WORK]/skia", + "cwd": "[START_DIR]/cache/work/skia", "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", @@ -128,9 +128,9 @@ "cmd": [ "python", "-u", - "import os\nimport subprocess\n\nfor r, d, files in os.walk('[CUSTOM_/_B_WORK]/skia'):\n for f in files:\n if f.endswith('.fp'):\n path = os.path.join(r, f)\n print 'touch %s' % path\n subprocess.check_call(['touch', path])\n" + "import os\nimport subprocess\n\nfor r, d, files in os.walk('[START_DIR]/cache/work/skia'):\n for f in files:\n if f.endswith('.fp'):\n path = os.path.join(r, f)\n print 'touch %s' % path\n subprocess.check_call(['touch', path])\n" ], - "cwd": "[CUSTOM_/_B_WORK]/skia", + "cwd": "[START_DIR]/cache/work/skia", "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", @@ -142,7 +142,7 @@ "@@@STEP_LOG_LINE@python.inline@import os@@@", "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", "@@@STEP_LOG_LINE@python.inline@@@@", - "@@@STEP_LOG_LINE@python.inline@for r, d, files in os.walk('[CUSTOM_/_B_WORK]/skia'):@@@", + "@@@STEP_LOG_LINE@python.inline@for r, d, files in os.walk('[START_DIR]/cache/work/skia'):@@@", "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.fp'):@@@", "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(r, f)@@@", @@ -155,9 +155,9 @@ "cmd": [ "python", "-u", - "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" + "[START_DIR]/cache/work/skia/bin/fetch-gn" ], - "cwd": "[CUSTOM_/_B_WORK]/skia", + "cwd": "[START_DIR]/cache/work/skia", "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", @@ -171,9 +171,9 @@ "cmd": [ "python", "-u", - "[CUSTOM_/_B_WORK]/skia/bin/fetch-clang-format" + "[START_DIR]/cache/work/skia/bin/fetch-clang-format" ], - "cwd": "[CUSTOM_/_B_WORK]/skia", + "cwd": "[START_DIR]/cache/work/skia", "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", @@ -185,16 +185,16 @@ }, { "cmd": [ - "[CUSTOM_/_B_WORK]/skia/bin/gn", + "[START_DIR]/cache/work/skia/bin/gn", "gen", "[START_DIR]/build/out/Release", "--args=is_debug=false skia_compile_processors=true skia_generate_workarounds=true" ], - "cwd": "[CUSTOM_/_B_WORK]/skia", + "cwd": "[START_DIR]/cache/work/skia", "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", - "PATH": "[CUSTOM_/_B_WORK]/skia/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", + "PATH": "[START_DIR]/cache/work/skia/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[START_DIR]/build/out" }, "name": "gn gen" @@ -207,11 +207,11 @@ "-C", "[START_DIR]/build/out/Release" ], - "cwd": "[CUSTOM_/_B_WORK]/skia", + "cwd": "[START_DIR]/cache/work/skia", "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", - "PATH": "[CUSTOM_/_B_WORK]/skia/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", + "PATH": "[START_DIR]/cache/work/skia/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", "SKIA_OUT": "[START_DIR]/build/out" }, "name": "ninja" @@ -222,7 +222,7 @@ "diff", "--no-ext-diff" ], - "cwd": "[CUSTOM_/_B_WORK]/skia", + "cwd": "[START_DIR]/cache/work/skia", "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", @@ -238,7 +238,7 @@ "-u", "\ndiff1 = ''''''\n\ndiff2 = ''''''\n\nif diff1 != diff2:\n print 'Generated files have been edited!'\n exit(1)\n" ], - "cwd": "[CUSTOM_/_B_WORK]/skia", + "cwd": "[START_DIR]/cache/work/skia", "env": { "BUILDTYPE": "Release", "CHROME_HEADLESS": "1", |