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

Side by Side Diff: recipes/recipes/build_conda_cipd_pkg.py

Issue 2242803002: Switch to cipd module in depot_tools (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: trybots Created 4 years, 4 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
OLDNEW
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
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 )
OLDNEW
« no previous file with comments | « recipes/recipe_modules/recipe_autoroller/__init__.py ('k') | recipes/recipes/build_conda_cipd_pkg.expected/linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698