Chromium Code Reviews
Descriptionkitchen: add -python-path
Problem: swarming_task_template specified PYTHONPATH env variable to a
path relative to run dir because it cannot specify absolute path. It
breaks during task execution as soon as cwd is changed, e.g. when
kitchen runs recipes.py.
Fixing this problem at swarming level is a bit controversial: special
treatment of PYTHONPATH would be more special in swarming than in
kitchen because swarming is more general than kitchen.
Fix it by adding explicit support for python paths in kitchen: make them
absolute and set env variable.
R=estaab@chromium.org
BUG=623269
Committed: https://github.com/luci/luci-go/commit/b1931833114a989a4e278398fd214dea83d1ca89
Patch Set 1 #Patch Set 2 : kitchen: add -python-path #Patch Set 3 : rebased #
Messages
Total messages: 17 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||