Created
December 31, 2024 15:15
-
-
Save mocella/77e2df0a6a3f5fbd01c8cb4752610012 to your computer and use it in GitHub Desktop.
Azure Pipeline Single-Instance Behavior
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: none | |
variables: | |
artifact.name: drop | |
vmImage: 'ubuntu-latest' | |
pool: 'DockerAgentPool' | |
buildConfiguration: 'release' | |
group: 'my-ado-variables' | |
stages: | |
- stage: Build | |
displayName: 'Build Stage' | |
jobs: | |
- template: templates/jobs/build-dotnet.yaml | |
parameters: | |
buildConfiguration: $(buildConfiguration) | |
pool: $(pool) | |
vmImage: $(vmImage) | |
- template: templates/jobs/build-react.yaml | |
parameters: | |
pool: $(pool) | |
vmImage: $(vmImage) | |
- stage: SandboxDeploy | |
displayName: 'Deploy to SBX' | |
dependsOn: Build | |
lockBehavior: sequential # single-run behavior | |
jobs: | |
- template: templates/jobs/deploy-app.yaml | |
parameters: | |
jobName: 'SBX' | |
pool: $(pool) | |
vmImage: $(vmImage) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment