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

Side by Side Diff: recipe_modules/tryserver/example.expected/with_git_patch.json

Issue 1921373002: Reland of depot_tools: add infra_paths recipe module for infra-specific paths (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/git_setup.py", 6 "[ROOT]/b/build/scripts/slave/git_setup.py",
7 "--path", 7 "--path",
8 "[TMP_BASE]/patch_tmp_1", 8 "[TMP]/patch_tmp_1",
9 "--url", 9 "--url",
10 "http://patch.url/" 10 "http://patch.url/"
11 ], 11 ],
12 "cwd": "[SLAVE_BUILD]",
13 "name": "patch git setup" 12 "name": "patch git setup"
14 }, 13 },
15 { 14 {
16 "cmd": [ 15 "cmd": [
17 "git", 16 "git",
18 "fetch", 17 "fetch",
19 "origin", 18 "origin",
20 "johndoe#123.diff" 19 "johndoe#123.diff"
21 ], 20 ],
22 "cwd": "[TMP_BASE]/patch_tmp_1", 21 "cwd": "[TMP]/patch_tmp_1",
23 "name": "patch fetch" 22 "name": "patch fetch"
24 }, 23 },
25 { 24 {
26 "cmd": [ 25 "cmd": [
27 "git", 26 "git",
28 "clean", 27 "clean",
29 "-f", 28 "-f",
30 "-d", 29 "-d",
31 "-x" 30 "-x"
32 ], 31 ],
33 "cwd": "[TMP_BASE]/patch_tmp_1", 32 "cwd": "[TMP]/patch_tmp_1",
34 "name": "patch clean" 33 "name": "patch clean"
35 }, 34 },
36 { 35 {
37 "cmd": [ 36 "cmd": [
38 "git", 37 "git",
39 "checkout", 38 "checkout",
40 "-f", 39 "-f",
41 "FETCH_HEAD" 40 "FETCH_HEAD"
42 ], 41 ],
43 "cwd": "[TMP_BASE]/patch_tmp_1", 42 "cwd": "[TMP]/patch_tmp_1",
44 "name": "patch git checkout" 43 "name": "patch git checkout"
45 }, 44 },
46 { 45 {
47 "cmd": [ 46 "cmd": [
48 "patch", 47 "patch",
49 "--dir", 48 "--dir",
50 "[SLAVE_BUILD]", 49 "[CWD]",
51 "--force", 50 "--force",
52 "--forward", 51 "--forward",
53 "--remove-empty-files", 52 "--remove-empty-files",
54 "--strip", 53 "--strip",
55 "0", 54 "0",
56 "--input", 55 "--input",
57 "[TMP_BASE]/patch_tmp_1/patch.diff" 56 "[TMP]/patch_tmp_1/patch.diff"
58 ], 57 ],
59 "cwd": "[SLAVE_BUILD]",
60 "name": "apply patch" 58 "name": "apply patch"
61 }, 59 },
62 { 60 {
63 "cmd": [ 61 "cmd": [
64 "rm", 62 "rm",
65 "-rf", 63 "-rf",
66 "[TMP_BASE]/patch_tmp_1" 64 "[TMP]/patch_tmp_1"
67 ], 65 ],
68 "cwd": "[SLAVE_BUILD]",
69 "name": "remove patch" 66 "name": "remove patch"
70 }, 67 },
71 { 68 {
72 "cmd": [ 69 "cmd": [
73 "git", 70 "git",
74 "diff", 71 "diff",
75 "--cached", 72 "--cached",
76 "--name-only" 73 "--name-only"
77 ], 74 ],
78 "cwd": "[SLAVE_BUILD]/v8", 75 "cwd": "[CWD]/v8",
79 "name": "git diff to analyze patch", 76 "name": "git diff to analyze patch",
80 "stdout": "/path/to/tmp/", 77 "stdout": "/path/to/tmp/",
81 "~followup_annotations": [ 78 "~followup_annotations": [
82 "@@@STEP_LOG_LINE@files@v8/foo.cc@@@", 79 "@@@STEP_LOG_LINE@files@v8/foo.cc@@@",
83 "@@@STEP_LOG_END@files@@@", 80 "@@@STEP_LOG_END@files@@@",
84 "@@@SET_BUILD_PROPERTY@failure_type@\"INVALID_TEST_RESULTS\"@@@", 81 "@@@SET_BUILD_PROPERTY@failure_type@\"INVALID_TEST_RESULTS\"@@@",
85 "@@@SET_BUILD_PROPERTY@subproject_tag@\"v8\"@@@" 82 "@@@SET_BUILD_PROPERTY@subproject_tag@\"v8\"@@@"
86 ] 83 ]
87 }, 84 },
88 { 85 {
89 "cmd": [ 86 "cmd": [
90 "python", 87 "python",
91 "-u", 88 "-u",
92 "import sys; sys.exit(1)" 89 "import sys; sys.exit(1)"
93 ], 90 ],
94 "cwd": "[SLAVE_BUILD]",
95 "name": "fail", 91 "name": "fail",
96 "~followup_annotations": [ 92 "~followup_annotations": [
97 "step returned non-zero exit code: 1", 93 "step returned non-zero exit code: 1",
98 "@@@STEP_TEXT@foo@@@", 94 "@@@STEP_TEXT@foo@@@",
99 "@@@STEP_FAILURE@@@", 95 "@@@STEP_FAILURE@@@",
100 "@@@SET_BUILD_PROPERTY@failure_hash@\"c2311ad770732eade3d2f48247abd147e40a 70e7\"@@@" 96 "@@@SET_BUILD_PROPERTY@failure_hash@\"c2311ad770732eade3d2f48247abd147e40a 70e7\"@@@"
101 ] 97 ]
102 }, 98 },
103 { 99 {
104 "name": "$result", 100 "name": "$result",
105 "reason": "Step('fail') failed with return_code 1", 101 "reason": "Step('fail') failed with return_code 1",
106 "status_code": 1 102 "status_code": 1
107 } 103 }
108 ] 104 ]
OLDNEW
« no previous file with comments | « recipe_modules/tryserver/example.py ('k') | recipe_modules/tryserver/example.expected/with_rietveld_patch.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698