Skip to content

Commit

Permalink
Update dvcyaml-files.md (#5313)
Browse files Browse the repository at this point in the history
* Update dvcyaml-files.md

Updating docs to explain how to use templating / interpolation with non-standard directory structure / multiple pipelines. This issue: https://discuss.dvc.org/t/custom-params-not-working-when-templating-pipeline/1403

* linter

---------

Co-authored-by: Ivan Shcheklein <[email protected]>
  • Loading branch information
gregstarr and shcheklein authored Oct 1, 2024
1 parent 095a2d7 commit bf0c1ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/docs/user-guide/project-structure/dvcyaml-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,10 @@ vars:
- config/myapp.yaml
```

If you have multiple pipelines in your repository, or if your `params.yaml` file
is not in the same directory as the `dvc.yaml` file, you must specify the params
file path in `vars` in order to use the values for templating.

<admon type="info" title="Notes">

Param file paths will be evaluated relative to the directory the `dvc.yaml` file
Expand Down

0 comments on commit bf0c1ee

Please sign in to comment.