diff --git a/azure-pipelines-devtest.yml b/azure-pipelines-devtest.yml new file mode 100644 index 000000000..6a7f05088 --- /dev/null +++ b/azure-pipelines-devtest.yml @@ -0,0 +1,36 @@ +# File: servicemap-ui/azure-pipelines-devtest.yml + +# 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: + - develop + 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 + +resources: + repositories: + # Azure DevOps repository + - repository: palvelukartta-pipelines + type: git + # project/repository + name: palvelukartta/palvelukartta-pipelines + +extends: + template: azure-pipelines-palvelukartta-ui-devtest.yml@palvelukartta-pipelines \ No newline at end of file diff --git a/azure-pipelines-stageprod.yml b/azure-pipelines-stageprod.yml new file mode 100644 index 000000000..50308de97 --- /dev/null +++ b/azure-pipelines-stageprod.yml @@ -0,0 +1,36 @@ +# File: servicemap-ui/azure-pipelines-devtest.yml + +# 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: + - master + 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 + +resources: + repositories: + # Azure DevOps repository + - repository: palvelukartta-pipelines + type: git + # project/repository + name: palvelukartta/palvelukartta-pipelines + +extends: + template: azure-pipelines-palvelukartta-ui-stageprod.yml@palvelukartta-pipelines \ No newline at end of file