DataThirstLtd / databricks.vsts.tools

VSTS Deployment Tasks for Databricks Objects
MIT License
18 stars 3 forks source link

Unable to deploy a notebook to Databricks #29

Closed souvik-ausnet closed 4 years ago

souvik-ausnet commented 4 years ago

I am using a self hosted agent (Ubuntu one) and am trying to deploy a python notebook to an azure databricks workspace. This is the first time I am using this extension. I am using the 'Deploy Notebooks' task in Azure devops. While using the same, I am getting the below error.- 2020-08-18T07:47:03.0952573Z ##[error]Thecurrentoperatingsystemisnotcapableofrunningthistask.ThattypicallymeansthetaskwaswrittenforWindowsonly.Forexample,writtenforWindowsDesktop***PowerShell. Is it true that this extension will not work for Ubuntu??

simondmorias commented 4 years ago

The task unfortunately does not support PS Core, only because when I originally wrote this there were no PS Core VSTS modules available. I'm not certain they are available now - but I suspect they will be.

The underlying PowerShell module is 100% Core compatible - so you could use that in a meantime - that Azure DevOps Tasks are just a UI wrapper to it. https://github.com/DataThirstLtd/azure.databricks.cicd.tools