Merge branch '3.1merge'
This commit is contained in:
commit
71853a4640
|
|
@ -1,59 +0,0 @@
|
|||
# Uses Scheduled Triggers, which aren't supported in YAML yet.
|
||||
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=vsts&tabs=yaml#scheduled
|
||||
|
||||
# Daily Tests for Blazor
|
||||
# These use Sauce Labs resources, hence they run daily rather than per-commit.
|
||||
|
||||
# We just need one Windows machine because all it does is trigger SauceLabs.
|
||||
variables:
|
||||
SAUCE_CONNECT_DOWNLOAD_ON_INSTALL: true
|
||||
E2ETESTS_SauceTest: true
|
||||
E2ETESTS_Sauce__TunnelIdentifier: 'blazor-e2e-sc-proxy-tunnel'
|
||||
E2ETESTS_Sauce__HostName: 'sauce.local'
|
||||
jobs:
|
||||
- template: jobs/default-build.yml
|
||||
parameters:
|
||||
buildDirectory: src/Components
|
||||
isTestingJob: true
|
||||
agentOs: Windows
|
||||
jobName: BlazorDailyTests
|
||||
jobDisplayName: "Blazor Daily Tests"
|
||||
afterBuild:
|
||||
|
||||
# macOS/Safari
|
||||
- script: 'dotnet test --filter "StandaloneAppTest"'
|
||||
workingDirectory: 'src/Components/test/E2ETest'
|
||||
displayName: 'Run Blazor tests - macOS/Safari'
|
||||
condition: succeededOrFailed()
|
||||
env:
|
||||
# Secrets need to be explicitly mapped to env variables.
|
||||
E2ETESTS_Sauce__Username: '$(asplab-sauce-labs-username)'
|
||||
E2ETESTS_Sauce__AccessKey: '$(asplab-sauce-labs-access-key)'
|
||||
# Set platform/browser configuration.
|
||||
E2ETESTS_Sauce__TestName: 'Blazor Daily Tests - macOS/Safari'
|
||||
E2ETESTS_Sauce__PlatformName: 'macOS 10.14'
|
||||
E2ETESTS_Sauce__BrowserName: 'Safari'
|
||||
# Need to explicitly set version here because some older versions don't support timeouts in Safari.
|
||||
E2ETESTS_Sauce__SeleniumVersion: '3.4.0'
|
||||
|
||||
# Android/Chrome
|
||||
- script: 'dotnet test --filter "StandaloneAppTest"'
|
||||
workingDirectory: 'src/Components/test/E2ETest'
|
||||
displayName: 'Run Blazor tests - Android/Chrome'
|
||||
condition: succeededOrFailed()
|
||||
env:
|
||||
# Secrets need to be explicitly mapped to env variables.
|
||||
E2ETESTS_Sauce__Username: '$(asplab-sauce-labs-username)'
|
||||
E2ETESTS_Sauce__AccessKey: '$(asplab-sauce-labs-access-key)'
|
||||
# Set platform/browser configuration.
|
||||
E2ETESTS_Sauce__TestName: 'Blazor Daily Tests - Android/Chrome'
|
||||
E2ETESTS_Sauce__PlatformName: 'Android'
|
||||
E2ETESTS_Sauce__PlatformVersion: '10.0'
|
||||
E2ETESTS_Sauce__BrowserName: 'Chrome'
|
||||
E2ETESTS_Sauce__DeviceName: 'Android GoogleAPI Emulator'
|
||||
E2ETESTS_Sauce__DeviceOrientation: 'portrait'
|
||||
E2ETESTS_Sauce__AppiumVersion: '1.9.1'
|
||||
artifacts:
|
||||
- name: Windows_Logs
|
||||
path: ../../artifacts/log/
|
||||
publishOnError: true
|
||||
|
|
@ -8,6 +8,7 @@ Update this list when preparing for a new patch.
|
|||
<Package Id="AspNetCoreRuntime.3.0.x64" Version="3.0.3" />
|
||||
<Package Id="AspNetCoreRuntime.3.0.x86" Version="3.0.3" />
|
||||
<Package Id="dotnet-sql-cache" Version="3.1.5" />
|
||||
<Package Id="Microsoft.Authentication.WebAssembly.Msal" Version="3.2.0" />
|
||||
<Package Id="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Version="3.1.5" />
|
||||
<Package Id="Microsoft.AspNetCore.App.Runtime.win-x64" Version="3.1.5" />
|
||||
<Package Id="Microsoft.AspNetCore.Authentication.AzureAD.UI" Version="3.1.5" />
|
||||
|
|
|
|||
|
|
@ -123,8 +123,9 @@
|
|||
the entire pattern will silently fail to evaluate correctly.
|
||||
-->
|
||||
<DotNetProjects Include="
|
||||
$(RepoRoot)src\Framework\ref\Microsoft.AspNetCore.App.Ref.csproj;
|
||||
$(RepoRoot)src\Framework\src\Microsoft.AspNetCore.App.Runtime.csproj;
|
||||
$(RepoRoot)src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj;
|
||||
$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj;
|
||||
$(RepoRoot)src\Framework\App.Ref.Internal\src\Microsoft.AspNetCore.App.Ref.Internal.csproj;
|
||||
$(RepoRoot)src\Framework\test\Microsoft.AspNetCore.App.UnitTests.csproj;
|
||||
$(RepoRoot)src\DefaultBuilder\**\*.*proj;
|
||||
$(RepoRoot)src\Features\JsonPatch\**\*.*proj;
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<Description>Authenticate your Blazor webassembly applications with Azure Active Directory and Azure Active Directory B2C</Description>
|
||||
<IsShippingPackage>true</IsShippingPackage>
|
||||
<HasReferenceAssembly>false</HasReferenceAssembly>
|
||||
<RazorLangVersion>3.0</RazorLangVersion>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
<Project>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
|
||||
<PropertyGroup>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
<!-- WebDriver is not strong-named, so this test project cannot be strong named either. -->
|
||||
<SignAssembly>false</SignAssembly>
|
||||
<IsTestAssetProject>true</IsTestAssetProject>
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
<HasReferenceAssembly>false</HasReferenceAssembly>
|
||||
<IsProjectReferenceProvider>false</IsProjectReferenceProvider>
|
||||
<ReferenceBlazorBuildLocally>true</ReferenceBlazorBuildLocally>
|
||||
<IsTestAssetProject>true</IsTestAssetProject>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"DefaultWaitTimeoutInSeconds": 20,
|
||||
"ScreenShotsPath": "../../screenshots",
|
||||
"ScreenShotsPath": "../../screenshots"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
|
||||
<IsShippingPackage>false</IsShippingPackage>
|
||||
<IsPackable>true</IsPackable>
|
||||
<IsPackable Condition="'$(IsTargetingPackBuilding)' == 'false'">false</IsPackable>
|
||||
<PackageId>$(TargetingPackName).Internal</PackageId>
|
||||
<VersionPrefix>$(TargetingPackVersionPrefix)</VersionPrefix>
|
||||
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
|
||||
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||
<IncludeSymbols>false</IncludeSymbols>
|
||||
<NoPackageAnalysis>true</NoPackageAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
|
@ -5,6 +5,8 @@
|
|||
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
|
||||
<IsPackable>true</IsPackable>
|
||||
<IsPackable Condition="'$(IsTargetingPackBuilding)' == 'false'">false</IsPackable>
|
||||
<!-- This is typically based on whether the project sits in a folder named `ref`, which this one does not - but we want it to resolve references like a ref project -->
|
||||
<IsReferenceAssemblyProject>true</IsReferenceAssemblyProject>
|
||||
<PackageId>$(TargetingPackName)</PackageId>
|
||||
<VersionPrefix>$(TargetingPackVersionPrefix)</VersionPrefix>
|
||||
<!-- This is a reference package and does not include any dependencies. -->
|
||||
|
|
@ -59,7 +61,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
|||
<!-- Note: do not add _TransitiveExternalAspNetCoreAppReference to this list. This is intentionally not listed as a direct package reference. -->
|
||||
<Reference Include="@(AspNetCoreAppReference);@(AspNetCoreAppReferenceAndPackage);@(ExternalAspNetCoreAppReference)" />
|
||||
<!-- Enforce build order. Targeting pack needs to bundle information about the runtime. -->
|
||||
<ProjectReference Include="..\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ProjectReference Include="..\..\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
@ -52,11 +52,11 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ref\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ProjectReference Include="..\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ProjectReference Include="..\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
@ -64,21 +64,21 @@
|
|||
|
||||
<Target Name="GenerateTestData" BeforeTargets="GetAssemblyAttributes" DependsOnTargets="InitializeSourceControlInformation">
|
||||
<!-- Use the ref pack logic to compute the list of expected targeting pack content -->
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\ref\Microsoft.AspNetCore.App.Ref.csproj"
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
||||
Targets="_ResolveTargetingPackContent"
|
||||
SkipNonexistentProjects="false">
|
||||
<Output TaskParameter="TargetOutputs" ItemName="_TargetingPackDependencies" />
|
||||
</MSBuild>
|
||||
|
||||
<!-- This target is defined in eng/targets/Packaging.targets and included in every C# and F# project. -->
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
||||
Targets="_GetPackageVersionInfo"
|
||||
SkipNonexistentProjects="false">
|
||||
<Output TaskParameter="TargetOutputs" ItemName="_RuntimePackageVersionInfo" />
|
||||
</MSBuild>
|
||||
|
||||
<!-- Runtime and Ref packs may have separate versions. -->
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\ref\Microsoft.AspNetCore.App.Ref.csproj"
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
||||
Targets="_GetPackageVersionInfo"
|
||||
SkipNonexistentProjects="false">
|
||||
<Output TaskParameter="TargetOutputs" ItemName="_TargetingPackVersionInfo" />
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Framework\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ProjectReference Include="..\..\..\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Framework\ref\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ProjectReference Include="..\..\..\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(RepoRoot)src\Framework\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ProjectReference Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Framework\ref\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ProjectReference Include="..\..\..\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Condition="$(DesignTimeBuild) != true">
|
||||
<!-- The version of the shared framework. This is used in tests to ensure they run against the shared framework version we just built. -->
|
||||
<!-- If we aren't building the targeting pack, use the baseline version -->
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\ref\Microsoft.AspNetCore.App.Ref.csproj"
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj"
|
||||
Targets="_GetPackageVersionInfo"
|
||||
SkipNonexistentProjects="false"
|
||||
Condition="'$(IsTargetingPackBuilding)' != 'false'">
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<!-- Runtime and Ref packs may have separate versions. -->
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
||||
<MSBuild Projects="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj"
|
||||
Targets="_GetPackageVersionInfo"
|
||||
SkipNonexistentProjects="false">
|
||||
<Output TaskParameter="TargetOutputs" ItemName="_RuntimePackageVersionInfo" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!-- Shared testing infrastructure for running E2E tests using selenium -->
|
||||
<Import Project="$(SharedSourceRoot)E2ETesting\E2ETesting.props" />
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(RepoRoot)src\Framework\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ProjectReference Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
|
|||
|
|
@ -24,11 +24,11 @@
|
|||
<ItemGroup>
|
||||
<HostingStartupRuntimeStoreTargets Include="$(DefaultNetCoreTargetFramework)" Runtime="$(TargetRuntimeIdentifier)" />
|
||||
|
||||
<ProjectReference Include="..\..\Framework\ref\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ProjectReference Include="..\..\Framework\App.Ref\src\Microsoft.AspNetCore.App.Ref.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Framework\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ProjectReference Include="..\..\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="..\Microsoft.Web.Xdt.Extensions\src\Microsoft.Web.Xdt.Extensions.csproj" PrivateAssets="All" ReferenceOutputAssembly="False"/>
|
||||
<!-- Make sure redist folder is built and ready -->
|
||||
<ProjectReference Include="..\..\Framework\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ProjectReference Include="..\..\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj">
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
|
||||
</ProjectReference>
|
||||
|
|
|
|||
Loading…
Reference in New Issue