<?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 Re: GitLab integration in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/80425#M36010</link>
    <description>&lt;P&gt;I'd like to resurrect this thread, as there's no solution posted yet. When I try to push a branch from Databricks, I am receiving&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Error pushing changes. Remote ref update was rejected. Make sure you have write access to this remote repository.&lt;/PRE&gt;&lt;P&gt;My repo is located on gitlab.com. Setup:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the Databricks Linked account settings, I've tried Git `username` as my corporate email in Gitlab. I've also tried `username` as my GitLab account name&lt;/LI&gt;&lt;LI&gt;In the Databricks Linked account settings, I've tried `GitLab` and `Gitlab Enterprise Edition` as the Git provider.&lt;/LI&gt;&lt;LI&gt;In the Databricks Admin settings, I have enabled "Restrict Clone, Commit &amp;amp; Push to allowed Git repositories" and set the URL allow list to "&lt;A href="https://gitlab.com" target="_blank" rel="noopener"&gt;https://gitlab.com&lt;/A&gt;"&lt;/LI&gt;&lt;LI&gt;My HTTPS GitLab token has `&lt;SPAN&gt;read_repository, write_repository` scopes with a Maintainer role.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Like OP, I can `git pull` the successfully but `push` fails. On the Databricks clone of the repo, all I have done is create a test file with one line in the root directory and update an existing file in the root directory with a single uncommented line. Please help!&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 17:52:27 GMT</pubDate>
    <dc:creator>joshuat</dc:creator>
    <dc:date>2024-07-24T17:52:27Z</dc:date>
    <item>
      <title>GitLab integration</title>
      <link>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/33088#M24175</link>
      <description>&lt;P&gt;I've followed instructions and did gitlab integration:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Generated Personal Access Token from GitLab&lt;/LI&gt;&lt;LI&gt;Add token (from step 1) to User settings (GitLab, email, token)&lt;/LI&gt;&lt;LI&gt;In Admin console -&amp;gt; Repos Git URL Allow List permissions:&lt;B&gt;&amp;nbsp;Disabled (no restrictions)&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;In Admin console -&amp;gt; Repos Git URL Allow List: https:.....*.git&lt;/LI&gt;&lt;LI&gt;Pull works&lt;/LI&gt;&lt;LI&gt;Push does not: The remote Git repo URL linked to this repo is not listed in the ALLOW list configured by your Workspace admin.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing some step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help !&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 15:16:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/33088#M24175</guid>
      <dc:creator>Giorgi</dc:creator>
      <dc:date>2022-08-30T15:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: GitLab integration</title>
      <link>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/33089#M24176</link>
      <description>&lt;P&gt;&lt;I&gt;"In Admin console -&amp;gt; Repos Git URL Allow List permissions:&lt;/I&gt;&lt;B&gt;&lt;I&gt;&amp;nbsp;Disabled (no restrictions)."&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am using &lt;B&gt;"only restrict .."&lt;/B&gt; give it a try &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;"In Admin console -&amp;gt; Repos Git URL Allow List: https:.....*.git"&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here just put only domain and separate it by commas, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;A href="https://dev.azure.com/,https://gitlab.mycompany.com/" target="test_blank"&gt;https://dev.azure.com/,https://gitlab.mycompany.com/&lt;/A&gt;&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 16:05:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/33089#M24176</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-08-30T16:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: GitLab integration</title>
      <link>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/80425#M36010</link>
      <description>&lt;P&gt;I'd like to resurrect this thread, as there's no solution posted yet. When I try to push a branch from Databricks, I am receiving&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Error pushing changes. Remote ref update was rejected. Make sure you have write access to this remote repository.&lt;/PRE&gt;&lt;P&gt;My repo is located on gitlab.com. Setup:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the Databricks Linked account settings, I've tried Git `username` as my corporate email in Gitlab. I've also tried `username` as my GitLab account name&lt;/LI&gt;&lt;LI&gt;In the Databricks Linked account settings, I've tried `GitLab` and `Gitlab Enterprise Edition` as the Git provider.&lt;/LI&gt;&lt;LI&gt;In the Databricks Admin settings, I have enabled "Restrict Clone, Commit &amp;amp; Push to allowed Git repositories" and set the URL allow list to "&lt;A href="https://gitlab.com" target="_blank" rel="noopener"&gt;https://gitlab.com&lt;/A&gt;"&lt;/LI&gt;&lt;LI&gt;My HTTPS GitLab token has `&lt;SPAN&gt;read_repository, write_repository` scopes with a Maintainer role.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Like OP, I can `git pull` the successfully but `push` fails. On the Databricks clone of the repo, all I have done is create a test file with one line in the root directory and update an existing file in the root directory with a single uncommented line. Please help!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 17:52:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/80425#M36010</guid>
      <dc:creator>joshuat</dc:creator>
      <dc:date>2024-07-24T17:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: GitLab integration</title>
      <link>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/80431#M36011</link>
      <description>&lt;P&gt;Discovered the solution to my problem - Databricks Git integration&amp;nbsp;&lt;EM&gt;does not&lt;/EM&gt; support the use of project-level access tokens. It only supports the use of user-level personal access tokens. When I switched my Git credentials to use a personal access token AND my corporate email according to GitLab, it worked.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 18:29:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/80431#M36011</guid>
      <dc:creator>joshuat</dc:creator>
      <dc:date>2024-07-24T18:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: GitLab integration</title>
      <link>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/92989#M38602</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Databricks Git integration&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;does not&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;support the use of project-level access tokens&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for reporting this issue. Gitlab project access tokens stopped working sometime after May 2024. The issue is on our backlog. Are you able to use an alternative to unblock your work?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 17:30:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/92989#M38602</guid>
      <dc:creator>nicole_lu_PM</dc:creator>
      <dc:date>2024-10-07T17:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: GitLab integration</title>
      <link>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/93002#M38606</link>
      <description>&lt;P&gt;Thanks for your reply - I did, see my reply above.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 19:55:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/gitlab-integration/m-p/93002#M38606</guid>
      <dc:creator>joshuat</dc:creator>
      <dc:date>2024-10-07T19:55:21Z</dc:date>
    </item>
  </channel>
</rss>

