Skip to content

Merge branch release/3.1 --> master #19122

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

Merged
merged 143 commits into from
Feb 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
7fd42c4
Merged PR 3115: Wait to Complete Pipe
BrennanConroy Oct 10, 2019
57e68b0
Merged PR 3557: Revert "Wait to Complete Pipe"
BrennanConroy Oct 11, 2019
2c6456d
[release/3.0] Update dependencies from 4 repositories (#14425)
dotnet-maestro[bot] Oct 29, 2019
5e4320c
Pin NETStandard.Library.Ref (#16710)
mmitche Oct 31, 2019
80ff7fd
Pin Microsoft.NETCore.App.Ref (#16707)
Nov 1, 2019
8757775
[release/3.0] Update dependencies from 2 repositories (#16712)
dotnet-maestro[bot] Nov 1, 2019
0f54cd7
Set new HTTPS environment variable when using out of process (#16724)
jkotalik Nov 1, 2019
b45e247
[release/3.0] Stabilize package versions (#14933)
mmitche Nov 2, 2019
0b713e5
Do not always create targeting pack archive (#16781)
mmitche Nov 4, 2019
22dedcb
Use M.NC.App RefPack version for dotnet targeting pack dependency ver…
wtgodbe Nov 5, 2019
2b2153a
Change how we resolve dotnet in tests (#16934)
BrennanConroy Nov 10, 2019
aff6ee3
Update branding to 3.0.2 (#17219)
Nov 19, 2019
7891c83
Stop paying attention to PatchConfig.props (#16748)
dougbu Nov 19, 2019
4ba64f5
Re-enable signing validation (#13899)
dougbu Nov 19, 2019
0d37794
[release/3.0] Update dependencies from 2 repositories (#17224)
dotnet-maestro[bot] Nov 20, 2019
147f950
Update branding to 2.1.15 (#17273)
Nov 21, 2019
43ca89b
[release/3.0] Update dependencies from dotnet/arcade aspnet/Blazor (#…
dotnet-maestro[bot] Nov 21, 2019
64d3a35
Update EF submodule to head of its 'release/2.2' branch
dougbu Nov 19, 2019
898bf48
Update baselines for 3.0.1 release (#17245)
dougbu Nov 22, 2019
69bf1d9
Merge branches
wtgodbe Nov 22, 2019
0757955
Merged PR 2918: Cancel Sends if they take too long
BrennanConroy Nov 22, 2019
3999eaf
[release/3.0] Update dependencies from 4 repositories (#17283)
dotnet-maestro[bot] Nov 25, 2019
a0183b1
Merged PR 4506: [SignalR] Wait to complete pipe and cancel long sends
BrennanConroy Nov 25, 2019
05d579c
Update ci.yml (#17359)
BrennanConroy Nov 25, 2019
8ad86ee
Remove unused nuget feeds (#16878)
wtgodbe Nov 25, 2019
15c2082
[release/3.0] Update dependencies from aspnet/EntityFrameworkCore (#1…
dotnet-maestro[bot] Nov 26, 2019
e085de4
Remove accidentally duplicated Microsoft.Internal.Extensions.Refs (#1…
mmitche Nov 26, 2019
f495589
Update dependencies from https://github.com/aspnet/EntityFrameworkCor…
dotnet-maestro[bot] Nov 27, 2019
21831b5
Update dependencies from https://github.com/dotnet/arcade build 20191…
dotnet-maestro[bot] Nov 28, 2019
a3aaf16
Merge in 'release/3.1' changes
dotnet-bot Dec 2, 2019
049cdec
Unpin package (#17536)
mmitche Dec 3, 2019
163c80c
Merge in 'release/2.1' changes
dotnet-bot Dec 3, 2019
386ffeb
Merge branch 'release/2.2' => 'release/3.0' (#17319)
dougbu Dec 4, 2019
f992759
Update dependencies from https://github.com/aspnet/Blazor build 20191…
dotnet-maestro[bot] Nov 28, 2019
89aae45
Download runtime from suffixed location in dotnetcli blob storage (#1…
wtgodbe Dec 5, 2019
90aa91a
Merged PR 4684: Merge 'release/3.1' into internal branch
wtgodbe Dec 5, 2019
30be2bd
[release/3.0] Update dependencies from 2 repositories (#17601)
dotnet-maestro[bot] Dec 5, 2019
f6f3f6f
Merge in 'release/3.1' changes
dotnet-bot Dec 5, 2019
598e43a
Merge in 'release/3.1' changes
dotnet-bot Dec 5, 2019
79c2268
Merge in 'release/3.1' changes
dotnet-bot Dec 5, 2019
0fbb780
Merge in 'release/3.1' changes
dotnet-bot Dec 6, 2019
1a577b9
Merge in 'release/3.1' changes
dotnet-bot Dec 6, 2019
cafb50c
[release/3.0] Use Microsoft.NETCore.App.Internal for runtime version …
wtgodbe Dec 6, 2019
24806e5
Update dependencies from https://github.com/dotnet/arcade build 20191…
dotnet-maestro[bot] Dec 9, 2019
6cdd41a
Update to 3.1.100 rtm sdk (#17626)
mmitche Dec 9, 2019
3cfac25
Merge branch 'release/2.1' into release/3.0
Dec 9, 2019
9a4ab80
Merge pull request #17672 from dotnet-maestro-bot/merge/release/2.1-t…
Dec 10, 2019
d0cca8c
Merge in 'release/3.1' changes
dotnet-bot Dec 10, 2019
cf6b502
Improve generation and use of ref/ projects (#17311)
dougbu Dec 11, 2019
7ba7572
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1
dougbu Dec 12, 2019
409ead0
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1
dougbu Dec 12, 2019
7256b35
Update `internal` types and members in *.Manual.cs files
dougbu Dec 12, 2019
3a67489
Add missing `_dummy` and `_dummyPrimitive` fields
dougbu Dec 13, 2019
a11d4b3
Add another CS1705 workaround in test project depending on some .NET …
dougbu Dec 13, 2019
f2f2358
Use fields in a `readonly` `struct`
dougbu Dec 13, 2019
7052bc4
Try ugly fix for LifecycleProperty
wtgodbe Dec 13, 2019
a3358d7
Try ugly fix for LifecycleProperty
wtgodbe Dec 13, 2019
138e801
Remove _dummy/_dummyPrimitive from LifeCycleProperty
wtgodbe Dec 13, 2019
fcb2272
Add dummy target for GetTargetPath to Components.Web.JS.npmproj (#17796)
wtgodbe Dec 13, 2019
e142091
Add StructLayout to LifeCycleProperty
wtgodbe Dec 13, 2019
6ce4719
Fixup nuspecs for TargetingPackPackage/SharedFrameworkPackage
wtgodbe Dec 14, 2019
f89c8d1
Use correct, non-stabilized version to find runtime archive (#17863) …
wtgodbe Dec 14, 2019
95be2bd
Merge in 'release/3.1' changes
dotnet-bot Dec 14, 2019
81bccd1
Merge branch 'release/3.0' => 'release/3.1' #16621
dougbu Dec 14, 2019
0780fb8
Merge in 'release/3.1' changes
dotnet-bot Dec 14, 2019
e6af4bf
[release/3.1] Remove `grpc-nuget-dev` feed
dougbu Dec 14, 2019
f53765f
Merge in 'release/3.1' changes
dotnet-bot Dec 14, 2019
1324674
Merged PR 4703: [internal/release/3.1] Update dependencies from 1 rep…
dotnet-bot Dec 15, 2019
35b9d76
Merged PR 4903: [internal/release/3.1] Update dependencies from 1 rep…
dotnet-bot Dec 16, 2019
e276c81
Merged PR 4906: [release/3.1] Stabilize package versions
mmitche Dec 16, 2019
32de399
Update branding to 3.1.2
Jan 14, 2020
183a09f
Update branding to 2.1.16
Jan 14, 2020
6712203
Update baselines
Jan 15, 2020
0269733
Merge pull request #18205 from dotnet/johluo/2.1-feb20
Jan 15, 2020
a474170
Fix CodeCheck
Jan 15, 2020
eb1150b
Fixup templates
Jan 15, 2020
36e7902
Merge pull request #18151 from dotnet/johluo/feb-branding
Jan 15, 2020
ee57a0c
Use checked-in platform manifest in 3.1.2 (#18250)
wtgodbe Jan 15, 2020
67424e7
Don't use baseline assembly versions for RID-agnostic packages (#17970)
wtgodbe Jan 15, 2020
6ec28e8
Fix setter for CandidateState.Values in reference assembly (#18278)
wtgodbe Jan 15, 2020
164ddfd
Fix flaky LongPolling tests (#14395)
BrennanConroy Jan 15, 2020
8211a1c
[2.1] CookieChunkingManager needs to flow the Secure attribute… (#17953)
Tratcher Jan 15, 2020
ad8ecf9
React to runtime/594 Encoder.Convert change (#17747)
Tratcher Jan 15, 2020
34294a3
Fix TestServer hang with duplex streaming requests (#17158)
JamesNK Jan 15, 2020
cba11d7
Workaround for #18058 (#18213)
ajaybhargavb Jan 15, 2020
b4d2f9a
[Static Web Assets] Allow assets with empty base paths (#17414)
javiercn Jan 15, 2020
9522e1d
Multi-target all shared framework projects with netcoreapp3.1 (#17998)
Jan 15, 2020
89d2640
[release/3.1] Mark Blazor packages as nonshipping (#18357)
wtgodbe Jan 15, 2020
109663e
Send confirmation mails for external accounts
HaoK Jan 8, 2020
cf3bf40
Update PoliCheckExclusions.xml (#17705)
BrennanConroy Jan 15, 2020
4dd0a6c
Merge branch 'release/2.1' into release/3.1
jkotalik Jan 16, 2020
ca56fee
Missed conflicts
jkotalik Jan 16, 2020
93a51f5
Remove version.props
jkotalik Jan 16, 2020
d9ccf23
Final bad conflicts
jkotalik Jan 16, 2020
5dc2d6e
Extend timeout and report failure to WarmUp for template tests (#16759)
ryanbrandenburg Jan 16, 2020
7f53f7e
[Platform] Detect and fix certificates with potentially inaccessible …
javiercn Jan 16, 2020
4682c2a
Test ref pack fix
Jan 16, 2020
8e5767b
[Platform] Detect and fix certificates with potentially inaccessible …
javiercn Jan 16, 2020
6a8ce3a
Add support for IAsyncEnumerable<T> where T is value type (#17154) (#…
pranavkm Jan 16, 2020
405e841
[release/3.1] Update dependencies from dotnet/efcore dotnet/aspnetcor…
dotnet-maestro[bot] Jan 16, 2020
bc7135c
Merge pull request #18369 from dotnet/jkotalik/merge31
Jan 16, 2020
452a822
Added the Blazor survey link to the Blazor-Server project template (#…
mkArtakMSFT Jan 16, 2020
c919c58
Fix patchconfig merge (#18389)
Tratcher Jan 16, 2020
28240ce
Fix flaky HubConnectionHandler test (#18391)
BrennanConroy Jan 16, 2020
cd518e9
Use reference assemblies when compiling Razor views (#18395)
pranavkm Jan 17, 2020
d839d4c
Update dependencies from https://github.com/dotnet/aspnetcore-tooling…
dotnet-maestro[bot] Jan 17, 2020
2dc908d
[automated] Merge branch 'release/2.1' => 'release/3.1' (#18396)
dotnet-maestro-bot Jan 17, 2020
6f88144
Unpin System.Data.SqlClient and pin System.Security.Cryptography.Cng …
mmitche Jan 17, 2020
4fb0a13
Merge remote-tracking branch 'release/2.1' into 'release/3.1'
Tratcher Jan 17, 2020
328b52d
Remove redundant method
Tratcher Jan 17, 2020
14d9ebd
Merge pull request #18423 from dotnet-maestro-bot/merge/release/2.1-t…
wtgodbe Jan 17, 2020
c3acdca
[release/3.1] Update dependencies from dotnet/efcore dotnet/aspnetcor…
dotnet-maestro[bot] Jan 18, 2020
49920aa
Update branding to 3.1.3 (#19015)
wtgodbe Feb 13, 2020
09aadd6
Pin dependency on 3 CoreFx packages (#18542)
wtgodbe Feb 13, 2020
131f427
Don't include ref assembly from Microsoft.AspNetCore.Testing (#18803)
wtgodbe Feb 13, 2020
a6c43b1
Mark AspNetCore projects that aren't packaged explicitly (#18767)
dougbu Feb 13, 2020
d10a352
Remove non-existing dependency in Identity.Specification.Tests (#18790)
Feb 14, 2020
1027e53
Use the analyzer from the SDK when available (#18885)
pranavkm Feb 14, 2020
d7f98bd
Use reference equality to compare model instances in EditContext (#18…
pranavkm Feb 14, 2020
e8d3169
Add an option to enable runtime compilation (#18648)
pranavkm Feb 14, 2020
a633c66
Fix layout of installer help page for non-ENU locales, #18152 (#18246)
joeloff Feb 14, 2020
7fa6d19
Add option to interpret request headers as Latin1 (#18255)
halter73 Feb 14, 2020
d05c9f4
HeaderPropagation: reset AsyncLocal per request (#18300)
alefranz Feb 14, 2020
ba74c35
Build 3.1 site extension (#18568)
BrennanConroy Feb 14, 2020
89ab863
Update Grpc.AspNetCore template reference to 2.27.0 (#18995)
JamesNK Feb 14, 2020
f3e2b4d
Keep Pipe readable after FormPipeReader error (#18939)
halter73 Feb 14, 2020
439f4af
Cache _absoluteRequestTarget when reusing strings (#18547)
halter73 Feb 14, 2020
a085554
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Feb 14, 2020
e29c495
Transfer endpoint metadata from PageActionDescriptor to CompiledPageA…
pranavkm Feb 14, 2020
7fc314f
Use nonshipping package to determine publish location for installers …
wtgodbe Feb 14, 2020
88073f8
Merge branch 'release/3.1' into master
halter73 Feb 18, 2020
b92f423
Todos
ajaybhargavb Feb 18, 2020
f2dd6d4
Add back DownloadFile.cs
ajaybhargavb Feb 18, 2020
607a6b4
Merge branch 'master' into halter73/mega-merge
HaoK Feb 19, 2020
2d066dc
Apply some fixes
BrennanConroy Feb 19, 2020
1e03d57
Merge branch 'master' into halter73/mega-merge
BrennanConroy Feb 19, 2020
e721923
Fix targets file
BrennanConroy Feb 19, 2020
c2ee4ae
Re-enable source build job
dougbu Feb 20, 2020
f1fbb2d
Undo assembly version change for implementation assemblies
dougbu Feb 20, 2020
e27f912
Explicitly map `@(Reference)` to `@(PackageReference)` for Microsoft.…
dougbu Feb 20, 2020
782b7c5
Mark BlazorWasm template as non-shipping and disable its associated test
dougbu Feb 20, 2020
c8bcb96
Revert location change for `_UseHelixOpenQueues` variable
dougbu Feb 20, 2020
3c40c64
Fix template test
BrennanConroy Feb 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
85 changes: 75 additions & 10 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,27 @@ variables:
- name: _DotNetValidationArtifactsCategory
value: .NETCORE
- ${{ if ne(variables['System.TeamProject'], 'internal') }}:
- name: _UseHelixOpenQueues
value: 'true'
- name: _BuildArgs
value: ''
- name: _PublishArgs
value: ''
- name: _SignType
value: ''
- name: _UseHelixOpenQueues
value: 'true'
- name: _InternalRuntimeDownloadArgs
value: ''
- name: _InternalRuntimeDownloadCodeSignArgs
value: ''
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- group: DotNet-MSRC-Storage
- name: _InternalRuntimeDownloadArgs
value: -DotNetRuntimeSourceFeed https://dotnetclimsrc.blob.core.windows.net/dotnet -DotNetRuntimeSourceFeedKey $(dotnetclimsrc-read-sas-token-base64) /p:DotNetAssetRootAccessTokenSuffix='$(dotnetclimsrc-read-sas-token-base64)'
# The code signing doesn't use the aspnet build scripts, so the msbuild parameers have
# to be passed directly. This is awkward, since we pass the same info above, but we have
# to have it in two different forms
- name: _InternalRuntimeDownloadCodeSignArgs
value: /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
- group: DotNet-HelixApi-Access
- name: _UseHelixOpenQueues
value: 'false'
Expand Down Expand Up @@ -68,7 +80,7 @@ variables:
- name: _BuildArgs
value: ''
- name: _SignType
valule: test
value: test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For posterity: This is the change @BrennanConroy really really wants in 'master' branch 😈

- name: _PublishArgs
value: ''
# used for post-build phases, internal builds only
Expand All @@ -86,7 +98,15 @@ stages:
jobDisplayName: Code check
agentOs: Windows
steps:
- powershell: ./eng/scripts/CodeCheck.ps1 -ci
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- task: PowerShell@2
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
- powershell: ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
displayName: Run eng/scripts/CodeCheck.ps1
artifacts:
- name: Code_Check_Logs
Expand All @@ -113,6 +133,14 @@ stages:
# This is intentional to workaround https://github.com/dotnet/arcade/issues/1957 which always re-submits for code-signing, even
# if they have already been signed. This results in slower builds due to re-submitting the same .nupkg many times for signing.
# The sign settings have been configured to
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- task: PowerShell@2
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)

- script: ./build.cmd
-ci
Expand All @@ -122,6 +150,7 @@ stages:
-buildNative
/bl:artifacts/log/build.x64.binlog
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
displayName: Build x64

# Build the x86 shared framework
Expand All @@ -137,6 +166,7 @@ stages:
/p:OnlyPackPlatformSpecificPackages=true
/bl:artifacts/log/build.x86.binlog
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
displayName: Build x86

# This is in a separate build step with -forceCoreMsbuild to workaround MAX_PATH limitations - https://github.com/Microsoft/msbuild/issues/53
Expand All @@ -145,6 +175,7 @@ stages:
-pack
-noBuildDeps
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
condition: ne(variables['Build.Reason'], 'PullRequest')
displayName: Build SiteExtension

Expand All @@ -171,6 +202,7 @@ stages:
/p:AssetManifestFileName=aspnetcore-win-x64-x86.xml
$(_BuildArgs)
$(_PublishArgs)
$(_InternalRuntimeDownloadArgs)
/p:PublishInstallerBaseVersion=true
displayName: Build Installers

Expand Down Expand Up @@ -211,6 +243,7 @@ stages:
/p:AssetManifestFileName=aspnetcore-win-arm.xml
$(_BuildArgs)
$(_PublishArgs)
$(_InternalRuntimeDownloadArgs)
installNodeJs: false
installJdk: false
artifacts:
Expand All @@ -237,6 +270,7 @@ stages:
-p:AssetManifestFileName=aspnetcore-MacOS_x64.xml
$(_BuildArgs)
$(_PublishArgs)
$(_InternalRuntimeDownloadArgs)
installNodeJs: false
installJdk: false
artifacts:
Expand All @@ -257,6 +291,14 @@ stages:
jobDisplayName: "Build: Linux x64"
agentOs: Linux
steps:
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- task: Bash@3
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
- script: ./build.sh
--ci
--arch x64
Expand All @@ -267,6 +309,7 @@ stages:
-p:OnlyPackPlatformSpecificPackages=true
-bl:artifacts/log/build.linux-x64.binlog
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
displayName: Run build.sh
- script: |
git clean -xfd src/**/obj/
Expand All @@ -280,7 +323,8 @@ stages:
-p:BuildRuntimeArchive=false \
-p:LinuxInstallerType=deb \
-bl:artifacts/log/build.deb.binlog \
$(_BuildArgs)
$(_BuildArgs) \
$(_InternalRuntimeDownloadArgs)
displayName: Build Debian installers
- script: |
git clean -xfd src/**/obj/
Expand All @@ -296,7 +340,8 @@ stages:
-bl:artifacts/log/build.rpm.binlog \
-p:AssetManifestFileName=aspnetcore-Linux_x64.xml \
$(_BuildArgs) \
$(_PublishArgs)
$(_PublishArgs) \
$(_InternalRuntimeDownloadArgs)
displayName: Build RPM installers
installNodeJs: false
installJdk: false
Expand Down Expand Up @@ -328,6 +373,7 @@ stages:
-p:AssetManifestFileName=aspnetcore-Linux_arm.xml
$(_BuildArgs)
$(_PublishArgs)
$(_InternalRuntimeDownloadArgs)
installNodeJs: false
installJdk: false
artifacts:
Expand Down Expand Up @@ -358,6 +404,7 @@ stages:
-p:AssetManifestFileName=aspnetcore-Linux_arm64.xml
$(_BuildArgs)
$(_PublishArgs)
$(_InternalRuntimeDownloadArgs)
installNodeJs: false
installJdk: false
artifacts:
Expand Down Expand Up @@ -391,6 +438,7 @@ stages:
-p:AssetManifestFileName=aspnetcore-Linux_musl_x64.xml
$(_BuildArgs)
$(_PublishArgs)
$(_InternalRuntimeDownloadArgs)
installNodeJs: false
installJdk: false
artifacts:
Expand Down Expand Up @@ -424,6 +472,7 @@ stages:
-p:AssetManifestFileName=aspnetcore-Linux_musl_arm64.xml
$(_BuildArgs)
$(_PublishArgs)
$(_InternalRuntimeDownloadArgs)
installNodeJs: false
installJdk: false
artifacts:
Expand All @@ -445,7 +494,7 @@ stages:
jobDisplayName: "Test: Windows Server 2016 x64"
agentOs: Windows
isTestingJob: true
buildArgs: -all -pack -test -BuildNative "/p:SkipHelixReadyTests=true /p:SkipIISNewHandlerTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false"
buildArgs: -all -pack -test -BuildNative "/p:SkipHelixReadyTests=true /p:SkipIISNewHandlerTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false" $(_InternalRuntimeDownloadArgs)
beforeBuild:
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
displayName: Setup IISExpress test certificates and schema
Expand Down Expand Up @@ -481,7 +530,15 @@ stages:
agentOs: Windows
isTestingJob: true
steps:
- script: ./build.cmd -ci -all -pack
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- task: PowerShell@2
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
- script: ./build.cmd -ci -all -pack $(_InternalRuntimeDownloadArgs)
displayName: Build Repo
- script: ./src/ProjectTemplates/build.cmd -ci -pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true /bl:artifacts/log/template.pack.binlog"
displayName: Pack Templates
Expand All @@ -508,7 +565,7 @@ stages:
jobDisplayName: "Test: macOS 10.13"
agentOs: macOS
isTestingJob: true
buildArgs: --all --test "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true"
buildArgs: --all --test "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs)
beforeBuild:
- bash: "./eng/scripts/install-nginx-mac.sh"
displayName: Installing Nginx
Expand Down Expand Up @@ -543,7 +600,7 @@ stages:
jobDisplayName: "Test: Ubuntu 16.04 x64"
agentOs: Linux
isTestingJob: true
buildArgs: --all --test "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true"
buildArgs: --all --test "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs)
beforeBuild:
- bash: "./eng/scripts/install-nginx-linux.sh"
displayName: Installing Nginx
Expand Down Expand Up @@ -656,6 +713,14 @@ stages:
chmod +x $HOME/bin/jq
echo "##vso[task.prependpath]$HOME/bin"
displayName: Install jq
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- task: Bash@3
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
- script: ./eng/scripts/ci-source-build.sh --ci --configuration Release /p:BuildManaged=true /p:BuildNodeJs=false
displayName: Run ci-source-build.sh
- task: PublishBuildArtifacts@1
Expand Down
9 changes: 9 additions & 0 deletions .azure/pipelines/jobs/codesign-xplat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
contents: '**/*.nupkg'
targetFolder: $(Build.SourcesDirectory)/artifacts/packages/$(BuildConfiguration)/shipping/
flattenFolders: true
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- task: PowerShell@2
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
- powershell: .\eng\common\build.ps1
-ci
-restore
Expand All @@ -39,6 +47,7 @@ jobs:
/p:DotNetSignType=$(_SignType)
$(_BuildArgs)
$(_PublishArgs)
$(_InternalRuntimeDownloadCodeSignArgs)
displayName: Sign and publish packages
artifacts:
- name: CodeSign_Xplat_${{ parameters.inputName }}_Logs
Expand Down
18 changes: 18 additions & 0 deletions .azure/pipelines/jobs/default-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,24 @@ jobs:
- ${{ if ne(parameters.steps, '')}}:
- ${{ parameters.steps }}
- ${{ if eq(parameters.steps, '')}}:
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- ${{ if eq(parameters.agentOs, 'Windows') }}:
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- task: PowerShell@2
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
- ${{ if ne(parameters.agentOs, 'Windows') }}:
- task: Bash@3
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this block need to be duplicated in ci.yml for anything but the source build job? (That one doesn't use this template.)

- ${{ if eq(parameters.buildScript, '') }}:
- ${{ if eq(parameters.agentOs, 'Windows') }}:
- script: .\$(BuildDirectory)\build.cmd -ci /p:DotNetSignType=$(_SignType) -Configuration $(BuildConfiguration) $(BuildScriptArgs)
Expand Down
8 changes: 5 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@
<RuntimeInstallerBaseName>aspnetcore-runtime</RuntimeInstallerBaseName>
<TargetingPackInstallerBaseName>aspnetcore-targeting-pack</TargetingPackInstallerBaseName>

<!-- Used to only produce targeting pack installers/packages once per major.minor. -->
<IsTargetingPackBuilding Condition="'$(AspNetCorePatchVersion)' != '0' OR '$(DotNetBuildFromSource)' == 'true'">false</IsTargetingPackBuilding>
<!-- Produce targeting pack installers/packages once per major.minor. -->
<IsTargetingPackBuilding Condition=" '$(DotNetBuildFromSource)' == 'true' ">false</IsTargetingPackBuilding>
<IsTargetingPackBuilding
Condition=" '$(IsTargetingPackBuilding)' == '' AND '$(AspNetCorePatchVersion)' != '0' ">false</IsTargetingPackBuilding>
<IsTargetingPackBuilding Condition=" '$(IsTargetingPackBuilding)' == '' ">true</IsTargetingPackBuilding>

<!--
Archives and installers using this prefix are intended for internal-use only.
Expand Down Expand Up @@ -179,7 +182,6 @@

<Import Project="eng\Workarounds.props" />
<Import Project="eng\Dependencies.props" />
<Import Project="eng\PatchConfig.props" />
<Import Project="eng\ProjectReferences.props" />
<Import Project="eng\SharedFramework.Local.props" />
<Import Project="eng\SharedFramework.External.props" />
Expand Down
Loading