Skip to content

Commit feab05f

Browse files
dotnet-botmmitche
authored andcommitted
Merged PR 4747: [internal/release/3.0] Update dependencies from 1 repositories
This pull request updates the following dependencies [marker]: <> (Begin:24caa7fc-346f-47b4-c5c6-08d76fa9c820) ## From https://github.com/aspnet/EntityFrameworkCore - **Build**: 20191208.3 - **Date Produced**: 12/8/2019 4:22 PM - **Commit**: cd16513c90c11170f43057c9af5c75363837a742 - **Branch**: refs/heads/internal/release/3.0 - **Updates**: - **Microsoft.EntityFrameworkCore.Tools** -> 3.0.2-servicing.19608.3 - **Microsoft.EntityFrameworkCore.SqlServer** -> 3.0.2-servicing.19608.3 - **dotnet-ef** -> 3.0.2-servicing.19608.3 - **Microsoft.EntityFrameworkCore** -> 3.0.2-servicing.19608.3 - **Microsoft.EntityFrameworkCore.InMemory** -> 3.0.2-servicing.19608.3 - **Microsoft.EntityFrameworkCore.Relational** -> 3.0.2-servicing.19608.3 - **Microsoft.EntityFrameworkCore.Sqlite** -> 3.0.2-servicing.19608.3 [marker]: <> (End:24caa7fc-346f-47b4-c5c6-08d76fa9c820) [marker]: <> (Begin:Coherency Updates) ## Coherency Updates The following updates ensure that dependencies with a *CoherentParentDependency* attribute were produced in a build used as input to the parent dependency's build. See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview) - **System.Drawing.Common** -> 4.6.0 (parent: Microsoft.NETCore.App.Runtime.win-x64) - **Microsoft.NETCore.Platforms** -> 3.0.0 (parent: Microsoft.NETCore.App.Runtime.win-x64) [marker]: <> (End:Coherency Updates)
1 parent 2fb8356 commit feab05f

File tree

14 files changed

+652
-336
lines changed

14 files changed

+652
-336
lines changed

.azure/pipelines/ci.yml

Lines changed: 73 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ variables:
3838
value: ''
3939
- name: _SignType
4040
value: ''
41+
- name: _InternalRuntimeDownloadArgs
42+
value: ''
43+
- name: _InternalRuntimeDownloadCodeSignArgs
44+
value: ''
45+
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
46+
- group: DotNet-MSRC-Storage
47+
- name: _InternalRuntimeDownloadArgs
48+
value: -DotNetRuntimeSourceFeed https://dotnetclimsrc.blob.core.windows.net/dotnet -DotNetRuntimeSourceFeedKey $(dotnetclimsrc-read-sas-token-base64) /p:DotNetAssetRootAccessTokenSuffix='$(dotnetclimsrc-read-sas-token-base64)'
49+
# The code signing doesn't use the aspnet build scripts, so the msbuild parameers have
50+
# to be passed directly. This is awkward, since we pass the same info above, but we have
51+
# to have it in two different forms
52+
- name: _InternalRuntimeDownloadCodeSignArgs
53+
value: /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
4154
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
4255
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
4356
# DotNet-Blob-Feed provides: dotnetfeed-storage-access-key-1
@@ -78,7 +91,15 @@ stages:
7891
jobDisplayName: Code check
7992
agentOs: Windows
8093
steps:
81-
- powershell: ./eng/scripts/CodeCheck.ps1 -ci
94+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
95+
- task: PowerShell@2
96+
displayName: Setup Private Feeds Credentials
97+
inputs:
98+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
99+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
100+
env:
101+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
102+
- powershell: ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
82103
displayName: Run eng/scripts/CodeCheck.ps1
83104
artifacts:
84105
- name: Code_Check_Logs
@@ -104,6 +125,14 @@ stages:
104125
# This is intentional to workaround https://github.com/dotnet/arcade/issues/1957 which always re-submits for code-signing, even
105126
# if they have already been signed. This results in slower builds due to re-submitting the same .nupkg many times for signing.
106127
# The sign settings have been configured to
128+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
129+
- task: PowerShell@2
130+
displayName: Setup Private Feeds Credentials
131+
inputs:
132+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
133+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
134+
env:
135+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
107136

108137
- script: ./build.cmd
109138
-ci
@@ -113,6 +142,7 @@ stages:
113142
-buildNative
114143
/bl:artifacts/log/build.x64.binlog
115144
$(_BuildArgs)
145+
$(_InternalRuntimeDownloadArgs)
116146
displayName: Build x64
117147

118148
# Build the x86 shared framework
@@ -128,6 +158,7 @@ stages:
128158
/p:OnlyPackPlatformSpecificPackages=true
129159
/bl:artifacts/log/build.x86.binlog
130160
$(_BuildArgs)
161+
$(_InternalRuntimeDownloadArgs)
131162
displayName: Build x86
132163

133164
# This is in a separate build step with -forceCoreMsbuild to workaround MAX_PATH limitations - https://github.com/Microsoft/msbuild/issues/53
@@ -136,6 +167,7 @@ stages:
136167
-pack
137168
-noBuildDeps
138169
$(_BuildArgs)
170+
$(_InternalRuntimeDownloadArgs)
139171
displayName: Build SiteExtension
140172

141173
# This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If https://github.com/dotnet/arcade/issues/1957 is resolved,
@@ -161,6 +193,7 @@ stages:
161193
/p:AssetManifestFileName=aspnetcore-win-x64-x86.xml
162194
$(_BuildArgs)
163195
$(_PublishArgs)
196+
$(_InternalRuntimeDownloadArgs)
164197
/p:PublishInstallerBaseVersion=true
165198
displayName: Build Installers
166199

@@ -190,6 +223,7 @@ stages:
190223
/p:AssetManifestFileName=aspnetcore-win-arm.xml
191224
$(_BuildArgs)
192225
$(_PublishArgs)
226+
$(_InternalRuntimeDownloadArgs)
193227
installNodeJs: false
194228
installJdk: false
195229
artifacts:
@@ -215,6 +249,7 @@ stages:
215249
-p:AssetManifestFileName=aspnetcore-MacOS_x64.xml
216250
$(_BuildArgs)
217251
$(_PublishArgs)
252+
$(_InternalRuntimeDownloadArgs)
218253
installNodeJs: false
219254
installJdk: false
220255
artifacts:
@@ -234,6 +269,14 @@ stages:
234269
jobDisplayName: "Build: Linux x64"
235270
agentOs: Linux
236271
steps:
272+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
273+
- task: Bash@3
274+
displayName: Setup Private Feeds Credentials
275+
inputs:
276+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
277+
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
278+
env:
279+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
237280
- script: ./build.sh
238281
--ci
239282
--arch x64
@@ -244,6 +287,7 @@ stages:
244287
-p:OnlyPackPlatformSpecificPackages=true
245288
-bl:artifacts/log/build.linux-x64.binlog
246289
$(_BuildArgs)
290+
$(_InternalRuntimeDownloadArgs)
247291
displayName: Run build.sh
248292
- script: |
249293
git clean -xfd src/**/obj/
@@ -257,7 +301,8 @@ stages:
257301
-p:BuildRuntimeArchive=false \
258302
-p:LinuxInstallerType=deb \
259303
-bl:artifacts/log/build.deb.binlog \
260-
$(_BuildArgs)
304+
$(_BuildArgs) \
305+
$(_InternalRuntimeDownloadArgs)
261306
displayName: Build Debian installers
262307
- script: |
263308
git clean -xfd src/**/obj/
@@ -273,7 +318,8 @@ stages:
273318
-bl:artifacts/log/build.rpm.binlog \
274319
-p:AssetManifestFileName=aspnetcore-Linux_x64.xml \
275320
$(_BuildArgs) \
276-
$(_PublishArgs)
321+
$(_PublishArgs) \
322+
$(_InternalRuntimeDownloadArgs)
277323
displayName: Build RPM installers
278324
installNodeJs: false
279325
installJdk: false
@@ -304,6 +350,7 @@ stages:
304350
-p:AssetManifestFileName=aspnetcore-Linux_arm.xml
305351
$(_BuildArgs)
306352
$(_PublishArgs)
353+
$(_InternalRuntimeDownloadArgs)
307354
installNodeJs: false
308355
installJdk: false
309356
artifacts:
@@ -333,6 +380,7 @@ stages:
333380
-p:AssetManifestFileName=aspnetcore-Linux_arm64.xml
334381
$(_BuildArgs)
335382
$(_PublishArgs)
383+
$(_InternalRuntimeDownloadArgs)
336384
installNodeJs: false
337385
installJdk: false
338386
artifacts:
@@ -365,6 +413,7 @@ stages:
365413
-p:AssetManifestFileName=aspnetcore-Linux_musl_x64.xml
366414
$(_BuildArgs)
367415
$(_PublishArgs)
416+
$(_InternalRuntimeDownloadArgs)
368417
installNodeJs: false
369418
installJdk: false
370419
artifacts:
@@ -397,6 +446,7 @@ stages:
397446
-p:AssetManifestFileName=aspnetcore-Linux_musl_arm64.xml
398447
$(_BuildArgs)
399448
$(_PublishArgs)
449+
$(_InternalRuntimeDownloadArgs)
400450
installNodeJs: false
401451
installJdk: false
402452
artifacts:
@@ -417,7 +467,7 @@ stages:
417467
jobDisplayName: "Test: Windows Server 2016 x64"
418468
agentOs: Windows
419469
isTestingJob: true
420-
buildArgs: -all -pack -test -BuildNative "/p:SkipIISNewHandlerTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false"
470+
buildArgs: -all -pack -test -BuildNative "/p:SkipIISNewHandlerTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false" $(_InternalRuntimeDownloadArgs)
421471
beforeBuild:
422472
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
423473
displayName: Setup IISExpress test certificates and schema
@@ -441,7 +491,15 @@ stages:
441491
agentOs: Windows
442492
isTestingJob: true
443493
steps:
444-
- script: ./build.cmd -ci -all -pack
494+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
495+
- task: PowerShell@2
496+
displayName: Setup Private Feeds Credentials
497+
inputs:
498+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
499+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
500+
env:
501+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
502+
- script: ./build.cmd -ci -all -pack $(_InternalRuntimeDownloadArgs)
445503
displayName: Build Repo
446504
- script: ./src/ProjectTemplates/build.cmd -ci -pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true /bl:artifacts/log/template.pack.binlog"
447505
displayName: Pack Templates
@@ -462,7 +520,7 @@ stages:
462520
jobDisplayName: "Test: macOS 10.13"
463521
agentOs: macOS
464522
isTestingJob: true
465-
buildArgs: --all --test "/p:RunTemplateTests=false"
523+
buildArgs: --all --test "/p:RunTemplateTests=false" $(_InternalRuntimeDownloadArgs)
466524
beforeBuild:
467525
- bash: "./eng/scripts/install-nginx-mac.sh"
468526
displayName: Installing Nginx
@@ -489,7 +547,7 @@ stages:
489547
jobDisplayName: "Test: Ubuntu 16.04 x64"
490548
agentOs: Linux
491549
isTestingJob: true
492-
buildArgs: --all --test "/p:RunTemplateTests=false"
550+
buildArgs: --all --test "/p:RunTemplateTests=false" $(_InternalRuntimeDownloadArgs)
493551
beforeBuild:
494552
- bash: "./eng/scripts/install-nginx-linux.sh"
495553
displayName: Installing Nginx
@@ -539,6 +597,14 @@ stages:
539597
version: 3.0.100
540598
installationPath: $(DotNetCoreSdkDir)
541599
includePreviewVersions: true
600+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
601+
- task: Bash@3
602+
displayName: Setup Private Feeds Credentials
603+
inputs:
604+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
605+
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
606+
env:
607+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
542608
- script: ./eng/scripts/ci-source-build.sh --ci --configuration Release /p:BuildManaged=true /p:BuildNodeJs=false
543609
displayName: Run ci-source-build.sh
544610
- task: PublishBuildArtifacts@1

.azure/pipelines/jobs/codesign-xplat.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ jobs:
2828
contents: '**/*.nupkg'
2929
targetFolder: $(Build.SourcesDirectory)/artifacts/packages/$(BuildConfiguration)/shipping/
3030
flattenFolders: true
31+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
32+
- task: PowerShell@2
33+
displayName: Setup Private Feeds Credentials
34+
inputs:
35+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
36+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
37+
env:
38+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
3139
- powershell: .\eng\common\build.ps1
3240
-ci
3341
-restore
@@ -39,6 +47,7 @@ jobs:
3947
/p:DotNetSignType=$(_SignType)
4048
$(_BuildArgs)
4149
$(_PublishArgs)
50+
$(_InternalRuntimeDownloadCodeSignArgs)
4251
displayName: Sign and publish packages
4352
artifacts:
4453
- name: CodeSign_Xplat_${{ parameters.inputName }}_Logs

.azure/pipelines/jobs/default-build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,24 @@ jobs:
156156
- ${{ if ne(parameters.steps, '')}}:
157157
- ${{ parameters.steps }}
158158
- ${{ if eq(parameters.steps, '')}}:
159+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
160+
- ${{ if eq(parameters.agentOs, 'Windows') }}:
161+
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
162+
- task: PowerShell@2
163+
displayName: Setup Private Feeds Credentials
164+
inputs:
165+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
166+
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
167+
env:
168+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
169+
- ${{ if ne(parameters.agentOs, 'Windows') }}:
170+
- task: Bash@3
171+
displayName: Setup Private Feeds Credentials
172+
inputs:
173+
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
174+
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
175+
env:
176+
Token: $(dn-bot-dnceng-artifact-feeds-rw)
159177
- ${{ if eq(parameters.buildScript, '') }}:
160178
- ${{ if eq(parameters.agentOs, 'Windows') }}:
161179
- script: .\$(BuildDirectory)\build.cmd -ci /p:DotNetSignType=$(_SignType) -Configuration $(BuildConfiguration) $(BuildScriptArgs)

NuGet.config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44
<clear />
55
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
66
<add key="darc-pub-dotnet-core-setup-7d57652" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-core-setup-7d57652f/nuget/v3/index.json" />
7+
<add key="darc-pub-dotnet-corefx-e14c43e" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-corefx-e14c43ea/nuget/v3/index.json" />
78
<add key="darc-pub-dotnet-corefx-4ac4c03" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-corefx-4ac4c036/nuget/v3/index.json" />
9+
<add key="darc-int-dotnet-core-setup-a2c3406" value="https://pkgs.dev.azure.com/dnceng/_packaging/darc-int-dotnet-core-setup-a2c3406f/nuget/v3/index.json" />
10+
<add key="darc-int-aspnet-Extensions-63e13de" value="https://pkgs.dev.azure.com/dnceng/_packaging/darc-int-aspnet-Extensions-63e13dee/nuget/v3/index.json" />
11+
<add key="darc-int-aspnet-EntityFrameworkCore-81030a9" value="https://pkgs.dev.azure.com/dnceng/_packaging/darc-int-aspnet-EntityFrameworkCore-81030a95/nuget/v3/index.json" />
812
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
913
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
1014
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
1115
<add key="dotnet3" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3/nuget/v3/index.json" />
1216
<add key="dotnet3-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3-transport/nuget/v3/index.json" />
13-
<add key="grpc-nuget-dev" value="https://grpc.jfrog.io/grpc/api/nuget/v3/grpc-nuget-dev" />
1417
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
1518
</packageSources>
1619
</configuration>

build.ps1

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ MSBuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]
7777
.PARAMETER MSBuildArguments
7878
Additional MSBuild arguments to be passed through.
7979
80+
.PARAMETER DotNetRuntimeSourceFeed
81+
Additional feed that can be used when downloading .NET runtimes
82+
83+
.PARAMETER DotNetRuntimeSourceFeedKey
84+
Key for feed that can be used when downloading .NET runtimes
85+
8086
.EXAMPLE
8187
Building both native and managed projects.
8288
@@ -151,6 +157,11 @@ param(
151157

152158
# Other lifecycle targets
153159
[switch]$Help, # Show help
160+
161+
# Optional arguments that enable downloading an internal
162+
# runtime or runtime from a non-default location
163+
[string]$DotNetRuntimeSourceFeed,
164+
[string]$DotNetRuntimeSourceFeedKey,
154165

155166
# Capture the rest
156167
[Parameter(ValueFromRemainingArguments = $true)]
@@ -251,6 +262,16 @@ if (-not $Configuration) {
251262
}
252263
$MSBuildArguments += "/p:Configuration=$Configuration"
253264

265+
[string[]]$ToolsetBuildArguments = @()
266+
if ($DotNetRuntimeSourceFeed -or $DotNetRuntimeSourceFeedKey) {
267+
$runtimeFeedArg = "/p:DotNetRuntimeSourceFeed=$DotNetRuntimeSourceFeed"
268+
$runtimeFeedKeyArg = "/p:DotNetRuntimeSourceFeedKey=$DotNetRuntimeSourceFeedKey"
269+
$MSBuildArguments += $runtimeFeedArg
270+
$MSBuildArguments += $runtimeFeedKeyArg
271+
$ToolsetBuildArguments += $runtimeFeedArg
272+
$ToolsetBuildArguments += $runtimeFeedKeyArg
273+
}
274+
254275
$foundJdk = $false
255276
$javac = Get-Command javac -ErrorAction Ignore -CommandType Application
256277
$localJdkPath = "$PSScriptRoot\.tools\jdk\win-x64\"
@@ -375,7 +396,8 @@ try {
375396
/p:Configuration=Release `
376397
/p:Restore=$RunRestore `
377398
/p:Build=true `
378-
/clp:NoSummary
399+
/clp:NoSummary `
400+
@ToolsetBuildArguments
379401
}
380402

381403
MSBuild $toolsetBuildProj `

0 commit comments

Comments
 (0)