From 7dbdb9a300b7cfb57fd6276eeb63095a19199bfa Mon Sep 17 00:00:00 2001 From: Matti Eiden Date: Wed, 16 Aug 2023 10:43:40 +0300 Subject: [PATCH] Maybe final attempt.. --- azure-pipelines-dev.yml | 41 +++++++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/azure-pipelines-dev.yml b/azure-pipelines-dev.yml index a1dc91bc5..4efc76e63 100644 --- a/azure-pipelines-dev.yml +++ b/azure-pipelines-dev.yml @@ -20,23 +20,44 @@ parameters: - "-staging" - "-dev" +# Check out multiple repositories in your pipeline resources: repositories: - - repository: linkedevents-pipelines + # Azure Repos + - repository: templates + type: git + ref: refs/heads/dev + name: devops-toolchain/pipeline-templates + # Azure Repos + - repository: pipelines + type: git + name: linkedevents-pipelines + - repository: linkedevents-pipelines-ref type: git name: linkedevents/linkedevents-pipelines - pipelines: - - pipeline: build-linkedevents-api - source: build-linkedevents-api - trigger: - branches: - include: - - refs/heads/develop + + +# Variables specified at the pipeline level +variables: + location: westeurope + +# By default, use self-hosted agents +# pool: Default stages: - - template: azure-pipelines-build-linkedevents-api.yml@linkedevents-pipelines + - template: stage-templates/build-pipeline.yml@templates parameters: + environment: development + openShiftServiceConnection: linkedevents-dev + app: linkedevents-api + project: linkedevents + azServConn: hki-platta-linkedevents-devtest buildenv: -dev - - template: azure-pipelines-deploy-linkedevents-api-dev.yml@linkedevents-pipelines + - template: pipeline-templates/deploy-pipeline-linkedevents-api.yml@linkedevents-pipelines-ref parameters: + environment: development + openShiftServiceConnection: linkedevents-dev + azServConn: hki-platta-linkedevents-devtest + additionalFilesForce: + - devops/linkedevents-elasticsearch-config.yml buildenv: -dev \ No newline at end of file