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

Side by Side Diff: scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/win.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 "python",
5 "-u",
6 "RECIPE_MODULE[build::cipd]\\resources\\bootstrap.py",
7 "--platform",
8 "windows-amd64",
9 "--dest-directory",
10 "[SLAVE_BUILD]\\cipd",
11 "--json-output",
12 "/path/to/tmp/json"
13 ],
14 "name": "install cipd",
15 "~followup_annotations": [
16 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
17 "@@@STEP_LOG_LINE@json.output@{@@@",
18 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]\\\\cipd\\\ \cipd\", @@@",
19 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
20 "@@@STEP_LOG_LINE@json.output@}@@@",
21 "@@@STEP_LOG_END@json.output@@@"
22 ]
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
28 "\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",
29 "[SLAVE_BUILD]\\conda_staging_dir"
30 ],
31 "name": "rmtree cleaning staging dir",
32 "~followup_annotations": [
33 "@@@STEP_LOG_LINE@python.inline@@@@",
34 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
35 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
36 "@@@STEP_LOG_LINE@python.inline@@@@",
37 "@@@STEP_LOG_LINE@python.inline@@@@",
38 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
39 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
40 "@@@STEP_LOG_END@python.inline@@@"
41 ]
42 },
43 {
44 "cmd": [
45 "python",
46 "-u",
47 "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\pycurl.py",
48 "https://repo.continuum.io/miniconda/Miniconda2-3.18.3-Windows-x86_64.exe" ,
49 "--outfile",
50 "[TMP_BASE]\\conda_tmp_1\\Miniconda2-3.18.3-Windows-x86_64.exe",
51 "--attempts",
52 "5"
53 ],
54 "name": "fetch miniconda installer"
55 },
56 {
57 "cmd": [
58 "[TMP_BASE]\\conda_tmp_1\\Miniconda2-3.18.3-Windows-x86_64.exe",
59 "/InstallationType=JustMe",
60 "/AddToPath=0",
61 "/RegisterPython=0",
62 "/S",
63 "/D=[SLAVE_BUILD]\\conda_staging_dir"
64 ],
65 "env": {
66 "PYTHONPATH": ""
67 },
68 "name": "install miniconda"
69 },
70 {
71 "cmd": [
72 "python",
73 "-u",
74 "\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",
75 "[TMP_BASE]\\conda_tmp_1"
76 ],
77 "name": "rmtree remove miniconda installer",
78 "~followup_annotations": [
79 "@@@STEP_LOG_LINE@python.inline@@@@",
80 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
81 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
82 "@@@STEP_LOG_LINE@python.inline@@@@",
83 "@@@STEP_LOG_LINE@python.inline@@@@",
84 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
85 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
86 "@@@STEP_LOG_END@python.inline@@@"
87 ]
88 },
89 {
90 "cmd": [
91 "[SLAVE_BUILD]\\conda_staging_dir\\Scripts\\conda.exe",
92 "install",
93 "matplotlib",
94 "--yes"
95 ],
96 "env": {
97 "PYTHONPATH": null
98 },
99 "name": "conda install matplotlib"
100 },
101 {
102 "cmd": [
103 "[SLAVE_BUILD]\\conda_staging_dir\\Scripts\\conda.exe",
104 "install",
105 "numpy",
106 "--yes"
107 ],
108 "env": {
109 "PYTHONPATH": null
110 },
111 "name": "conda install numpy"
112 },
113 {
114 "cmd": [
115 "[SLAVE_BUILD]\\conda_staging_dir\\Scripts\\conda.exe",
116 "install",
117 "scipy",
118 "--yes"
119 ],
120 "env": {
121 "PYTHONPATH": null
122 },
123 "name": "conda install scipy"
124 },
125 {
126 "cmd": [
127 "[SLAVE_BUILD]\\conda_staging_dir\\Scripts\\conda.exe",
128 "clean",
129 "--tarballs",
130 "--index-cache",
131 "--packages",
132 "--yes"
133 ],
134 "env": {
135 "PYTHONPATH": null
136 },
137 "name": "conda clean --tarballs --index-cache --packages"
138 },
139 {
140 "cmd": [
141 "python",
142 "-u",
143 "RECIPE_MODULE[build::conda]\\resources\\butcher_conda.py",
144 "[SLAVE_BUILD]\\conda_staging_dir"
145 ],
146 "name": "make conda env location independent"
147 },
148 {
149 "cmd": [
150 "[SLAVE_BUILD]\\cipd\\cipd",
151 "pkg-build",
152 "--in",
153 "[SLAVE_BUILD]\\conda_staging_dir",
154 "--name",
155 "infra/conda_python/scientific/windows-amd64",
156 "--out",
157 "[SLAVE_BUILD]\\conda_python.cipd",
158 "--json-output",
159 "/path/to/tmp/json",
160 "--install-mode",
161 "copy"
162 ],
163 "name": "build windows-amd64",
164 "~followup_annotations": [
165 "@@@STEP_LOG_LINE@json.output@{@@@",
166 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
167 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the- package-instance_id\", @@@",
168 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/conda_python/scient ific/windows-amd64\"@@@",
169 "@@@STEP_LOG_LINE@json.output@ }@@@",
170 "@@@STEP_LOG_LINE@json.output@}@@@",
171 "@@@STEP_LOG_END@json.output@@@"
172 ]
173 },
174 {
175 "cmd": [
176 "[SLAVE_BUILD]\\cipd\\cipd",
177 "pkg-register",
178 "[SLAVE_BUILD]\\conda_python.cipd",
179 "--json-output",
180 "/path/to/tmp/json",
181 "--service-account-json",
182 "C:\\creds\\service_accounts\\service-account-cipd-builder.json",
183 "--ref",
184 "latest",
185 "--tag",
186 "buildbot_build:chromium.testing.master/TestBuilder/571",
187 "--tag",
188 "conda:Miniconda2-3-18-3"
189 ],
190 "name": "register infra/conda_python/scientific/windows-amd64",
191 "~followup_annotations": [
192 "@@@STEP_LOG_LINE@json.output@{@@@",
193 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
194 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the- package-instance_id\", @@@",
195 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/conda_python/scient ific/windows-amd64\"@@@",
196 "@@@STEP_LOG_LINE@json.output@ }@@@",
197 "@@@STEP_LOG_LINE@json.output@}@@@",
198 "@@@STEP_LOG_END@json.output@@@"
199 ]
200 },
201 {
202 "cmd": [
203 "python",
204 "-u",
205 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
206 "[SLAVE_BUILD]\\conda_python.cipd"
207 ],
208 "name": "remove *.cipd file",
209 "~followup_annotations": [
210 "@@@STEP_LOG_LINE@python.inline@@@@",
211 "@@@STEP_LOG_LINE@python.inline@import os@@@",
212 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
213 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
214 "@@@STEP_LOG_END@python.inline@@@"
215 ]
216 },
217 {
218 "cmd": [
219 "python",
220 "-u",
221 "\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",
222 "[SLAVE_BUILD]\\conda_staging_dir"
223 ],
224 "name": "rmtree removing conda",
225 "~followup_annotations": [
226 "@@@STEP_LOG_LINE@python.inline@@@@",
227 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
228 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
229 "@@@STEP_LOG_LINE@python.inline@@@@",
230 "@@@STEP_LOG_LINE@python.inline@@@@",
231 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
232 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
233 "@@@STEP_LOG_END@python.inline@@@"
234 ]
235 },
236 {
237 "name": "$result",
238 "recipe_result": null,
239 "status_code": 0
240 }
241 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/mac.json ('k') | scripts/slave/recipes/infra/depot_tools_builder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698