Skip to content

Commit

Permalink
MIJN-7450-production-release-config
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom committed Jan 18, 2024
1 parent 241c9bc commit c454ed8
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ trigger:
- testen
- az-acceptance
- main
- production-release-v*
pr:
autoCancel: true
branches:
Expand Down Expand Up @@ -41,6 +42,13 @@ parameters:
default: false

variables:
- name: btdBuild
value: ${{ parameters.btdBuild }}
- name: btdTest
value: ${{ parameters.btdTest }}
- name: btdDeploy
value: ${{ parameters.btdDeploy }}

- ${{ if or(eq(variables['Build.SourceBranchName'], 'testen'), eq(variables['Build.Reason'], 'PullRequest')) }}:
- name: dtapName
value: t
Expand All @@ -57,13 +65,23 @@ variables:
- name: dtapName
value: ${{ parameters.dtapName }}

- ${{ if contains(variables['Build.SourceBranchName'], 'production-release') }}:
- name: dtapName
value: p
- name: btdBuild
value: true
- name: btdTest
value: true
- name: btdDeploy
value: true

jobs:
- template: pipelines/jobs/apps/btd-koppel-api.yaml@MamsInfra
parameters:
appServiceShortName: wpi
dtapName: ${{ variables.dtapName }}
btdBuild: ${{ parameters.btdBuild }}
btdTest: ${{ parameters.btdTest }}
btdBuild: ${{ variables.btdBuild }}
btdTest: ${{ variables.btdTest }}
btdDeploy: ${{ variables.btdDeploy }}
updateAppSettings: ${{ parameters.updateAppSettings }}
aquaScan: ${{ eq(variables['Build.Reason'], 'PullRequest') }}

0 comments on commit c454ed8

Please sign in to comment.