gpt4 book ai didi

Azure Databricks 笔记本未通过 YAML deploynotebooks@0 任务部署

转载 作者:行者123 更新时间:2023-12-03 03:46:03 25 4
gpt4 key购买 nike

这是我的 YAML。

笔记本未部署。管道运行成功,但笔记本未部署。我做错了什么?

enter image description here

最佳答案

您的 notebooksFolderPath 似乎不正确使用 $(Pipeline.Workspace)$(Build.SourcesDirectory) 变量获取笔记本

- task: deploynotebooks@0
displayName: 'Deploy Databricks notebooks'
inputs:
notebooksFolderPath: '$(Pipeline.Workspace)/s/<path-to-notebooks-in-repository>'
workspaceFolder: '/Shared'

- task: deploynotebooks@0
displayName: 'Deploy Databricks notebooks'
inputs:
notebooksFolderPath: '$(Build.SourcesDirectory)/<path-to-notebooks-in-repository>'
workspaceFolder: '/Shared'

这是构建代理的典型路径:

$(Build.SourcesDirectory) = /home/vsts/work/1/s
$(Build.BinariesDirectory) = /home/vsts/work/1/b
$(Pipeline.Workspace) = /home/vsts/work/1

关于Azure Databricks 笔记本未通过 YAML deploynotebooks@0 任务部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69178497/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com