From 7f40a711287ee89f603f57a5fe66c025c5a4280c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vitalijus=20Al=C5=A1auskas?= Date: Fri, 25 Feb 2022 16:22:06 +0200 Subject: [PATCH 1/3] Create azure-pipelines-stageprod.yml --- azure-pipelines-stageprod.yml | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 azure-pipelines-stageprod.yml diff --git a/azure-pipelines-stageprod.yml b/azure-pipelines-stageprod.yml new file mode 100644 index 00000000..4f94e86b --- /dev/null +++ b/azure-pipelines-stageprod.yml @@ -0,0 +1,46 @@ +# Continuous integration (CI) triggers cause a pipeline to run whenever you push +# an update to the specified branches or you push specified tags. +trigger: + branches: + include: + - main + paths: + exclude: + - README.md + +# Pull request (PR) triggers cause a pipeline to run whenever a pull request is +# opened with one of the specified target branches, or when updates are made to +# such a pull request. +# +# GitHub creates a new ref when a pull request is created. The ref points to a +# merge commit, which is the merged code between the source and target branches +# of the pull request. +# +# Opt out of pull request validation +pr: none + +# By default, use self-hosted agents +pool: Default + +# Image tag name for Fuse projects +#parameters: +#- name: imagetag +# displayName: Image tag to be built and/or deployed +# type: string +# default: latest + +resources: + repositories: + # Azure DevOps repository + - repository: helfi-kuva-pipelines + type: git + # Azure DevOps project/repository + name: helfi-kuva/helfi-kuva-pipelines + +extends: + # Filename in Azure DevOps Repository (note possible -ui or -api) + # Django example: azure-pipelines-PROJECTNAME-api-release.yml + # Drupal example: azure-pipelines-drupal-release.yml + template: azure-pipelines-drupal-stageprod.yml@helfi-kuva-pipelines + #parameters: + #imagetag: ${{ parameters.imagetag }} From e277e10001db53f89312cfa708b7942ad839141e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vitalijus=20Al=C5=A1auskas?= Date: Fri, 25 Feb 2022 16:22:36 +0200 Subject: [PATCH 2/3] Create azure-pipeline-devtest.yml --- azure-pipeline-devtest.yml | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 azure-pipeline-devtest.yml diff --git a/azure-pipeline-devtest.yml b/azure-pipeline-devtest.yml new file mode 100644 index 00000000..95125a83 --- /dev/null +++ b/azure-pipeline-devtest.yml @@ -0,0 +1,47 @@ +# Continuous integration (CI) triggers cause a pipeline to run whenever you push +# an update to the specified branches or you push specified tags. +trigger: + branches: + include: + - dev + paths: + exclude: + - README.md + +# Pull request (PR) triggers cause a pipeline to run whenever a pull request is +# opened with one of the specified target branches, or when updates are made to +# such a pull request. +# +# GitHub creates a new ref when a pull request is created. The ref points to a +# merge commit, which is the merged code between the source and target branches +# of the pull request. +# +# Opt out of pull request validation +pr: none + +# By default, use self-hosted agents +pool: Default + +# Image tag name for Fuse projects +#parameters: +#- name: imagetag +# displayName: Image tag to be built and/or deployed +# type: string +# default: latest + +resources: + repositories: + # Azure DevOps repository + - repository: helfi-kuva-pipelines + type: git + # Azure DevOps project/repository + name: helfi-kuva/helfi-kuva-pipelines + +extends: + # Filename in Azure DevOps Repository (note possible -ui or -api) + # Django example: azure-pipelines-PROJECTNAME-api-master.yml + # Drupal example: azure-pipelines-drupal-master.yml + template: azure-pipelines-drupal-devtest.yml@helfi-kuva-pipelines + # Image tag name for Fuse projects + #parameters: + #imagetag: ${{ parameters.imagetag }} From 4ab7ba3620f131be421eadd5255b7d6c166a8c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vitalijus=20Al=C5=A1auskas?= Date: Mon, 28 Feb 2022 10:24:25 +0200 Subject: [PATCH 3/3] Rename azure-pipeline-devtest.yml to azure-pipelines-devtest.yml --- azure-pipeline-devtest.yml => azure-pipelines-devtest.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename azure-pipeline-devtest.yml => azure-pipelines-devtest.yml (100%) diff --git a/azure-pipeline-devtest.yml b/azure-pipelines-devtest.yml similarity index 100% rename from azure-pipeline-devtest.yml rename to azure-pipelines-devtest.yml