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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json

Issue 1773933002: Use the crrev recipe module to fetch commit hashes. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Update other bisect & bisect_test recipe expectations Created 4 years, 9 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: scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json
diff --git a/scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json b/scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json
index 2a0965be586677995b1d3800bea53a0c69863874..ab5bf793318dbccbe2fc901e3f9af1998fe5d8e3 100644
--- a/scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json
+++ b/scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json
@@ -50,36 +50,46 @@
},
{
"cmd": [
- "git",
- "log",
- "--format=hash:%H",
- "--grep",
- "^Cr-Commit-Position: refs/heads/master@{#314017}",
- "-1",
- "origin/master"
+ "python",
+ "-u",
+ "RECIPE_MODULE[build::crrev]/resources/crrev_client.py",
+ "get_numbering",
+ "--params-file",
+ "{\"number\": 314017, \"numbering_identifier\": \"refs/heads/master\", \"numbering_type\": \"COMMIT_POSITION\", \"project\": \"chromium\", \"repo\": \"chromium/src\"}",
+ "--attempts",
+ "3"
],
- "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
- "name": "Resolving reference range.resolving commit_pos 314017",
- "stdout": "/path/to/tmp/",
+ "cwd": "[SLAVE_BUILD]",
+ "name": "Resolving reference range.crrev get commit hash for refs/heads/master@{#314017}",
+ "stdout": "/path/to/tmp/json",
"~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
+ "@@@STEP_NEST_LEVEL@1@@@",
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"git_sha\": \"00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111\"@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
+ "@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
- "git",
- "log",
- "--format=hash:%H",
- "--grep",
- "^Cr-Commit-Position: refs/heads/master@{#314015}",
- "-1",
- "origin/master"
+ "python",
+ "-u",
+ "RECIPE_MODULE[build::crrev]/resources/crrev_client.py",
+ "get_numbering",
+ "--params-file",
+ "{\"number\": 314015, \"numbering_identifier\": \"refs/heads/master\", \"numbering_type\": \"COMMIT_POSITION\", \"project\": \"chromium\", \"repo\": \"chromium/src\"}",
+ "--attempts",
+ "3"
],
- "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
- "name": "Resolving reference range.resolving commit_pos 314015",
- "stdout": "/path/to/tmp/",
+ "cwd": "[SLAVE_BUILD]",
+ "name": "Resolving reference range.crrev get commit hash for refs/heads/master@{#314015}",
+ "stdout": "/path/to/tmp/json",
"~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
+ "@@@STEP_NEST_LEVEL@1@@@",
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"git_sha\": \"a6298e4afedbf2cd461755ea6f45b0ad64222222\"@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
+ "@@@STEP_LOG_END@json.output@@@"
]
},
{

Powered by Google App Engine
This is Rietveld 408576698