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