-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines-review.yml
58 lines (54 loc) · 2.09 KB
/
azure-pipelines-review.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Review pipeline. Run build and deploy for Platta test environments.
# Pipeline runs different tests e.g. unittest and browser tests.
#
# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# an update to the specified branches or you push specified tags.
# only PR trigger pipeline
trigger: none
# 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:
# PR target branch
branches:
include:
- master
paths:
exclude:
- '*release-please*'
- '**/*.md'
- '.github/'
- 'azure-pipelines-release.yml'
- 'azure-pipelines-test.yml'
- 'docker-compose*'
# By default, use self-hosted agents
pool: Default
resources:
repositories:
# Azure DevOps repository
- repository: kukkuu-pipelines
type: git
# Azure DevOps project/repository
name: kukkuu/kukkuu-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-kukkuu-admin-review.yml@kukkuu-pipelines
parameters:
# Application build arguments and config map values as key value pairs.
# Does not contain all buildArguments, the rest located in harrastukset-pipelines/harrastukset-variables-development.yml and harrastukset-variables-common.yml
# The values here will override the values defined in the harrastukset-pipelines repository.
buildArgs:
# REACT_APP_API_URI: 'https://kukkuu-local.api.dev.hel.ninja/graphql'
REACT_APP_API_URI: https://kukkuu.api.test.hel.ninja/graphql
BROWSER_TESTS_JWT_AD_GROUP: kukkuu_browser_test
configMap: # pod environment variables
BROWSER_TESTS_JWT_AD_GROUP: kukkuu_browser_test