generated from ogcio/fastify-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure_pipelines_nightly.yml
43 lines (38 loc) · 1.25 KB
/
azure_pipelines_nightly.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
trigger: none
pr: none
schedules:
- cron: '0 20 * * *' # 8 pm daily test run
branches:
include:
- dev
# Services object is now defined per environment.
# Check the variables file for the desired environment!
variables:
- template: pipeline-variables/dev.yml
resources:
repositories:
- repository: pipeline-templates
type: github
name: ogcio/building-blocks-pipelines
ref: refs/tags/v0.4
endpoint: ogcio
stages:
- ${{ each serviceName in split(replace(variables.services, ' ', ''), ',') }}:
- stage: Regression_Tests_${{ replace(serviceName, '-', '_') }}
displayName: Run regression tests - ${{ serviceName }}
pool: 'Openshift'
jobs:
- template: test/regression_test.yml@pipeline-templates
parameters:
serviceName: ${{ serviceName }}
testPath: './apps/'
condition: succeededOrFailed()
- stage: Performance_Tests_${{ replace(serviceName, '-', '_') }}
displayName: Run non functional tests - ${{ serviceName }}
pool: 'Openshift'
jobs:
- template: test/non_functional_test.yml@pipeline-templates
parameters:
serviceName: ${{ serviceName }}
testPath: './apps/'
condition: succeededOrFailed()