microsoft / azdo-databricks

A set of Build and Release tasks for Building, Deploying and Testing Databricks notebooks
MIT License
25 stars 32 forks source link

Deploy notebook task throws Databricks CLI error #71

Open VirtualShake opened 9 months ago

VirtualShake commented 9 months ago

When running the deploynotebooks@0 task, the execution is throwing the following error:

Error: invalid argument "--profile" for "-o, --output" flag: accepted arguments are json and text

This is running on a self-hosted build linux agent version 3.230 with Python 3.6.8 and Databricks CLI 0.212.0. The configuredatabricks@0 task executes without issue. I do see a note that Databricks CLI version 0.17.8 is found on the path but the process will use the newer version.

Please provide any thoughts as to resolving this error.

DorianLacaisse commented 8 months ago

Hi VirtualShake ,
I got similar issue. When using new databricks cli it's not working anymore, although I need the new databricks cli to deploy workflow. I had to roll back to version 0.18 in the meantime. Anyone find a way or should we rebuild averything from scratch ?

Styxxy commented 7 months ago

@VirtualShake , @DorianLacaisse

This task/repo seems to be dead :/ . See also: