From 831c1fbf068792e2cb2cb40a5147fd44424e3350 Mon Sep 17 00:00:00 2001 From: Tim van Oostrom Date: Fri, 3 Nov 2023 13:54:03 +0100 Subject: [PATCH] Add ACC env --- azure-pipeline-bff.yaml | 4 ++++ azure-pipeline-ui.yaml | 4 ++++ azure-pipelines.yaml | 7 +++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/azure-pipeline-bff.yaml b/azure-pipeline-bff.yaml index 9e41d9492c..28447b332e 100644 --- a/azure-pipeline-bff.yaml +++ b/azure-pipeline-bff.yaml @@ -4,6 +4,7 @@ trigger: include: - ontwikkelen - testen + - main paths: include: - src/server @@ -56,6 +57,9 @@ variables: - ${{ if or(eq(variables['Build.SourceBranchName'], 'testen'), eq(variables['Build.Reason'], 'PullRequest')) }}: - name: dtapName value: t + - ${{ if eq(variables['Build.SourceBranchName'], 'main') }}: + - name: dtapName + value: a - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: - name: btdDeploy value: false diff --git a/azure-pipeline-ui.yaml b/azure-pipeline-ui.yaml index 0dd195e1e7..ad942d3f29 100644 --- a/azure-pipeline-ui.yaml +++ b/azure-pipeline-ui.yaml @@ -4,6 +4,7 @@ trigger: include: - ontwikkelen - testen + - main paths: include: - src/client @@ -58,6 +59,9 @@ variables: - ${{ if or(eq(variables['Build.SourceBranchName'], 'testen'), eq(variables['Build.Reason'], 'PullRequest')) }}: - name: dtapName value: t + - ${{ if eq(variables['Build.SourceBranchName'], 'main') }}: + - name: dtapName + value: a - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: - name: btdDeploy value: false diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index a9a450ee94..dc814456fc 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -26,8 +26,8 @@ parameters: - none - o - t - # - a - # - p + - a + - p - name: updateAppSettings type: boolean @@ -47,6 +47,9 @@ variables: - ${{ if and(or(eq(variables['Build.SourceBranchName'], 'testen'), eq(variables['Build.Reason'], 'PullRequest')), eq(parameters.dtapName, 'none')) }}: - name: dtapName value: t + - ${{ if and(eq(variables['Build.SourceBranchName'], 'main'), eq(parameters.dtapName, 'none')) }}: + - name: dtapName + value: a - ${{ if ne(parameters.dtapName, 'none') }}: - name: dtapName value: ${{ parameters.dtapName }}