Skip to content

Commit

Permalink
Merge branch 'current' into mwong-jwt-token-deserialize-error
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Sep 26, 2023
2 parents 282a075 + 122f747 commit 38e7977
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions website/docs/docs/cloud/git/authenticate-azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ You will be directed back to dbt Cloud, and your profile should be linked. You a
## FAQs

<FAQ path="Git/gitignore"/>
<FAQ path="Git/git-migration"/>
2 changes: 1 addition & 1 deletion website/docs/docs/cloud/git/connect-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ The next time you log into dbt Cloud, you will be able to do so via OAuth throug


## FAQs

<FAQ path="Git/gitignore"/>
<FAQ path="Git/git-migration"/>
1 change: 1 addition & 0 deletions website/docs/docs/cloud/git/connect-gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ If you imported a repository using the dbt Cloud native integration with GitLab,
<FAQ path="Git/gitignore"/>
<FAQ path="Git/gitlab-authentication"/>
<FAQ path="Git/gitlab-selfhosted"/>
<FAQ path="Git/git-migration"/>
4 changes: 4 additions & 0 deletions website/docs/docs/cloud/git/import-a-project-by-git-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,7 @@ Don't see your git provider here? Please [contact dbt Support](mailto:support@ge

## Limited integration
Some features of dbt Cloud require a tight integration with your git host, for example, updating GitHub pull requests with dbt Cloud run statuses. Importing your project by a URL prevents you from using these features. Once you give dbt Cloud access to your repository, you can continue to set up your project by adding a connection and creating and running your first dbt Cloud job.

## FAQs
<FAQ path="Git/gitignore"/>
<FAQ path="Git/git-migration"/>
26 changes: 26 additions & 0 deletions website/docs/faqs/Git/git-migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: "How to migrate git providers"
sidebar_label: "Git provider migration"
id: "git-migration"
hide_table_of_contents: true
description: "Learn how to migrate git providers in dbt Cloud with minimal disruption."
tags: [Git]
---

To migrate from one git provider to another, refer to the following steps to avoid minimal disruption:

1. Outside of dbt Cloud, you'll need to import your existing repository into your new provider.

As an example, if you're migrating from GitHub to Azure DevOps, you'll need to import your existing repository (GitHub) into your new git provider (Azure DevOps). For detailed steps on how to do this, refer to your git provider's documentation (Such as [GitHub](https://docs.github.com/en/migrations/importing-source-code/using-github-importer/importing-a-repository-with-github-importer), [GitLab](https://docs.gitlab.com/ee/user/project/import/repo_by_url.html), [Azure DevOps](https://learn.microsoft.com/en-us/azure/devops/repos/git/import-git-repository?view=azure-devops))

2. Go back to dbt Cloud and set up your [integration for the new git provider](/docs/cloud/git/connect-github), if needed.
3. Disconnect the old repository in dbt Cloud by going to **Account Settings** and then **Projects**, click on the **Repository** link. Then click **Edit** and **Disconnect**.

<Lightbox src="/img/docs/dbt-cloud/disconnect-repo.gif" width="65%" title="Disconnect and reconnect you git repository in your dbt Cloud Account Settings pages."/>

4. On the same page, connect to the new git provider repository by clicking **Configure Repository**
- If you're using the native integration, you may need to OAuth to it.

5. That's it, you should now be connected to the new git provider 🎉

Note &mdash; As a tip, we recommend you refresh your page and dbt Cloud IDE before performing any actions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit 38e7977

Please sign in to comment.