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

Issue 1511383003: Add recipe to build CIPD package with relocatable Conda environment. (Closed)

Created:
5 years ago by Vadim Sh.
Modified:
4 years, 11 months ago
Reviewers:
dtu, iannucci
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org, stip+watch_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Add recipe to build CIPD package with relocatable Conda environment. It butchers Conda directory before packaging to remove all references to local installation prefix, thus making it fully relocatable (it will be installed into another prefix on bots). This process downgrades it from conda environment into "regular" portable python environment. R=iannucci@chromium.org,dtu@chromium.org BUG=457792 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298181

Patch Set 1 #

Patch Set 2 : add mathplot lib, depends on Qt :( #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : make it work on Windows #

Patch Set 6 : fix typo #

Patch Set 7 : do not touch PATH config on Windows :-/ #

Patch Set 8 : cleanup files #

Total comments: 22

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1170 lines, -1 line) Patch
A + scripts/slave/recipe_modules/conda/__init__.py View 1 chunk +3 lines, -1 line 0 comments Download
A scripts/slave/recipe_modules/conda/api.py View 1 2 3 4 5 6 7 8 1 chunk +120 lines, -0 lines 0 comments Download
A scripts/slave/recipe_modules/conda/resources/butcher_conda.py View 1 2 3 4 5 1 chunk +200 lines, -0 lines 0 comments Download
A scripts/slave/recipes/infra/build_conda_cipd_pkg.py View 1 2 3 4 5 6 7 8 1 chunk +93 lines, -0 lines 0 comments Download
A scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/linux.json View 1 2 3 4 5 6 7 8 1 chunk +251 lines, -0 lines 0 comments Download
A scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/mac.json View 1 2 3 4 5 6 7 8 1 chunk +251 lines, -0 lines 0 comments Download
A scripts/slave/recipes/infra/build_conda_cipd_pkg.expected/win.json View 1 2 3 4 5 6 7 8 1 chunk +252 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Vadim Sh.
PTAL Will finish Linux\Win part in a separate CL. Dave, can you give me some ...
5 years ago (2015-12-10 05:57:31 UTC) #1
dtu
> Dave, can you give me some (small) example of how you going to use ...
5 years ago (2015-12-10 07:40:11 UTC) #2
Vadim Sh.
On 2015/12/10 07:40:11, dtu wrote: > > Dave, can you give me some (small) example ...
5 years ago (2015-12-10 19:34:40 UTC) #3
Vadim Sh.
It seems to work on Linux too, but not as smoothly. Font config needs full ...
5 years ago (2015-12-10 22:44:12 UTC) #4
Vadim Sh.
Robbie, please take a look. Made it work on Windows too. 240 Mb :-/
5 years ago (2015-12-11 01:10:47 UTC) #5
iannucci
generally lgtm with some comments/questions https://codereview.chromium.org/1511383003/diff/140001/scripts/slave/recipe_modules/conda/api.py File scripts/slave/recipe_modules/conda/api.py (right): https://codereview.chromium.org/1511383003/diff/140001/scripts/slave/recipe_modules/conda/api.py#newcode43 scripts/slave/recipe_modules/conda/api.py:43: install_mode='copy') wipe afterwards if ...
5 years ago (2015-12-14 20:44:05 UTC) #6
Vadim Sh.
It's ugly as hell and I don't satisfied at all... I think I'll want to ...
4 years, 11 months ago (2016-01-09 00:59:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1511383003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1511383003/160001
4 years, 11 months ago (2016-01-09 01:00:11 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-09 01:03:02 UTC) #12
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=298181

Powered by Google App Engine
This is Rietveld 408576698