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

Side by Side Diff: scripts/slave/recipes/infra/depot_tools_builder.expected/basic.json

Issue 1849343002: Followup to https://codereview.chromium.org/1849113003 (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « scripts/slave/recipes/infra/depot_tools_builder.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [],
4 "cwd": "[SLAVE_BUILD]",
5 "name": "clean workspace"
6 },
7 {
3 "cmd": [ 8 "cmd": [
4 "python", 9 "python",
5 "-u", 10 "-u",
6 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 11 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
7 "[SLAVE_BUILD]/depot_tools" 12 "[SLAVE_BUILD]/depot_tools"
8 ], 13 ],
9 "cwd": "[SLAVE_BUILD]", 14 "cwd": "[SLAVE_BUILD]",
10 "name": "rmtree rm depot_tools", 15 "name": "clean workspace.rmtree rm depot_tools",
11 "~followup_annotations": [ 16 "~followup_annotations": [
17 "@@@STEP_NEST_LEVEL@1@@@",
12 "@@@STEP_LOG_LINE@python.inline@@@@", 18 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 19 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
14 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 20 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
15 "@@@STEP_LOG_LINE@python.inline@@@@", 21 "@@@STEP_LOG_LINE@python.inline@@@@",
16 "@@@STEP_LOG_LINE@python.inline@@@@", 22 "@@@STEP_LOG_LINE@python.inline@@@@",
17 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 23 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 24 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
19 "@@@STEP_LOG_END@python.inline@@@" 25 "@@@STEP_LOG_END@python.inline@@@"
20 ] 26 ]
21 }, 27 },
22 { 28 {
23 "cmd": [ 29 "cmd": [
24 "python", 30 "python",
25 "-u", 31 "-u",
26 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", 32 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
27 "[SLAVE_BUILD]/depot_tools.zip" 33 "[SLAVE_BUILD]/depot_tools.zip"
28 ], 34 ],
29 "cwd": "[SLAVE_BUILD]", 35 "cwd": "[SLAVE_BUILD]",
30 "name": "rm depot_tools.zip", 36 "name": "clean workspace.rm depot_tools.zip",
31 "~followup_annotations": [ 37 "~followup_annotations": [
38 "@@@STEP_NEST_LEVEL@1@@@",
32 "@@@STEP_LOG_LINE@python.inline@@@@", 39 "@@@STEP_LOG_LINE@python.inline@@@@",
33 "@@@STEP_LOG_LINE@python.inline@import os@@@", 40 "@@@STEP_LOG_LINE@python.inline@import os@@@",
34 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 41 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
35 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 42 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
36 "@@@STEP_LOG_END@python.inline@@@" 43 "@@@STEP_LOG_END@python.inline@@@"
37 ] 44 ]
38 }, 45 },
39 { 46 {
40 "cmd": [ 47 "cmd": [
41 "mkdir", 48 "mkdir",
42 "[SLAVE_BUILD]/depot_tools" 49 "[SLAVE_BUILD]/depot_tools"
43 ], 50 ],
44 "cwd": "[SLAVE_BUILD]", 51 "cwd": "[SLAVE_BUILD]",
45 "name": "mk depot_tools" 52 "name": "clean workspace.mk depot_tools",
53 "~followup_annotations": [
54 "@@@STEP_NEST_LEVEL@1@@@"
55 ]
56 },
57 {
58 "cmd": [],
59 "cwd": "[SLAVE_BUILD]",
60 "name": "clone + checkout"
46 }, 61 },
47 { 62 {
48 "cmd": [ 63 "cmd": [
49 "git", 64 "git",
50 "clone", 65 "clone",
51 "--single-branch", 66 "--single-branch",
52 "-n", 67 "-n",
53 "https://chromium.googlesource.com/chromium/tools/depot_tools.git", 68 "https://chromium.googlesource.com/chromium/tools/depot_tools.git",
54 "[SLAVE_BUILD]/depot_tools" 69 "[SLAVE_BUILD]/depot_tools"
55 ], 70 ],
56 "cwd": "[SLAVE_BUILD]/depot_tools", 71 "cwd": "[SLAVE_BUILD]/depot_tools",
57 "name": "git clone" 72 "name": "clone + checkout.git clone",
73 "~followup_annotations": [
74 "@@@STEP_NEST_LEVEL@1@@@"
75 ]
58 }, 76 },
59 { 77 {
60 "cmd": [ 78 "cmd": [
61 "git", 79 "git",
62 "config", 80 "config",
63 "core.autocrlf", 81 "core.autocrlf",
64 "false" 82 "false"
65 ], 83 ],
66 "cwd": "[SLAVE_BUILD]/depot_tools", 84 "cwd": "[SLAVE_BUILD]/depot_tools",
67 "name": "set autocrlf" 85 "name": "clone + checkout.set autocrlf",
86 "~followup_annotations": [
87 "@@@STEP_NEST_LEVEL@1@@@"
88 ]
68 }, 89 },
69 { 90 {
70 "cmd": [ 91 "cmd": [
71 "git", 92 "git",
72 "config", 93 "config",
73 "core.filemode", 94 "core.filemode",
74 "false" 95 "false"
75 ], 96 ],
76 "cwd": "[SLAVE_BUILD]/depot_tools", 97 "cwd": "[SLAVE_BUILD]/depot_tools",
77 "name": "set filemode" 98 "name": "clone + checkout.set filemode",
99 "~followup_annotations": [
100 "@@@STEP_NEST_LEVEL@1@@@"
101 ]
78 }, 102 },
79 { 103 {
80 "cmd": [ 104 "cmd": [
81 "git", 105 "git",
82 "config", 106 "config",
83 "core.symlinks", 107 "core.symlinks",
84 "false" 108 "false"
85 ], 109 ],
86 "cwd": "[SLAVE_BUILD]/depot_tools", 110 "cwd": "[SLAVE_BUILD]/depot_tools",
87 "name": "set symlinks" 111 "name": "clone + checkout.set symlinks",
112 "~followup_annotations": [
113 "@@@STEP_NEST_LEVEL@1@@@"
114 ]
88 }, 115 },
89 { 116 {
90 "cmd": [ 117 "cmd": [
91 "git", 118 "git",
92 "checkout", 119 "checkout",
93 "origin/master" 120 "origin/master"
94 ], 121 ],
95 "cwd": "[SLAVE_BUILD]/depot_tools", 122 "cwd": "[SLAVE_BUILD]/depot_tools",
96 "name": "git checkout" 123 "name": "clone + checkout.git checkout",
124 "~followup_annotations": [
125 "@@@STEP_NEST_LEVEL@1@@@"
126 ]
97 }, 127 },
98 { 128 {
99 "cmd": [ 129 "cmd": [
100 "git", 130 "git",
101 "reset", 131 "reset",
102 "--hard", 132 "--hard",
103 "deadbeef" 133 "deadbeef"
104 ], 134 ],
105 "cwd": "[SLAVE_BUILD]/depot_tools", 135 "cwd": "[SLAVE_BUILD]/depot_tools",
106 "name": "git reset" 136 "name": "clone + checkout.git reset",
137 "~followup_annotations": [
138 "@@@STEP_NEST_LEVEL@1@@@"
139 ]
107 }, 140 },
108 { 141 {
109 "cmd": [ 142 "cmd": [
110 "git", 143 "git",
111 "reflog", 144 "reflog",
112 "expire", 145 "expire",
113 "--all" 146 "--all"
114 ], 147 ],
115 "cwd": "[SLAVE_BUILD]/depot_tools", 148 "cwd": "[SLAVE_BUILD]/depot_tools",
116 "name": "git reflog" 149 "name": "clone + checkout.git reflog",
150 "~followup_annotations": [
151 "@@@STEP_NEST_LEVEL@1@@@"
152 ]
117 }, 153 },
118 { 154 {
119 "cmd": [ 155 "cmd": [
120 "git", 156 "git",
121 "gc", 157 "gc",
122 "--aggressive", 158 "--aggressive",
123 "--prune=all" 159 "--prune=all"
124 ], 160 ],
125 "cwd": "[SLAVE_BUILD]/depot_tools", 161 "cwd": "[SLAVE_BUILD]/depot_tools",
126 "name": "git gc" 162 "name": "clone + checkout.git gc",
163 "~followup_annotations": [
164 "@@@STEP_NEST_LEVEL@1@@@"
165 ]
127 }, 166 },
128 { 167 {
129 "cmd": [ 168 "cmd": [
130 "python", 169 "python",
131 "-u", 170 "-u",
132 "RECIPE_MODULE[build::zip]/resources/zip.py" 171 "RECIPE_MODULE[build::zip]/resources/zip.py"
133 ], 172 ],
134 "cwd": "[SLAVE_BUILD]", 173 "cwd": "[SLAVE_BUILD]",
135 "name": "zip it up", 174 "name": "zip it up",
136 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/depot_tools\", \"type\": \"dir\"}], \"output\": \"[SLAVE_BUILD]/depot_tools.zip\", \"root\": \"[SLAVE_BU ILD]/depot_tools\"}" 175 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/depot_tools\", \"type\": \"dir\"}], \"output\": \"[SLAVE_BUILD]/depot_tools.zip\", \"root\": \"[SLAVE_BU ILD]/depot_tools\"}"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ], 213 ],
175 "cwd": "[SLAVE_BUILD]", 214 "cwd": "[SLAVE_BUILD]",
176 "name": "gsutil upload docs" 215 "name": "gsutil upload docs"
177 }, 216 },
178 { 217 {
179 "name": "$result", 218 "name": "$result",
180 "recipe_result": null, 219 "recipe_result": null,
181 "status_code": 0 220 "status_code": 0
182 } 221 }
183 ] 222 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/infra/depot_tools_builder.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698