2023-01-10 04:57:58 +03:00
|
|
|
# Razor integration test pipeline for validating against branch builds of VS.
|
2022-01-21 00:22:48 +03:00
|
|
|
|
|
|
|
trigger: none # Manual trigger for now
|
|
|
|
pr: none
|
|
|
|
|
|
|
|
resources:
|
|
|
|
pipelines:
|
|
|
|
- pipeline: VisualStudioBuildUnderTest
|
|
|
|
source: DD-CB-ReleaseVS
|
|
|
|
branch: main
|
|
|
|
- pipeline: DartLab
|
|
|
|
source: DartLab
|
|
|
|
branch: main
|
|
|
|
repositories:
|
|
|
|
- repository: DartLabTemplates
|
|
|
|
type: git
|
|
|
|
name: DartLab.Templates
|
2022-09-01 02:04:40 +03:00
|
|
|
ref: main
|
2022-01-21 00:22:48 +03:00
|
|
|
- repository: RazorMirror
|
2023-05-19 03:24:51 +03:00
|
|
|
endpoint: dnceng/internal dotnet-roslyn
|
2022-01-21 00:22:48 +03:00
|
|
|
type: git
|
2022-11-09 20:35:34 +03:00
|
|
|
name: internal/dotnet-razor
|
2022-06-13 23:24:19 +03:00
|
|
|
ref: $(Build.SourceBranch)
|
2022-01-21 00:22:48 +03:00
|
|
|
trigger:
|
|
|
|
- main
|
|
|
|
|
|
|
|
variables:
|
|
|
|
- name: XUNIT_LOGS
|
|
|
|
value: $(Build.SourcesDirectory)\artifacts\log\$(_configuration)
|
2022-10-12 00:58:39 +03:00
|
|
|
- name: __VSNeverShowWhatsNew
|
|
|
|
value: 1
|
2023-06-07 20:32:05 +03:00
|
|
|
- name: RAZOR_RUN_ALL_TESTS
|
|
|
|
value: 'true'
|
2022-01-21 00:22:48 +03:00
|
|
|
|
|
|
|
stages:
|
2022-06-08 01:55:19 +03:00
|
|
|
- template: \stages\visual-studio\agent.yml@DartLabTemplates
|
2022-01-21 00:22:48 +03:00
|
|
|
parameters:
|
|
|
|
displayName: VS Integration
|
2022-03-10 01:10:14 +03:00
|
|
|
testLabPoolName: VS-Platform
|
2022-01-21 00:22:48 +03:00
|
|
|
visualStudioBootstrapperURI: https://vsdrop.corp.microsoft.com/file/v1/$(VisualStudio.BuildUnderTest.ProductsDropName);bootstrappers/Enterprise/vs_enterprise.exe
|
2022-01-27 01:09:26 +03:00
|
|
|
visualStudioInstallationParameters: --add Microsoft.VisualStudio.Component.Node.Tools --add Microsoft.VisualStudio.Component.Node.Build --add Microsoft.VisualStudio.Component.NuGet --add Microsoft.VisualStudio.Component.Roslyn.Compiler --add Microsoft.Component.MSBuild --add Microsoft.NetCore.Component.Runtime.6.0 --add Microsoft.NetCore.Component.SDK --add Microsoft.Net.Component.4.7.2.TargetingPack --add Microsoft.VisualStudio.Component.Roslyn.LanguageServices --add Microsoft.VisualStudio.Component.FSharp --add Microsoft.ComponentGroup.ClickOnce.Publish --add Microsoft.NetCore.Component.DevelopmentTools --add Microsoft.VisualStudio.Component.MSODBC.SQL --add Microsoft.VisualStudio.Component.MSSQL.CMDLnUtils --add Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime --add Microsoft.VisualStudio.Component.SQL.CLR --add Microsoft.VisualStudio.Component.CoreEditor --add Microsoft.VisualStudio.Workload.CoreEditor --add Microsoft.Net.Component.4.8.SDK --add Microsoft.Net.ComponentGroup.DevelopmentPrerequisites --add Microsoft.VisualStudio.Component.TypeScript.TSServer --add Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions --add Microsoft.VisualStudio.Component.JavaScript.TypeScript --add Microsoft.VisualStudio.Component.JavaScript.Diagnostics --add Microsoft.VisualStudio.Component.TextTemplating --add Component.Microsoft.VisualStudio.RazorExtension --add Microsoft.VisualStudio.Component.IISExpress --add Microsoft.VisualStudio.Component.Common.Azure.Tools --add Microsoft.Component.ClickOnce --add Microsoft.VisualStudio.Component.ManagedDesktop.Core --add Microsoft.VisualStudio.Component.SQL.SSDT --add Microsoft.VisualStudio.Component.SQL.DataSources --add Component.Microsoft.Web.LibraryManager --add Component.Microsoft.WebTools.BrowserLink.WebLivePreview --add Microsoft.VisualStudio.ComponentGroup.Web --add Microsoft.VisualStudio.Component.FSharp.WebTemplates --add Microsoft.VisualStudio.Component.DockerTools --add Microsoft.NetCore.Component.Web --add Microsoft.VisualStudio.Component.WebDeploy --add Microsoft.VisualStudio.Component.AppInsights.Tools --add Microsoft.VisualStudio.Component.Web --add Microsoft.Net.Component.4.8.TargetingPack --add Microsoft.Net.ComponentGroup.4.8.DeveloperTools --add Microsoft.VisualStudio.Component.AspNet45 --add Microsoft.VisualStudio.Component.AspNet --add Component.Microsoft.VisualStudio.Web.AzureFunctions --add Microsoft.VisualStudio.ComponentGroup.AzureFunctions --add Microsoft.VisualStudio.Component.Debugger.Snapshot --add Microsoft.VisualStudio.ComponentGroup.Web.CloudTools --add Microsoft.VisualStudio.Component.IntelliTrace.FrontEnd --add Microsoft.VisualStudio.Component.DiagnosticTools --add Microsoft.VisualStudio.Component.EntityFramework --add Microsoft.VisualStudio.Component.LiveUnitTesting --add Microsoft.VisualStudio.Component.Debugger.JustInTime --add Component.Microsoft.VisualStudio.LiveShare.2022 --add Microsoft.VisualStudio.Component.WslDebugging --add Microsoft.VisualStudio.Component.IntelliCode --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites --add Microsoft.ComponentGroup.Blend --add Microsoft.VisualStudio.Component.DotNetModelBuilder --add Microsoft.VisualStudio.Component.FSharp.Desktop --add Microsoft.VisualStudio.Component.PortableLibrary --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.Net.Component.4.6.TargetingPack --add Microsoft.VisualStudio.Component.VSSDK --add Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites --add Microsoft.Component.CodeAnalysis.SDK --add Microsoft.VisualStudio.Workload.VisualStudioExtension --installPath "C:\Test\VisualStudio" --quiet --norestart --wait
|
2022-01-21 00:22:48 +03:00
|
|
|
testExecutionJobStrategy:
|
|
|
|
matrix:
|
2022-05-07 03:04:44 +03:00
|
|
|
release:
|
|
|
|
_configuration: Release
|
|
|
|
testMachineTotalCount: 1
|
2022-01-21 00:22:48 +03:00
|
|
|
testAgentElevated: true
|
|
|
|
preTestMachineConfigurationStepList:
|
|
|
|
- checkout: none
|
|
|
|
- download: VisualStudioBuildUnderTest
|
|
|
|
- task: PowerShell@2
|
|
|
|
name: SetProductsDropName
|
|
|
|
displayName: Set 'VisualStudio.BuildUnderTest.ProductsDropName'
|
|
|
|
inputs:
|
|
|
|
filePath: $(DartLab.Path)\Scripts\VisualStudio\Build\Get-VisualStudioDropName.ps1
|
|
|
|
arguments: -DropNamePrefix 'Products' -VstsDropUrlsJson '$(Pipeline.Workspace)\VisualStudioBuildUnderTest\BuildArtifacts\VstsDropUrls.json' -OutVariableName 'VisualStudio.BuildUnderTest.ProductsDropName'
|
2022-01-27 01:09:26 +03:00
|
|
|
|
2022-01-21 00:22:48 +03:00
|
|
|
deployAndRunTestsStepList:
|
|
|
|
- checkout: RazorMirror
|
|
|
|
- template: eng/pipelines/test-integration-job.yml
|
|
|
|
parameters:
|
|
|
|
configuration: $(_configuration)
|
2022-06-08 01:55:19 +03:00
|
|
|
shallowCheckout: false
|