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

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

Issue 1801843002: Revert of Use the crrev recipe module to fetch commit hashes. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: 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/basic_bisect_script.json
diff --git a/scripts/slave/recipe_modules/auto_bisect/example.expected/basic_bisect_script.json b/scripts/slave/recipe_modules/auto_bisect/example.expected/basic_bisect_script.json
index 21ee017bccca663ca3759383985eeef7e35b3e19..8cc80002faf01e94358e940285b7457d296f1f08 100644
--- a/scripts/slave/recipe_modules/auto_bisect/example.expected/basic_bisect_script.json
+++ b/scripts/slave/recipe_modules/auto_bisect/example.expected/basic_bisect_script.json
@@ -50,46 +50,36 @@
},
{
"cmd": [
- "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": "[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_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"git_sha\": \"00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111\"@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [
- "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": "[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_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"git_sha\": \"a6298e4afedbf2cd461755ea6f45b0ad64222222\"@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
+ "git",
+ "log",
+ "--format=hash:%H",
+ "--grep",
+ "^Cr-Commit-Position: refs/heads/master@{#314017}",
+ "-1",
+ "origin/master"
+ ],
+ "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
+ "name": "Resolving reference range.resolving commit_pos 314017",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "log",
+ "--format=hash:%H",
+ "--grep",
+ "^Cr-Commit-Position: refs/heads/master@{#314015}",
+ "-1",
+ "origin/master"
+ ],
+ "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
+ "name": "Resolving reference range.resolving commit_pos 314015",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
]
},
{

Powered by Google App Engine
This is Rietveld 408576698