<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Job deploy with git source using Asset Bundles in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/job-deploy-with-git-source-using-asset-bundles/m-p/113288#M44499</link>
    <description>&lt;P&gt;Hi, I'm trying to deploy a job with a notebook task based on a git source. But I'm facing an error when I try to deploy.&lt;/P&gt;&lt;P&gt;This is the YAML file:&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;resources:&lt;BR /&gt;jobs:&lt;BR /&gt;data_quality_pipelines_job:&lt;BR /&gt;name: schedule_data_quality_job&lt;BR /&gt;&lt;BR /&gt;schedule:&lt;BR /&gt;quartz_cron_expression: "0 0 5 ? * Mon-Fri" # At 5:00:00am, every day between Monday and Friday, every month&lt;BR /&gt;timezone_id: "America/Sao_Paulo"&lt;BR /&gt;&lt;BR /&gt;timeout_seconds: 7200 # 2 hours&lt;BR /&gt;&lt;BR /&gt;git_source:&lt;BR /&gt;git_branch: main&lt;BR /&gt;git_provider: gitHub&lt;BR /&gt;git_url: &lt;A href="https://github.com/xxxx/yyyyyyy" target="_blank" rel="noopener"&gt;https://github.com/xxxx/yyyyyyy&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;email_notifications:&lt;BR /&gt;on_failure:&lt;BR /&gt;- ${workspace.current_user.userName}&lt;BR /&gt;webhook_notifications:&lt;BR /&gt;on_failure:&lt;BR /&gt;- id: xxxxxx-xxxxxxx-xxxxxx&lt;BR /&gt;&lt;BR /&gt;tasks:&lt;BR /&gt;- task_key: data_quality_task&lt;BR /&gt;pipeline_task:&lt;BR /&gt;pipeline_id: xxxxxxx-xxxxxxx-xxxxxxx&lt;BR /&gt;full_refresh: false&lt;BR /&gt;&lt;BR /&gt;- task_key: notify_business_areas&lt;BR /&gt;depends_on:&lt;BR /&gt;- task_key: data_quality_task&lt;BR /&gt;notebook_task:&lt;BR /&gt;notebook_path: src/notifications/send_notifications.ipynb&lt;BR /&gt;max_retries: 0&lt;BR /&gt;&lt;BR /&gt;parameters:&lt;BR /&gt;- name: notification_conf_file&lt;BR /&gt;default: ${var.notification_conf_file}&lt;/PRE&gt;&lt;P&gt;When I try to run it, this error appears:&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;Error: terraform apply: exit status 1&lt;BR /&gt;&lt;BR /&gt;Error: cannot update job: Invalid notebook_path: src/notifications/send_notifications.ipynb. Only absolute paths are currently supported. Paths must begin with '/'.&lt;BR /&gt;&lt;BR /&gt;with databricks_job.kpis_analytics_job,&lt;BR /&gt;on bundle.tf.json line 79, in resource.databricks_job.kpis_analytics_job:&lt;BR /&gt;79: }&lt;/PRE&gt;&lt;P&gt;If I try to add a '/', the tool will search at my Databricks Workspace, but I want to consume the notebook based on git. I know that the path exists on my git URL.&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2025 12:42:31 GMT</pubDate>
    <dc:creator>jonhieb</dc:creator>
    <dc:date>2025-03-21T12:42:31Z</dc:date>
    <item>
      <title>Job deploy with git source using Asset Bundles</title>
      <link>https://community.databricks.com/t5/data-engineering/job-deploy-with-git-source-using-asset-bundles/m-p/113288#M44499</link>
      <description>&lt;P&gt;Hi, I'm trying to deploy a job with a notebook task based on a git source. But I'm facing an error when I try to deploy.&lt;/P&gt;&lt;P&gt;This is the YAML file:&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;resources:&lt;BR /&gt;jobs:&lt;BR /&gt;data_quality_pipelines_job:&lt;BR /&gt;name: schedule_data_quality_job&lt;BR /&gt;&lt;BR /&gt;schedule:&lt;BR /&gt;quartz_cron_expression: "0 0 5 ? * Mon-Fri" # At 5:00:00am, every day between Monday and Friday, every month&lt;BR /&gt;timezone_id: "America/Sao_Paulo"&lt;BR /&gt;&lt;BR /&gt;timeout_seconds: 7200 # 2 hours&lt;BR /&gt;&lt;BR /&gt;git_source:&lt;BR /&gt;git_branch: main&lt;BR /&gt;git_provider: gitHub&lt;BR /&gt;git_url: &lt;A href="https://github.com/xxxx/yyyyyyy" target="_blank" rel="noopener"&gt;https://github.com/xxxx/yyyyyyy&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;email_notifications:&lt;BR /&gt;on_failure:&lt;BR /&gt;- ${workspace.current_user.userName}&lt;BR /&gt;webhook_notifications:&lt;BR /&gt;on_failure:&lt;BR /&gt;- id: xxxxxx-xxxxxxx-xxxxxx&lt;BR /&gt;&lt;BR /&gt;tasks:&lt;BR /&gt;- task_key: data_quality_task&lt;BR /&gt;pipeline_task:&lt;BR /&gt;pipeline_id: xxxxxxx-xxxxxxx-xxxxxxx&lt;BR /&gt;full_refresh: false&lt;BR /&gt;&lt;BR /&gt;- task_key: notify_business_areas&lt;BR /&gt;depends_on:&lt;BR /&gt;- task_key: data_quality_task&lt;BR /&gt;notebook_task:&lt;BR /&gt;notebook_path: src/notifications/send_notifications.ipynb&lt;BR /&gt;max_retries: 0&lt;BR /&gt;&lt;BR /&gt;parameters:&lt;BR /&gt;- name: notification_conf_file&lt;BR /&gt;default: ${var.notification_conf_file}&lt;/PRE&gt;&lt;P&gt;When I try to run it, this error appears:&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;Error: terraform apply: exit status 1&lt;BR /&gt;&lt;BR /&gt;Error: cannot update job: Invalid notebook_path: src/notifications/send_notifications.ipynb. Only absolute paths are currently supported. Paths must begin with '/'.&lt;BR /&gt;&lt;BR /&gt;with databricks_job.kpis_analytics_job,&lt;BR /&gt;on bundle.tf.json line 79, in resource.databricks_job.kpis_analytics_job:&lt;BR /&gt;79: }&lt;/PRE&gt;&lt;P&gt;If I try to add a '/', the tool will search at my Databricks Workspace, but I want to consume the notebook based on git. I know that the path exists on my git URL.&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 12:42:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/job-deploy-with-git-source-using-asset-bundles/m-p/113288#M44499</guid>
      <dc:creator>jonhieb</dc:creator>
      <dc:date>2025-03-21T12:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Job deploy with git source using Asset Bundles</title>
      <link>https://community.databricks.com/t5/data-engineering/job-deploy-with-git-source-using-asset-bundles/m-p/114731#M44924</link>
      <description>&lt;P&gt;I found the solution for this one:&lt;/P&gt;&lt;P&gt;When we’re running a job that needs to consume files from a Git repo, in addition to declaring the &lt;STRONG&gt;git_source&lt;/STRONG&gt; clause, we also need to declare the &lt;STRONG&gt;source&lt;/STRONG&gt; clause within the task configuration.&lt;/P&gt;&lt;P&gt;The image below demonstrates an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jonhieb_0-1744037232118.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/15847i5F47F071138630C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jonhieb_0-1744037232118.png" alt="jonhieb_0-1744037232118.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Notice that inside the &lt;STRONG&gt;notebook_task&lt;/STRONG&gt; clause, I declared the source. That was enough to make it work.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 14:48:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/job-deploy-with-git-source-using-asset-bundles/m-p/114731#M44924</guid>
      <dc:creator>jonhieb</dc:creator>
      <dc:date>2025-04-07T14:48:10Z</dc:date>
    </item>
  </channel>
</rss>

