-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Merge blazor-wasm in to master #22296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
fd9f203
1238c85
074f8fa
fb50111
75ca750
52f4636
04b4602
8fb412e
e0fe30c
4628dfb
0dbb01b
07098b3
c935e9a
e521205
31f63d9
92409e2
d90f5ef
52c4598
0e155fd
38f3267
1dfbe75
ffc7279
6342a81
2f6938e
09ee6a7
c39bc6a
e9ccd7f
6a85855
06def5c
c5f5325
9ded8e1
4715de4
0541e19
c9c06f5
6fe946e
7ba8d06
e8d2d56
9c16db3
226f461
461051e
bfcf72d
34b165a
20a5d7a
d8ff274
74cd830
190e323
f3633f3
a52e708
b2d01f8
90d7d0b
d9ed516
4319bbf
eed3605
2b72b63
252576d
0216ca2
555cf52
b65cec0
573a8a8
20f9180
f9dc9c3
085f6e1
fee14d8
601d58b
f34b8b7
12238a9
4c8a174
98cd3ab
54a6399
e15e1c2
f4446f3
e5cd390
28c44ce
63e8089
a4cca73
b02978e
e40fc36
247c0dd
d73925a
9f49048
112e3f1
59a92c8
ce58840
adc81c9
37a05ba
810a9fa
4e48bef
4741da1
6833fac
a0c76e5
064f156
58bbbb7
70f8666
df97e3a
72d1a91
a1faa16
297d497
823082d
0006fdf
147c392
2e9bb2f
343816f
9343d2b
f1b812e
614ac8e
9078b35
f64fcc0
e2b574c
0582767
c37f3fe
49bf3bb
cb29366
56d22a8
a700aa9
dbe6302
4339397
c7d3c1f
4b36083
ba2bae8
e6078c4
163d90b
6fad3d3
3ba4cbf
47536a3
383a4eb
7e62656
4ab628f
9f9783c
b9d7772
bbe9cca
de2fa4c
263cf0b
c93389f
3e07040
b0a95d0
cb6858f
82d05ae
45eb039
35d7da8
18a196b
c379bae
56b944f
07b12fe
78534e5
248b31e
fa2db44
df1252a
cba5387
87539a8
c877f88
05ee136
aeff119
5285c5e
a8bd551
ae569e2
dd2f0c9
113cb54
a949421
0c614ff
a7c2d25
861e88c
a127eb8
1b2cb0b
b906b10
41a9588
e67e7a0
fd9c786
8232c6a
351eba7
c2afc70
96e70eb
3224092
f34ef73
93eec70
43bd9db
c4703ac
294c2cf
4a2b5a5
cc04078
546b520
0dda642
17b4bc2
0599068
1e70883
38285eb
b289633
f3a1fb6
9dda113
468af97
3fbb2f0
fc38f9e
d03c3b2
87050c9
4c312e1
ad72586
b2c88e9
840d806
50a2527
80bc4c4
353641b
fcb96b6
e95264f
03068c9
8f12519
ad5b64f
d2ee131
790ac27
afeadef
f393c74
089bb4a
2bd662f
202d214
6c23730
2612ec8
b8f7dde
25f89e2
98bbb3b
5dc5f6c
df332c2
7cb9b7f
5da3146
40f0cdf
3f31c8d
7fd744e
a3bbe2f
b837ebf
b67a903
9cb92db
4438f33
147f575
2a97de0
22d4dcd
cc2b64e
9e412f4
4f5bf16
4e7665a
2ca2a2d
e07b939
22522a0
158126c
8966415
bb0f54f
8efeefb
9949ab4
ae2017f
8100720
53edc76
0394a45
4c50b6c
592dfe1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# 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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"isRoot": true, | ||
"tools": { | ||
"dotnet-serve": { | ||
"version": "1.5.0", | ||
"version": "1.7.125", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This version supports assigning dotnet-serve a random port. |
||
"commands": [ | ||
"dotnet-serve" | ||
] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.4" /> | ||
<Package Id="Microsoft.Authentication.WebAssembly.Msal" Version="3.2.0" /> | ||
<Package Id="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Version="3.1.4" /> | ||
<Package Id="Microsoft.AspNetCore.App.Runtime.win-x64" Version="3.1.4" /> | ||
<Package Id="Microsoft.AspNetCore.Authentication.AzureAD.UI" Version="3.1.4" /> | ||
|
@@ -36,6 +37,12 @@ Update this list when preparing for a new patch. | |
<Package Id="Microsoft.AspNetCore.Components.Authorization" Version="3.1.4" /> | ||
<Package Id="Microsoft.AspNetCore.Components.Forms" Version="3.1.4" /> | ||
<Package Id="Microsoft.AspNetCore.Components.Web" Version="3.1.4" /> | ||
<Package Id="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can the 3.2.0-preview1 versions above be removed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. Let me get this in and I'll follow up with a clean up |
||
<Package Id="Microsoft.AspNetCore.Components.WebAssembly.Build" Version="3.2.0" /> | ||
<Package Id="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="3.2.0" /> | ||
<Package Id="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="3.2.0" /> | ||
<Package Id="Microsoft.AspNetCore.Components.WebAssembly.HttpHandler" Version="3.2.0" /> | ||
<Package Id="Microsoft.JSInterop.WebAssembly" Version="3.2.0" /> | ||
<Package Id="Microsoft.AspNetCore.ConcurrencyLimiter" Version="3.1.4" /> | ||
<Package Id="Microsoft.AspNetCore.Connections.Abstractions" Version="3.1.4" /> | ||
<Package Id="Microsoft.AspNetCore.Cryptography.Internal" Version="3.1.4" /> | ||
|
@@ -86,4 +93,4 @@ Update this list when preparing for a new patch. | |
<Package Id="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="3.1.4" /> | ||
<Package Id="Microsoft.Extensions.Identity.Core" Version="3.1.4" /> | ||
<Package Id="Microsoft.Extensions.Identity.Stores" Version="3.1.4" /> | ||
</Baseline> | ||
</Baseline> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,9 @@ | |
--> | ||
<Dependencies> | ||
<ProductDependencies> | ||
<Dependency Name="Microsoft.AspNetCore.Blazor.Mono" Version="3.2.0-preview1.20067.1"> | ||
<Dependency Name="Microsoft.AspNetCore.Components.WebAssembly.Runtime" Version="3.2.0"> | ||
<Uri>https://github.com/dotnet/blazor</Uri> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When will dotnet/blazor no longer be used? |
||
<Sha>dd7fb4d3931d556458f62642c2edfc59f6295bfb</Sha> | ||
<Sha>cc449601d638ffaab58ae9487f0fd010bb178a12</Sha> | ||
</Dependency> | ||
<Dependency Name="dotnet-ef" Version="5.0.0-preview.6.20276.2"> | ||
<Uri>https://github.com/dotnet/efcore</Uri> | ||
|
@@ -205,6 +205,10 @@ | |
<Uri>https://github.com/dotnet/runtime</Uri> | ||
<Sha>c44dc40b763b7c74012622a0a6120cd8ffa35ce4</Sha> | ||
</Dependency> | ||
<Dependency Name="System.Net.Http.Json" Version="5.0.0-preview.6.20271.10"> | ||
<Uri>https://github.com/dotnet/runtime</Uri> | ||
<Sha>66409e392d64ed96e5d3a5fda712d9baf51196ed</Sha> | ||
</Dependency> | ||
<Dependency Name="System.Net.Http.WinHttpHandler" Version="5.0.0-preview.6.20271.10"> | ||
<Uri>https://github.com/dotnet/runtime</Uri> | ||
<Sha>c44dc40b763b7c74012622a0a6120cd8ffa35ce4</Sha> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,12 @@ | |
], | ||
"dotnet/x86": [ | ||
"$(MicrosoftNETCoreAppInternalPackageVersion)" | ||
], | ||
"aspnetcore/x64": [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dotnet-serve doesn't roll forward to a 5.0 runtime. |
||
"3.1.0" | ||
], | ||
"aspnetcore/x86": [ | ||
"3.1.0" | ||
] | ||
}, | ||
"Git": "2.22.0", | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scheduled triggers are supported in YAML. Suggest folllowing up to move the configuration from AzDO to here and to explicitly exlude other executions of this pipeline e.g.