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

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

Issue 2047263003: build: delete infra recipes moved to infra repo except infra_continuous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [],
4 "name": "clean workspace"
5 },
6 {
7 "cmd": [
8 "python",
9 "-u",
10 "\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 "[SLAVE_BUILD]/depot_tools"
12 ],
13 "name": "clean workspace.rmtree rm depot_tools",
14 "~followup_annotations": [
15 "@@@STEP_NEST_LEVEL@1@@@",
16 "@@@STEP_LOG_LINE@python.inline@@@@",
17 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
18 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
19 "@@@STEP_LOG_LINE@python.inline@@@@",
20 "@@@STEP_LOG_LINE@python.inline@@@@",
21 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
22 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
23 "@@@STEP_LOG_END@python.inline@@@"
24 ]
25 },
26 {
27 "cmd": [
28 "python",
29 "-u",
30 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
31 "[SLAVE_BUILD]/depot_tools.zip"
32 ],
33 "name": "clean workspace.rm depot_tools.zip",
34 "~followup_annotations": [
35 "@@@STEP_NEST_LEVEL@1@@@",
36 "@@@STEP_LOG_LINE@python.inline@@@@",
37 "@@@STEP_LOG_LINE@python.inline@import os@@@",
38 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
39 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
40 "@@@STEP_LOG_END@python.inline@@@"
41 ]
42 },
43 {
44 "cmd": [
45 "mkdir",
46 "[SLAVE_BUILD]/depot_tools"
47 ],
48 "name": "clean workspace.mk depot_tools",
49 "~followup_annotations": [
50 "@@@STEP_NEST_LEVEL@1@@@"
51 ]
52 },
53 {
54 "cmd": [],
55 "name": "clone + checkout"
56 },
57 {
58 "cmd": [
59 "git",
60 "clone",
61 "--single-branch",
62 "-n",
63 "https://chromium.googlesource.com/chromium/tools/depot_tools.git",
64 "[SLAVE_BUILD]/depot_tools"
65 ],
66 "cwd": "[SLAVE_BUILD]/depot_tools",
67 "name": "clone + checkout.git clone",
68 "~followup_annotations": [
69 "@@@STEP_NEST_LEVEL@1@@@"
70 ]
71 },
72 {
73 "cmd": [
74 "git",
75 "config",
76 "core.autocrlf",
77 "false"
78 ],
79 "cwd": "[SLAVE_BUILD]/depot_tools",
80 "name": "clone + checkout.set autocrlf",
81 "~followup_annotations": [
82 "@@@STEP_NEST_LEVEL@1@@@"
83 ]
84 },
85 {
86 "cmd": [
87 "git",
88 "config",
89 "core.filemode",
90 "false"
91 ],
92 "cwd": "[SLAVE_BUILD]/depot_tools",
93 "name": "clone + checkout.set filemode",
94 "~followup_annotations": [
95 "@@@STEP_NEST_LEVEL@1@@@"
96 ]
97 },
98 {
99 "cmd": [
100 "git",
101 "config",
102 "core.symlinks",
103 "false"
104 ],
105 "cwd": "[SLAVE_BUILD]/depot_tools",
106 "name": "clone + checkout.set symlinks",
107 "~followup_annotations": [
108 "@@@STEP_NEST_LEVEL@1@@@"
109 ]
110 },
111 {
112 "cmd": [
113 "git",
114 "checkout",
115 "origin/master"
116 ],
117 "cwd": "[SLAVE_BUILD]/depot_tools",
118 "name": "clone + checkout.git checkout",
119 "~followup_annotations": [
120 "@@@STEP_NEST_LEVEL@1@@@"
121 ]
122 },
123 {
124 "cmd": [
125 "git",
126 "reset",
127 "--hard",
128 "deadbeef"
129 ],
130 "cwd": "[SLAVE_BUILD]/depot_tools",
131 "name": "clone + checkout.git reset",
132 "~followup_annotations": [
133 "@@@STEP_NEST_LEVEL@1@@@"
134 ]
135 },
136 {
137 "cmd": [
138 "git",
139 "reflog",
140 "expire",
141 "--all"
142 ],
143 "cwd": "[SLAVE_BUILD]/depot_tools",
144 "name": "clone + checkout.git reflog",
145 "~followup_annotations": [
146 "@@@STEP_NEST_LEVEL@1@@@"
147 ]
148 },
149 {
150 "cmd": [
151 "git",
152 "gc",
153 "--aggressive",
154 "--prune=all"
155 ],
156 "cwd": "[SLAVE_BUILD]/depot_tools",
157 "name": "clone + checkout.git gc",
158 "~followup_annotations": [
159 "@@@STEP_NEST_LEVEL@1@@@"
160 ]
161 },
162 {
163 "cmd": [
164 "python",
165 "-u",
166 "RECIPE_MODULE[build::zip]/resources/zip.py"
167 ],
168 "name": "zip it up",
169 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/depot_tools\", \"type\": \"dir\"}], \"output\": \"[SLAVE_BUILD]/depot_tools.zip\", \"root\": \"[SLAVE_BU ILD]/depot_tools\"}"
170 },
171 {
172 "cmd": [
173 "python",
174 "-u",
175 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
176 "--",
177 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
178 "----",
179 "cp",
180 "-a",
181 "public-read",
182 "[SLAVE_BUILD]/depot_tools.zip",
183 "gs://chrome-infra/depot_tools.zip"
184 ],
185 "name": "gsutil upload",
186 "~followup_annotations": [
187 "@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/chrome-infra/de pot_tools.zip@@@"
188 ]
189 },
190 {
191 "cmd": [
192 "python",
193 "-u",
194 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
195 "--",
196 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
197 "----",
198 "cp",
199 "-r",
200 "-z",
201 "html",
202 "-a",
203 "public-read",
204 "[SLAVE_BUILD]/depot_tools/man/html",
205 "gs://chrome-infra-docs/flat/depot_tools/docs/"
206 ],
207 "name": "gsutil upload docs"
208 },
209 {
210 "name": "$result",
211 "recipe_result": null,
212 "status_code": 0
213 }
214 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/infra/depot_tools_builder.py ('k') | scripts/slave/recipes/infra/luci_gae.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698