This is part of a series of posts. This post focuses on connecting an Azure Data Factory to a GitHub repository.
- One Way to Add an Existing Data Factory to Github, Part 1
- One Way to Add an Existing Data Factory to Github, Part 2
- One Way to Add an Existing Data Factory to Github, Part 3
Connect ADF to GitHub Repository
Careful readers will note I change github accounts moving forward. I made the change so that I could accurately demonstrate creating a new account on github.com (at the time of this writing). For the remainder of this post, I work in another existing github.com account, aleonard763, instead of the account I created earlier, andyleonarddilm. The repository name remains LearnAzure.
Navigate to Azure Data Factory Studio, click Manage, select “Git configuration,” and then click the “Configure” button:
When the “Configure a repository” blade displays, select Github from the “repository type” dropdown:
Continue configuring the “Configure a repository” blade by entering the name of your github account in the “GitHub repository owner” textbox:
If you are prompted to do so, authorize Azure Data Factory to access github:
If authorization succeeds, select your repository from the “Repository name” dropdown:
Next, select the collaboration branch. For the purposes of this demo, I select the main branch:
For the purposes of this demo, accept the defaults for “Publish branch” and “Root folder.” Check the “Import existing resources to repository” checkbox under the “Import existing resource” property, select the main branch in the “Import resource into this branch” property, and then click the “Apply” button:
If all goes as planned, the “Configure a repository” blade will display settings similar to those shown below:
When you proceed, you will be prompted to select a working branch on the “Set working branch” blade. For the purposes of this demo, I select the main branch and then click the “Save” button:
The Azure Data Factory is now connected with github for source control.
This post focused on connecting an Azure Data Factory to a GitHub repository. The next post covers using Azure Data Factory with git.
Unable to make either of those events? Not to worry. Sign up today for Premium Level – All Recordings for 1 Year. Until 31 Aug 2022, use the coupon code “limitedtimediscount33” to save 33% at checkout!