-
Notifications
You must be signed in to change notification settings - Fork 753
Expand file tree
/
Copy pathdailytests.yml
More file actions
76 lines (70 loc) · 2.08 KB
/
dailytests.yml
File metadata and controls
76 lines (70 loc) · 2.08 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
# This is a pipeline that will run NuGet.Client's Visual Studio daily integration tests
pr: none
trigger:
branches:
include:
- dev
parameters:
# Dartlab options
- name: DartLabEnvironment
displayName: DartLab Environment
type: string
default: Production
values:
- Production
- Staging
- name: ApexAgentCleanup
displayName: Delete or keep VS Apex test machine for debugging
type: string
default: delete
values:
- delete
- stop
resources:
pipelines:
- pipeline: DartLab
source: DartLab
branch: main
repositories:
- repository: DartLabTemplates
type: git
name: DartLab.Templates
ref: refs/heads/main
variables:
DOTNET_NOLOGO: 1
CI: true
Codeql.Enabled: false
SourceBranch: $[replace(variables['Build.SourceBranch'], 'refs/heads/', '')]
stages:
- stage: Build
displayName: Build NuGet and tests
jobs:
- job: Build
timeoutInMinutes: 170
pool:
name: VSEngSS-MicroBuild2022-1ES
steps:
- template: vs-test/build.yml
# Dartlab's template defines this in its own stage
- template: vs-test/apex.yml
parameters:
condition: "and(succeeded(), ne(variables['RunApexTests'], 'false'))"
dependsOn:
- Build
variables:
- name: VsBootstrapperUrl
value: $[stageDependencies.Build.Build.outputs['dartlab_variables.bootstrapperUrl']]
- name: VsBaseBuildDrop
value: $[stageDependencies.Build.Build.outputs['dartlab_variables.BaseBuildDrop']]
- name: QBuildSessionId
value: $[stageDependencies.Build.Build.outputs['dartlab_variables.QBuildSessionId']]
- name: RunSettingsDrop
value: $[stageDependencies.Build.Build.outputs['dartlab_variables.RunSettingsDrop']]
baseBuildDrop: $(VsBaseBuildDrop)
bootstrapperUrl: $(VsBootstrapperUrl)
dartLabEnvironment: ${{parameters.DartLabEnvironment}}
isOfficialBuild: false
QBuildSessionId: $(QBuildSessionId)
runSettingsURI: https://vsdrop.corp.microsoft.com/file/v1/$(RunSettingsDrop);NuGet.Tests.Apex.Daily.runsettings
testExecutionJobTimeoutInMinutes: 150
testMachineCleanUpStrategy: ${{parameters.ApexAgentCleanup}}