Integration

chevron-rightGithub Integration https://final.techwithpatil.com/~/revisions/DFnUwSzvb2Fqv2WBM8sE/technologies/azure/azure-devops/integration/connect-private-github-and-other-vcsarrow-up-righthashtag

GitHub Integration (Source Code Integration)

What it is

Connect Azure DevOps Pipeline to GitHub repo so CI/CD triggers on code push/PR.

Steps

  1. Go to Pipelines → Create Pipeline

  2. Choose GitHub

  3. Sign in → Authorize Azure DevOps

  4. Select your repo

  5. Choose pipeline template or write your own YAML

  6. Set trigger in YAML:

  7. trigger:
      branches:
        include:
          - main

⭐ Why this approach?

  • GitHub is standard source control.

  • Azure DevOps can auto-trigger pipelines.

  • Secure connection via OAuth + PAT.

  • Best for teams using GitHub + Azure ecosystem.

chevron-rightACR Intergationhashtag

chevron-rightSelf-Hosted Agenthashtag

agent vm can be selfhosted or microft hosted

vmimagename: ubuntu-latest

own agent

pool:

name: "azureagent"

Setup self-hosted agent

go to project setting > pipeline > agent pool > add agent pool

go to created agent pool under agent add new agent

select os and run command on agent server

create PAT token for agnet to give granular permission

go to user setting > security > personal acces token select scope, permission

paste token and register agent

similar to github runner and run this as backround by adding as a service

install docker on agent server

chevron-rightKey Vault Intergationhashtag

chevron-rightScanning Tool - Snykhashtag

chevron-rightNotification - MS Teamshashtag

chevron-rightAKS Interationhashtag

chevron-rightTesting Interation, java, npm, pythonhashtag

Last updated