Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created March 10, 2024 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlokerse/aaf7232a32c7991d8dea5617b337b109 to your computer and use it in GitHub Desktop.
Save johnlokerse/aaf7232a32c7991d8dea5617b337b109 to your computer and use it in GitHub Desktop.
Setup approval flows on Azure DevOps service connections blog
trigger: none
pool:
vmImage: "windows-latest"
jobs:
- job: 'JobOne'
displayName: 'Infrastructure deployment'
steps:
- task: AzureCLI@2
inputs:
azureSubscription: "azure-sc-prod"
scriptType: "ps"
scriptLocation: "inlineScript"
inlineScript: "az --version"
displayName: "Azure CLI Task"
- job: 'JobTwo'
dependsOn: 'JobOne'
displayName: 'Entra ID deployment'
steps:
- task: AzureCLI@2
inputs:
azureSubscription: "azure-sc-prod-entra"
scriptType: "ps"
scriptLocation: "inlineScript"
inlineScript: "az --version"
displayName: "Azure CLI Task2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment