ADF CI CD Using Github Actions

 ADF CI CD Using Github Actions

Step 1 : Create a new repository in your github





Step 2 : Create Azure Service Principal (SP) for GitHub Actions. This can be done using Portal or CLI.

{ "clientId": "", 
 "clientSecret": "", 
 "subscriptionId": "", 
 "tenantId": "", 
 "activeDirectoryEndpointUrl": "https://login.microsoftonline.com", "resourceManagerEndpointUrl": "https://management.azure.com/", "activeDirectoryGraphResourceId": "https://graph.windows.net/", "sqlManagementEndpointUrl": "https://management.core.windows.net:8443/", "galleryEndpointUrl": "https://gallery.azure.com/", "managementEndpointUrl": "https://management.core.windows.net/" 
}

Step 3 : Clone the created repo.















Step 4 : Create Azure Data Factory.




Step 5 : Connecting Azure Data Factory to Github. Click on launch studio.


Go to the manage icon from the sidebar.



Go to github configuration under the label of Source Control from the sidebar. Click configure.


Add details.


Click on Authorize Azure DataFactory.


Add details and click apply.



Click on edit and try to edit and after editing click on save all you will see that it will ask for commit message.

After Connection these files will be created inside github.





Step 6 : Add environment variables
Go to the settings tab.



Go to environments and click on new environment.








Step 7 : Create simple pipeline.

Go to the Author tab. Click on pipeline. New Pipeline.








Step 8 : Create workflow file.




Create this file.



Step 8 : Go to the actions tab.






























































Comments

Popular posts from this blog

AI-900-3,4

AI-900 12,13

AI-900 10,11