|
| 1 | +# |
| 2 | +# Review pipeline. Run build and deploy for Platta dev environments. |
| 3 | +# Pipeline runs different tests e.g. unittest and browser tests. |
| 4 | +# |
| 5 | +# Continuous integration (CI) triggers cause a pipeline to run whenever you push |
| 6 | +# an update to the specified branches or you push specified tags. |
| 7 | +# only PR trigger pipeline |
| 8 | +trigger: none |
| 9 | + |
| 10 | +# Pull request (PR) triggers cause a pipeline to run whenever a pull request is |
| 11 | +# opened with one of the specified target branches, or when updates are made to |
| 12 | +# such a pull request. |
| 13 | +# |
| 14 | +# GitHub creates a new ref when a pull request is created. The ref points to a |
| 15 | +# merge commit, which is the merged code between the source and target branches |
| 16 | +# of the pull request. |
| 17 | +# |
| 18 | +# Opt out of pull request validation |
| 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/helfi-redirector-release.yml' |
| 30 | + - 'pipelines/helfi-redirector-dev.yml' |
| 31 | + - 'compose*' |
| 32 | + |
| 33 | +# By default, use self-hosted agents |
| 34 | +pool: Default |
| 35 | + |
| 36 | +resources: |
| 37 | + repositories: |
| 38 | + # Azure DevOps repository |
| 39 | + - repository: helfi-redirector-pipelines |
| 40 | + type: git |
| 41 | + # Azure DevOps project/repository |
| 42 | + name: helfi-redirector/helfi-redirector-pipelines |
| 43 | + |
| 44 | +extends: |
| 45 | + # Filename in Azure DevOps Repository |
| 46 | + template: components/helfi-redirector/pipelines/helfi-redirector-review.yml@helfi-redirector-pipelines |
| 47 | + # parameters: |
| 48 | + # Application build arguments and config map values as key value pairs. |
| 49 | + # Does not contain all buildArguments or configMap values, the rest located in helfi-redirector-pipelines |
| 50 | + # The values here will override the values defined in the helfi-redirector-pipelines repository |
| 51 | + # buildArgs: |
| 52 | + # DEBUG: 1 |
| 53 | + # configMap: # pod environment variables |
| 54 | + # DEBUG: 1 |
0 commit comments