-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test with dev build yaml as it has already been authorized
- Loading branch information
Showing
2 changed files
with
24 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
# Dev environment deploy pipeline | ||
# Triggers automatically after a build of develop branch | ||
# Test environment deploy pipeline | ||
# Triggers automatically after a build of test branch | ||
|
||
trigger: none | ||
pr: none | ||
pool: Default | ||
pr: | ||
branches: | ||
include: | ||
- develop | ||
|
||
parameters: | ||
- name: buildenv | ||
displayName: Build environment | ||
type: string | ||
default: "-dev" | ||
values: | ||
- "-prod" | ||
- "-staging" | ||
- "-dev" | ||
|
||
# Check out multiple repositories in your pipeline | ||
resources: | ||
repositories: | ||
- repository: linkedevents-pipelines | ||
type: git | ||
name: linkedevents/linkedevents-pipelines | ||
pipelines: | ||
- pipeline: build-linkedevents-api | ||
source: build-linkedevents-api | ||
trigger: | ||
branches: | ||
include: | ||
- refs/heads/develop | ||
|
||
extends: | ||
template: azure-pipelines-deploy-linkedevents-api-dev.yml@linkedevents-pipelines | ||
|
||
# Variables specified at the pipeline level | ||
variables: | ||
location: westeurope | ||
|
||
# By default, use self-hosted agents | ||
# pool: Default | ||
# add comment | ||
|
||
stages: | ||
- template: azure-pipelines-build-linkedevents-api.yml@linkedevents-pipelines | ||
parameters: | ||
buildenv: -dev | ||
- template: azure-pipelines-deploy-linkedevents-api-dev.yml@linkedevents-pipelines | ||
parameters: | ||
buildenv: -dev |
This file contains 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