-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines-tapahtumat-review.yml
76 lines (72 loc) · 2.75 KB
/
azure-pipelines-tapahtumat-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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# 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:
- main
paths:
include:
- 'apps/events-helsinki/**'
- 'packages/**'
- '!packages/graphql-proxy-server/**'
- 'package.json'
- 'yarn.lock'
- '.yarnrc.yml'
- '*.base.json'
- '*.base.js'
- '.prettier*.*'
- 'azure-pipelines-tapahtumat-review.yml'
- 'Dockerfile'
- '*.Dockerfile'
- '!**/README.md'
- '!**/CHANGELOG.md'
- '!**/LICENSE'
- '!**/.env*'
- '!**/docker-compose*'
# By default, use self-hosted agents
pool: Default
resources:
repositories:
# Azure DevOps repository
- repository: tapahtumat-pipelines
type: git
# Azure DevOps project/repository
name: tapahtumat/tapahtumat-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-tapahtumat-review.yml@tapahtumat-pipelines
parameters:
# Application build arguments and config map values as key value pairs.
# Does not contain all buildArguments, the rest located in tapahtumat-pipelines/tapahtumat-variables-development.yml and tapahtumat-variables-common.yml
# The values here will override the values defined in the tapahtumat-pipelines repository
buildArgs:
FEDERATION_ROUTER_ENDPOINT: https://events-graphql-federation-events.test.hel.ninja/
CMS_ORIGIN: https://tapahtumat.app-staging.hkih.hion.dev
LINKEDEVENTS_EVENT_ENDPOINT: https://api.hel.fi/linkedevents/v1/event
NEXTJS_DISABLE_SENTRY: 0
NEXT_PUBLIC_ALLOW_UNAUTHORIZED_REQUESTS: 1
NEXT_PUBLIC_DEBUG: 1
NEXT_PUBLIC_MATOMO_ENABLED: 0
SKIP_BUILD_STATIC_GENERATION: 1
configMap: # pod environment variables
FEDERATION_ROUTER_ENDPOINT: https://events-graphql-federation-events.test.hel.ninja/
CMS_ORIGIN: https://tapahtumat.app-staging.hkih.hion.dev
LINKEDEVENTS_EVENT_ENDPOINT: https://api.hel.fi/linkedevents/v1/event