-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathstress-tests-pipeline.yml
More file actions
109 lines (94 loc) · 3.54 KB
/
stress-tests-pipeline.yml
File metadata and controls
109 lines (94 loc) · 3.54 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
####################################################################################################
# Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this
# file to you under the MIT license. See the LICENSE file in the project root for more information.
####################################################################################################
# This pipeline runs the stress test suite against the SqlClient projects, building them
# transitively as necessary, triggered by successful runs of the following pipelines:
#
# Public project:
# Triggering pipelines: PR-SqlClient-Project, CI-SqlClient (branch main only)
# Pipeline name: sqlclient-stress
# Pipeline URL: https://sqlclientdrivers.visualstudio.com/public/_build?definitionId=2250
#
# ADO.Net project:
# Triggering pipeline: MDS Main CI (branch internal/main only)
# Pipeline name: sqlclient-stress
# Pipeline URL: https://dev.azure.com/SqlClientDrivers/ADO.Net/_build?definitionId=2284
# Set the pipeline run name to the day-of-year and the daily run counter.
name: $(DayOfYear)$(Rev:rr)
# Do not trigger this pipeline for PRs, commits, or schedules.
pr: none
trigger: none
# Trigger this pipeline after successful runs of the desired pipelines.
#
# The pipeline identifiers are displayed in the Azure DevOps UI, so it is helpful if they indicate
# the project, folder, and pipeline name, hence the verbose values below.
#
resources:
pipelines:
# The PR-SqlClient-Project pipeline in the Public project.
- pipeline: Public-ADO-PR-SqlClient-Project
project: Public
source: /ADO/PR-SqlClient-Project
trigger: true
# The CI-SqlClient pipeline in the Public project.
- pipeline: Public-ADO-CI-SqlClient
project: Public
source: /ADO/CI-SqlClient
trigger:
branches:
include:
- main
# The MDS Main CI pipeline in the ADO.Net project.
- pipeline: ADO-Net-Internal-CI-MDS-Main-CI
project: ADO.Net
source: /CI/MDS Main CI
trigger:
branches:
include:
- internal/main
# Pipeline parameters, visible in the Azure DevOps UI.
parameters:
# The build configuration to use; defaults to Release.
- name: buildConfiguration
displayName: Build Configuration
type: string
default: Release
values:
- Debug
- Release
# True to emit debug information and steps.
- name: debug
displayName: Enable debug output
type: boolean
default: false
# When true, test failures produce warnings (SucceededWithIssues) but do not fail the pipeline.
# When false (default), test failures fail the pipeline.
- name: warnOnTestFailure
displayName: Warn (not fail) on test failure
type: boolean
default: false
# Dotnet CLI verbosity level.
- name: dotnetVerbosity
displayName: dotnet CLI Verbosity
type: string
default: normal
values:
- quiet
- minimal
- normal
- detailed
- diagnostic
# The stages to run.
stages:
# Generate secrets. We use these for the local SQL Server 'sa' logins.
- template: /eng/pipelines/stages/generate-secrets-ci-stage.yml@self
parameters:
debug: ${{ parameters.debug }}
# Run the stress tests.
- template: /eng/pipelines/stress/stress-tests-stage.yml@self
parameters:
buildConfiguration: ${{ parameters.buildConfiguration }}
debug: ${{ parameters.debug }}
warnOnTestFailure: ${{ parameters.warnOnTestFailure }}
dotnetVerbosity: ${{ parameters.dotnetVerbosity }}