11#
2- # Test pipeline. Run build and deploy for Platta test environments.
2+ # Review pipeline. Run build and deploy for Platta dev environments.
33# Pipeline runs different tests e.g. unittest and browser tests.
44#
5- # Continuous integration (CI) triggers cause a pipeline to run whenever you push
5+ # Continuous integration (CI) triggers cause a pipeline to run whenever you push
66# an update to the specified branches or you push specified tags.
7- trigger :
8- batch : true
9- branches :
10- include :
11- - main
12- paths :
13- exclude :
14- - ' *release-please*'
15- - ' **/*.md'
16- - ' .github/'
7+ # only PR trigger pipeline
8+ trigger : none
179
18- # Pull request (PR) triggers cause a pipeline to run whenever a pull request is
10+ # Pull request (PR) triggers cause a pipeline to run whenever a pull request is
1911# opened with one of the specified target branches, or when updates are made to
2012# such a pull request.
2113#
@@ -24,21 +16,31 @@ trigger:
2416# of the pull request.
2517#
2618# Opt out of pull request validation
27- pr : none
19+ pr :
20+ # PR target branch
21+ branches :
22+ include :
23+ - main
24+ paths :
25+ exclude :
26+ - ' *release-please*'
27+ - ' *.md'
28+ - ' .github/'
29+ - ' pipelines/notification-service-api-release.yml'
30+ - ' pipelines/notification-service-api-dev.yml'
31+ - ' *compose*'
2832
2933# By default, use self-hosted agents
3034pool : Default
3135
3236resources :
3337 repositories :
34- # Azure DevOps repository
35- - repository : notification-service-api-pipelines
36- type : git
37- # Azure DevOps project/repository
38- name : kuva-notification-service-api/kuva-notification-service-api-pipelines
38+ # Azure DevOps repository
39+ - repository : kuva- notification-service-api-pipelines
40+ type : git
41+ # Azure DevOps project/repository
42+ name : kuva-notification-service-api/kuva-notification-service-api-pipelines
3943
4044extends :
41- # Filename in Azure DevOps Repository (note possible -ui or -api)
42- # Django example: azure-pipelines-PROJECTNAME-api-release.yml
43- # Drupal example: azure-pipelines-drupal-release.yml
44- template : azure-pipelines-notification-service-api-test.yml@notification-service-api-pipelines
45+ # Filename in Azure DevOps Repository
46+ template : components/notification-service-api/pipelines/notification-service-api-review.yml@kuva-notification-service-api-pipelines
0 commit comments