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

Unified Diff: recipe_modules/tryserver/example.expected/with_svn_patch.json

Issue 1651033004: depot_tools: import bot_update gclient git rietveld tryserver recipe modules (reland #1) (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: 80cols Created 4 years, 11 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: recipe_modules/tryserver/example.expected/with_svn_patch.json
diff --git a/recipe_modules/tryserver/example.expected/with_svn_patch.json b/recipe_modules/tryserver/example.expected/with_svn_patch.json
new file mode 100644
index 0000000000000000000000000000000000000000..1046c033953d50d0e07d978b5639af5ce4ccd8c0
--- /dev/null
+++ b/recipe_modules/tryserver/example.expected/with_svn_patch.json
@@ -0,0 +1,71 @@
+[
+ {
+ "cmd": [
+ "svn",
+ "export",
+ "--force",
+ "svn://checkout.url",
+ "/path/to/tmp/diff"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "download patch",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@patch.diff@fake patch.diff content (line 1)@@@",
+ "@@@STEP_LOG_LINE@patch.diff@fake patch.diff content (line 2)@@@",
+ "@@@STEP_LOG_LINE@patch.diff@@@@",
+ "@@@STEP_LOG_END@patch.diff@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "patch",
+ "--dir",
+ "[SLAVE_BUILD]",
+ "--force",
+ "--forward",
+ "--remove-empty-files",
+ "--strip",
+ "0"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "apply patch",
+ "stdin": "fake patch.diff content (line 1)\nfake patch.diff content (line 2)\n"
+ },
+ {
+ "cmd": [
+ "git",
+ "diff",
+ "--cached",
+ "--name-only"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "git diff to analyze patch",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@files@foo.cc@@@",
+ "@@@STEP_LOG_END@files@@@",
+ "@@@SET_BUILD_PROPERTY@failure_type@\"INVALID_TEST_RESULTS\"@@@",
+ "@@@SET_BUILD_PROPERTY@subproject_tag@\"v8\"@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "import sys; sys.exit(1)"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "fail",
+ "~followup_annotations": [
+ "step returned non-zero exit code: 1",
+ "@@@STEP_TEXT@foo@@@",
+ "@@@STEP_FAILURE@@@",
+ "@@@SET_BUILD_PROPERTY@failure_hash@\"c2311ad770732eade3d2f48247abd147e40a70e7\"@@@"
+ ]
+ },
+ {
+ "name": "$result",
+ "reason": "Step('fail') failed with return_code 1",
+ "status_code": 1
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698