OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """Recipe to build CIPD package with sealed Conda environment. | 5 """Recipe to build CIPD package with sealed Conda environment. |
6 | 6 |
7 Supposed to be used from manually triggered Buildbot builders. We aren't | 7 Supposed to be used from manually triggered Buildbot builders. We aren't |
8 expecting rebuilding this environment often, so setting up and periodic schedule | 8 expecting rebuilding this environment often, so setting up and periodic schedule |
9 is a waste of resources. | 9 is a waste of resources. |
10 | 10 |
11 To build a new package for all platforms: | 11 To build a new package for all platforms: |
12 1. Manually trigger all builders by clicking buttons in Buildbot. | 12 1. Manually trigger all builders by clicking buttons in Buildbot. |
13 2. Once they all complete, tag the with some release identifier by running: | 13 2. Once they all complete, tag the with some release identifier by running: |
14 ./cipd set-tag infra/conda_python/scientific/ \ | 14 ./cipd set-tag infra/conda_python/scientific/ \ |
15 -tag=release:<name> \ | 15 -tag=release:<name> \ |
16 -version=latest | 16 -version=latest |
17 3. Update Puppet configs to use 'release:<name>' as a version. | 17 3. Update Puppet configs to use 'release:<name>' as a version. |
18 """ | 18 """ |
19 | 19 |
20 DEPS = [ | 20 DEPS = [ |
21 'build/cipd', | 21 'depot_tools/cipd', |
22 'build/conda', | 22 'build/conda', |
23 'build/file', | 23 'build/file', |
24 'recipe_engine/path', | 24 'recipe_engine/path', |
25 'recipe_engine/platform', | 25 'recipe_engine/platform', |
26 'recipe_engine/properties', | 26 'recipe_engine/properties', |
27 ] | 27 ] |
28 | 28 |
29 | 29 |
30 # See https://repo.continuum.io/miniconda/. Miniconda3 is not supported. | 30 # See https://repo.continuum.io/miniconda/. Miniconda3 is not supported. |
31 CONDA_VERSION = 'Miniconda2-3.18.3' | 31 CONDA_VERSION = 'Miniconda2-3.18.3' |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 yield ( | 81 yield ( |
82 api.test('mac') + | 82 api.test('mac') + |
83 api.platform.name('mac') + | 83 api.platform.name('mac') + |
84 api.properties.generic(path_config='kitchen') | 84 api.properties.generic(path_config='kitchen') |
85 ) | 85 ) |
86 yield ( | 86 yield ( |
87 api.test('win') + | 87 api.test('win') + |
88 api.platform.name('win') + | 88 api.platform.name('win') + |
89 api.properties.generic(path_config='kitchen') | 89 api.properties.generic(path_config='kitchen') |
90 ) | 90 ) |
OLD | NEW |