databricks / mlops-stacks

This repo provides a customizable stack for starting new ML projects on Databricks that follow production best-practices out of the box.
https://docs.databricks.com/en/dev-tools/bundles/mlops-stacks.html
Apache License 2.0
416 stars 141 forks source link

monorepo doesn't work as expected #122

Closed lbcommer closed 6 months ago

lbcommer commented 9 months ago

It's not possible to create more than one project in the same repository.

Reproducibility steps:

1) Create a project project-1 with databricks bundle init mlops-stacks For the input_root_dir variable, I chose the default value of my-mlops-project. It worked ok.

2) Create a second project, project-2, keeping the same value for input_root_dir (my-mlops-project) That shows an error because it's trying to write on already existing files:

Error: failed to initialize template, one or more files already exist: my-mlops-project.gitignore

I am using the last available version of databricks-cli (0.210.1)