| OLD | NEW |
| (Empty) | |
| 1 [ |
| 2 { |
| 3 "cmd": [ |
| 4 "python", |
| 5 "-u", |
| 6 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
| 7 "[SLAVE_BUILD]/conda_staging_dir" |
| 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", |
| 10 "name": "rmtree cleaning staging dir", |
| 11 "~followup_annotations": [ |
| 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 18 "@@@STEP_LOG_END@python.inline@@@" |
| 19 ] |
| 20 }, |
| 21 { |
| 22 "cmd": [ |
| 23 "python", |
| 24 "-u", |
| 25 "[BUILD]/scripts/tools/pycurl.py", |
| 26 "https://repo.continuum.io/miniconda/Miniconda2-3.18.3-MacOSX-x86_64.sh", |
| 27 "--outfile", |
| 28 "[TMP_BASE]/conda_tmp_1/Miniconda2-3.18.3-MacOSX-x86_64.sh", |
| 29 "--attempts", |
| 30 "5" |
| 31 ], |
| 32 "cwd": "[SLAVE_BUILD]", |
| 33 "name": "fetch miniconda installer" |
| 34 }, |
| 35 { |
| 36 "cmd": [ |
| 37 "/bin/bash", |
| 38 "[TMP_BASE]/conda_tmp_1/Miniconda2-3.18.3-MacOSX-x86_64.sh", |
| 39 "-b", |
| 40 "-p", |
| 41 "[SLAVE_BUILD]/conda_staging_dir" |
| 42 ], |
| 43 "cwd": "[SLAVE_BUILD]", |
| 44 "env": { |
| 45 "PYTHONPATH": "" |
| 46 }, |
| 47 "name": "install miniconda" |
| 48 }, |
| 49 { |
| 50 "cmd": [ |
| 51 "python", |
| 52 "-u", |
| 53 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
| 54 "[TMP_BASE]/conda_tmp_1" |
| 55 ], |
| 56 "cwd": "[SLAVE_BUILD]", |
| 57 "name": "rmtree remove miniconda installer", |
| 58 "~followup_annotations": [ |
| 59 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 60 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 61 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", |
| 62 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 63 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 64 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 65 "@@@STEP_LOG_END@python.inline@@@" |
| 66 ] |
| 67 }, |
| 68 { |
| 69 "cmd": [ |
| 70 "[SLAVE_BUILD]/conda_staging_dir/bin/conda", |
| 71 "install", |
| 72 "numpy", |
| 73 "--yes" |
| 74 ], |
| 75 "cwd": "[SLAVE_BUILD]", |
| 76 "env": { |
| 77 "PYTHONPATH": "" |
| 78 }, |
| 79 "name": "conda install numpy" |
| 80 }, |
| 81 { |
| 82 "cmd": [ |
| 83 "[SLAVE_BUILD]/conda_staging_dir/bin/conda", |
| 84 "install", |
| 85 "scipy", |
| 86 "--yes" |
| 87 ], |
| 88 "cwd": "[SLAVE_BUILD]", |
| 89 "env": { |
| 90 "PYTHONPATH": "" |
| 91 }, |
| 92 "name": "conda install scipy" |
| 93 }, |
| 94 { |
| 95 "cmd": [ |
| 96 "python", |
| 97 "-u", |
| 98 "RECIPE_MODULE[cipd]/resources/bootstrap.py", |
| 99 "--platform", |
| 100 "mac-amd64", |
| 101 "--dest-directory", |
| 102 "[SLAVE_BUILD]/cipd", |
| 103 "--json-output", |
| 104 "/path/to/tmp/json" |
| 105 ], |
| 106 "cwd": "[SLAVE_BUILD]", |
| 107 "name": "install cipd", |
| 108 "~followup_annotations": [ |
| 109 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", |
| 110 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 111 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", |
| 112 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", |
| 113 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 114 "@@@STEP_LOG_END@json.output@@@" |
| 115 ] |
| 116 }, |
| 117 { |
| 118 "cmd": [ |
| 119 "[SLAVE_BUILD]/conda_staging_dir/bin/conda", |
| 120 "clean", |
| 121 "--tarballs", |
| 122 "--index-cache", |
| 123 "--packages", |
| 124 "--yes" |
| 125 ], |
| 126 "cwd": "[SLAVE_BUILD]", |
| 127 "env": { |
| 128 "PYTHONPATH": "" |
| 129 }, |
| 130 "name": "conda clean --tarballs --index-cache --packages" |
| 131 }, |
| 132 { |
| 133 "cmd": [ |
| 134 "python", |
| 135 "-u", |
| 136 "RECIPE_MODULE[conda]/resources/butcher_conda.py", |
| 137 "[SLAVE_BUILD]/conda_staging_dir" |
| 138 ], |
| 139 "cwd": "[SLAVE_BUILD]", |
| 140 "name": "make conda env location independent" |
| 141 }, |
| 142 { |
| 143 "cmd": [ |
| 144 "[SLAVE_BUILD]/cipd/cipd", |
| 145 "pkg-build", |
| 146 "--in", |
| 147 "[SLAVE_BUILD]/conda_staging_dir", |
| 148 "--name", |
| 149 "infra/conda_python/mac-amd64", |
| 150 "--out", |
| 151 "[SLAVE_BUILD]/conda_python.cipd", |
| 152 "--json-output", |
| 153 "/path/to/tmp/json", |
| 154 "--install-mode", |
| 155 "copy" |
| 156 ], |
| 157 "cwd": "[SLAVE_BUILD]", |
| 158 "name": "build mac-amd64", |
| 159 "~followup_annotations": [ |
| 160 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 161 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| 162 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-
package-instance_id\", @@@", |
| 163 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/conda_python/mac-am
d64\"@@@", |
| 164 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 165 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 166 "@@@STEP_LOG_END@json.output@@@" |
| 167 ] |
| 168 }, |
| 169 { |
| 170 "cmd": [ |
| 171 "[SLAVE_BUILD]/cipd/cipd", |
| 172 "pkg-register", |
| 173 "[SLAVE_BUILD]/conda_python.cipd", |
| 174 "--json-output", |
| 175 "/path/to/tmp/json", |
| 176 "--service-account-json", |
| 177 "/creds/service_accounts/service-account-cipd-builder.json", |
| 178 "--ref", |
| 179 "latest", |
| 180 "--tag", |
| 181 "conda:Miniconda2-3-18-3", |
| 182 "--tag", |
| 183 "ts:2012-05-14T12-53" |
| 184 ], |
| 185 "cwd": "[SLAVE_BUILD]", |
| 186 "name": "register infra/conda_python/mac-amd64", |
| 187 "~followup_annotations": [ |
| 188 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 189 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| 190 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-
package-instance_id\", @@@", |
| 191 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/conda_python/mac-am
d64\"@@@", |
| 192 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 193 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 194 "@@@STEP_LOG_END@json.output@@@" |
| 195 ] |
| 196 }, |
| 197 { |
| 198 "name": "$result", |
| 199 "recipe_result": null, |
| 200 "status_code": 0 |
| 201 } |
| 202 ] |
| OLD | NEW |