You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying the bundle the main databricks.yml consists of the following snippet
sync:
include:
<path-to-whl>
This path is also in our .gitignore
When deploying the whl package doesn't get included in the deployment to the workspace, when removing the path from the .gitignore it deploys just fine.
Configuration
databricks.yml consists of:
sync:
include:
- "./dist/*.whl"
.gitignore file:
dist/
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
Run databricks bundle deploy -t d
Checking bundle path and omits dist folder with whl package
Expected Behavior
Expected to have the dist folder with a whl package even when in .gitignore
OS and CLI version
Since version 0.221 and above
Is this a regression?
Worked well before 0.221
Extra info:
deployment via WSL/Linux works as expected
Wildcarding the path without the dist folder also works like:
*.whl
The text was updated successfully, but these errors were encountered:
Hi Andrew, thanks for the swift reply.
I did try that before, and it didn't work. Should have added it to the issue, my bad.
As said before, completely wildcarding the total path with *<name_of_whl> works fine so its a good workaround for now. It's not the highest prio.
Just that documentation on the page is showing the desired way:
Any of you had luck with it?
I have the same issue and few colleagues from my team.
We have dist and packages folder in include list, however its in gitignore file.
It does not get deploy with bundle.
Describe the issue
When deploying the bundle the main databricks.yml consists of the following snippet
This path is also in our .gitignore
When deploying the whl package doesn't get included in the deployment to the workspace, when removing the path from the .gitignore it deploys just fine.
Configuration
databricks.yml consists of:
.gitignore file:
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
databricks bundle deploy -t d
Expected Behavior
Expected to have the dist folder with a whl package even when in .gitignore
OS and CLI version
Since version 0.221 and above
Is this a regression?
Worked well before 0.221
Extra info:
deployment via WSL/Linux works as expected
Wildcarding the path without the dist folder also works like:
*.whl
The text was updated successfully, but these errors were encountered: