Skip to content

Commit

Permalink
Test with dev build yaml as it has already been authorized
Browse files Browse the repository at this point in the history
  • Loading branch information
voneiden committed Aug 16, 2023
1 parent 1584046 commit cb3d736
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
45 changes: 23 additions & 22 deletions azure-pipelines-dev.yml
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
5 changes: 1 addition & 4 deletions azure-pipelines-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@

trigger: none
pool: Default
pr:
branches:
include:
- develop
pr: none

# Check out multiple repositories in your pipeline
resources:
Expand Down

0 comments on commit cb3d736

Please sign in to comment.