diff --git a/README.md b/README.md index 10b03882..ed6b2852 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# City of Helsinki - Strategia Drupal 9 project project +# City of Helsinki - Strategia Drupal 9 project ## Environments diff --git a/azure-pipelines-master.yml b/azure-pipelines-master.yml new file mode 100644 index 00000000..0ba9c8d2 --- /dev/null +++ b/azure-pipelines-master.yml @@ -0,0 +1,36 @@ +# File: drupal-helfi/azure-pipelines.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: + - 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 + +resources: + repositories: + # Azure DevOps repository + - repository: strategia-talous-pipelines + type: git + # project/repository + name: strategia-talous/strategia-talous-pipelines + +extends: + template: azure-pipelines-drupal-master.yml@strategia-talous-pipelines diff --git a/azure-pipelines-release.yml b/azure-pipelines-release.yml new file mode 100644 index 00000000..36fab5fb --- /dev/null +++ b/azure-pipelines-release.yml @@ -0,0 +1,36 @@ +# File: drupal-helfi/azure-pipelines.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: + - 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 + +resources: + repositories: + # Azure DevOps repository + - repository: strategia-talous-pipelines + type: git + # project/repository + name: strategia-talous/strategia-talous-pipelines + +extends: + template: azure-pipelines-drupal-release.yml@strategia-talous-pipelines