OLD | NEW |
(Empty) | |
| 1 [ |
| 2 { |
| 3 "cmd": [ |
| 4 "python", |
| 5 "-u", |
| 6 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", |
| 7 "--platform", |
| 8 "linux-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-Linux-x86_64.sh", |
| 49 "--outfile", |
| 50 "[TMP_BASE]/conda_tmp_1/Miniconda2-3.18.3-Linux-x86_64.sh", |
| 51 "--attempts", |
| 52 "5" |
| 53 ], |
| 54 "name": "fetch miniconda installer" |
| 55 }, |
| 56 { |
| 57 "cmd": [ |
| 58 "/bin/bash", |
| 59 "[TMP_BASE]/conda_tmp_1/Miniconda2-3.18.3-Linux-x86_64.sh", |
| 60 "-b", |
| 61 "-p", |
| 62 "[SLAVE_BUILD]/conda_staging_dir" |
| 63 ], |
| 64 "env": { |
| 65 "PYTHONPATH": "" |
| 66 }, |
| 67 "name": "install miniconda" |
| 68 }, |
| 69 { |
| 70 "cmd": [ |
| 71 "python", |
| 72 "-u", |
| 73 "\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", |
| 74 "[TMP_BASE]/conda_tmp_1" |
| 75 ], |
| 76 "name": "rmtree remove miniconda installer", |
| 77 "~followup_annotations": [ |
| 78 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 79 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 80 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 81 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 82 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 83 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 84 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 85 "@@@STEP_LOG_END@python.inline@@@" |
| 86 ] |
| 87 }, |
| 88 { |
| 89 "cmd": [ |
| 90 "[SLAVE_BUILD]/conda_staging_dir/bin/conda", |
| 91 "install", |
| 92 "matplotlib", |
| 93 "--yes" |
| 94 ], |
| 95 "env": { |
| 96 "PYTHONPATH": null |
| 97 }, |
| 98 "name": "conda install matplotlib" |
| 99 }, |
| 100 { |
| 101 "cmd": [ |
| 102 "[SLAVE_BUILD]/conda_staging_dir/bin/conda", |
| 103 "install", |
| 104 "numpy", |
| 105 "--yes" |
| 106 ], |
| 107 "env": { |
| 108 "PYTHONPATH": null |
| 109 }, |
| 110 "name": "conda install numpy" |
| 111 }, |
| 112 { |
| 113 "cmd": [ |
| 114 "[SLAVE_BUILD]/conda_staging_dir/bin/conda", |
| 115 "install", |
| 116 "scipy", |
| 117 "--yes" |
| 118 ], |
| 119 "env": { |
| 120 "PYTHONPATH": null |
| 121 }, |
| 122 "name": "conda install scipy" |
| 123 }, |
| 124 { |
| 125 "cmd": [ |
| 126 "[SLAVE_BUILD]/conda_staging_dir/bin/conda", |
| 127 "clean", |
| 128 "--tarballs", |
| 129 "--index-cache", |
| 130 "--packages", |
| 131 "--yes" |
| 132 ], |
| 133 "env": { |
| 134 "PYTHONPATH": null |
| 135 }, |
| 136 "name": "conda clean --tarballs --index-cache --packages" |
| 137 }, |
| 138 { |
| 139 "cmd": [ |
| 140 "python", |
| 141 "-u", |
| 142 "RECIPE_MODULE[build::conda]/resources/butcher_conda.py", |
| 143 "[SLAVE_BUILD]/conda_staging_dir" |
| 144 ], |
| 145 "name": "make conda env location independent" |
| 146 }, |
| 147 { |
| 148 "cmd": [ |
| 149 "[SLAVE_BUILD]/cipd/cipd", |
| 150 "pkg-build", |
| 151 "--in", |
| 152 "[SLAVE_BUILD]/conda_staging_dir", |
| 153 "--name", |
| 154 "infra/conda_python/scientific/linux-amd64", |
| 155 "--out", |
| 156 "[SLAVE_BUILD]/conda_python.cipd", |
| 157 "--json-output", |
| 158 "/path/to/tmp/json", |
| 159 "--install-mode", |
| 160 "copy" |
| 161 ], |
| 162 "name": "build linux-amd64", |
| 163 "~followup_annotations": [ |
| 164 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 165 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| 166 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-
package-instance_id\", @@@", |
| 167 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/conda_python/scient
ific/linux-amd64\"@@@", |
| 168 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 169 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 170 "@@@STEP_LOG_END@json.output@@@" |
| 171 ] |
| 172 }, |
| 173 { |
| 174 "cmd": [ |
| 175 "[SLAVE_BUILD]/cipd/cipd", |
| 176 "pkg-register", |
| 177 "[SLAVE_BUILD]/conda_python.cipd", |
| 178 "--json-output", |
| 179 "/path/to/tmp/json", |
| 180 "--service-account-json", |
| 181 "/creds/service_accounts/service-account-cipd-builder.json", |
| 182 "--ref", |
| 183 "latest", |
| 184 "--tag", |
| 185 "buildbot_build:chromium.testing.master/TestBuilder/571", |
| 186 "--tag", |
| 187 "conda:Miniconda2-3-18-3" |
| 188 ], |
| 189 "name": "register infra/conda_python/scientific/linux-amd64", |
| 190 "~followup_annotations": [ |
| 191 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 192 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| 193 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-
package-instance_id\", @@@", |
| 194 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/conda_python/scient
ific/linux-amd64\"@@@", |
| 195 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 196 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 197 "@@@STEP_LOG_END@json.output@@@" |
| 198 ] |
| 199 }, |
| 200 { |
| 201 "cmd": [ |
| 202 "python", |
| 203 "-u", |
| 204 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
| 205 "[SLAVE_BUILD]/conda_python.cipd" |
| 206 ], |
| 207 "name": "remove *.cipd file", |
| 208 "~followup_annotations": [ |
| 209 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
| 213 "@@@STEP_LOG_END@python.inline@@@" |
| 214 ] |
| 215 }, |
| 216 { |
| 217 "cmd": [ |
| 218 "python", |
| 219 "-u", |
| 220 "\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", |
| 221 "[SLAVE_BUILD]/conda_staging_dir" |
| 222 ], |
| 223 "name": "rmtree removing conda", |
| 224 "~followup_annotations": [ |
| 225 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 226 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 227 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 228 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 229 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 230 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 231 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 232 "@@@STEP_LOG_END@python.inline@@@" |
| 233 ] |
| 234 }, |
| 235 { |
| 236 "name": "$result", |
| 237 "recipe_result": null, |
| 238 "status_code": 0 |
| 239 } |
| 240 ] |
OLD | NEW |