<?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 unable to perform CD using github actions for MLops in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/unable-to-perform-cd-using-github-actions-for-mlops/m-p/78785#M3415</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to databricks and MLOPS as well. I am trying out the databricks asset bundles mlops tutorial at&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dev-tools/bundles/mlops-stacks.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/dev-tools/bundles/mlops-stacks.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;my cloud account is using AWS. I had asked to setup FS and Model Registry in UC. I had also asked for CICD setup using github actions. Everything is setup nicely. I have a local repo. I also have a remote github repo. I also have databricks workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My file structure looks like the following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jose_db_aws_0-1721042139398.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9563iDD26FF82D6613911/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jose_db_aws_0-1721042139398.png" alt="jose_db_aws_0-1721042139398.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My DB workspace File structure is :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jose_db_aws_0-1721043189198.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9566i65A7C1A4E0CEC82A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jose_db_aws_0-1721043189198.png" alt="jose_db_aws_0-1721043189198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run "databricks bundle validate -t staging" from my local terminal it seems to output correctly as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jose_db_aws_1-1721042263883.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9564i95BED284344A6708/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jose_db_aws_1-1721042263883.png" alt="jose_db_aws_1-1721042263883.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, this is also part of the CD workflow as shown in "mbs_db_mlops-bundle-cd-staging.yml" file in the earlier image above.&amp;nbsp;I have setup github secrets for this DB workspace as well.&lt;BR /&gt;&lt;BR /&gt;The CD workflow in github actions fails at "databricks bundle validate -t staging" when I push the "main" branch to remote.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jose_db_aws_2-1721042559490.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9565i3A87DE4F6D4C3402/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jose_db_aws_2-1721042559490.png" alt="jose_db_aws_2-1721042559490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It works locally but not from github actions. How do I fix this? I want this to pass.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2024 11:33:26 GMT</pubDate>
    <dc:creator>jose_db_aws</dc:creator>
    <dc:date>2024-07-15T11:33:26Z</dc:date>
    <item>
      <title>unable to perform CD using github actions for MLops</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-perform-cd-using-github-actions-for-mlops/m-p/78785#M3415</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to databricks and MLOPS as well. I am trying out the databricks asset bundles mlops tutorial at&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dev-tools/bundles/mlops-stacks.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/dev-tools/bundles/mlops-stacks.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;my cloud account is using AWS. I had asked to setup FS and Model Registry in UC. I had also asked for CICD setup using github actions. Everything is setup nicely. I have a local repo. I also have a remote github repo. I also have databricks workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My file structure looks like the following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jose_db_aws_0-1721042139398.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9563iDD26FF82D6613911/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jose_db_aws_0-1721042139398.png" alt="jose_db_aws_0-1721042139398.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My DB workspace File structure is :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jose_db_aws_0-1721043189198.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9566i65A7C1A4E0CEC82A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jose_db_aws_0-1721043189198.png" alt="jose_db_aws_0-1721043189198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run "databricks bundle validate -t staging" from my local terminal it seems to output correctly as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jose_db_aws_1-1721042263883.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9564i95BED284344A6708/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jose_db_aws_1-1721042263883.png" alt="jose_db_aws_1-1721042263883.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, this is also part of the CD workflow as shown in "mbs_db_mlops-bundle-cd-staging.yml" file in the earlier image above.&amp;nbsp;I have setup github secrets for this DB workspace as well.&lt;BR /&gt;&lt;BR /&gt;The CD workflow in github actions fails at "databricks bundle validate -t staging" when I push the "main" branch to remote.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jose_db_aws_2-1721042559490.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9565i3A87DE4F6D4C3402/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jose_db_aws_2-1721042559490.png" alt="jose_db_aws_2-1721042559490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It works locally but not from github actions. How do I fix this? I want this to pass.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 11:33:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-perform-cd-using-github-actions-for-mlops/m-p/78785#M3415</guid>
      <dc:creator>jose_db_aws</dc:creator>
      <dc:date>2024-07-15T11:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: unable to perform CD using github actions for MLops</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-perform-cd-using-github-actions-for-mlops/m-p/78792#M3418</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The problem was with the secrets at github actions were different from the Personal access token that I had set as my environment variable, DATABRICKS_TOKEN locally. After I copied this over the github's STAGING_WORKSPACE_TOKEN it is able to run the jobs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 12:18:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-perform-cd-using-github-actions-for-mlops/m-p/78792#M3418</guid>
      <dc:creator>jose_db_aws</dc:creator>
      <dc:date>2024-07-15T12:18:09Z</dc:date>
    </item>
  </channel>
</rss>

