Skip to content

recipes.py ignores --no-fetch and --deps-path #7

Open
@erock2112

Description

@erock2112

eg. in the Skia repo:

$ mkdir /tmp/recipe_deps
$ infra/bots/recipes.py --deps-path=/tmp/recipe_deps fetch
...
$ infra/bots/recipes.py --deps-path=/tmp/recipe_deps --no-fetch simulation_test train
(clones recipe_engine into infra/bots/.recipe_deps without looking for it in /tmp/recipe_deps)

The clone is taking a long time on our raspberry pi bots, and we'd like to package the recipe_deps as a CIPD package, and then run recipes.py in our swarming task with --no-fetch. CIPD doesn't like to install to skia/infra/bots/.recipe_deps, so we have to install it elsewhere and use --deps-path to point recipes.py to the right place, but because of this bug we clone the recipe engine unnecessarily even when the user requested us not to.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions