Skip to content

Commit eee5a7b

Browse files
authored
Merge pull request #44949 from vseanreesermsft/internal-merge-7.0-2022-11-08-1118
Merging internal commits for release/7.0
2 parents 7b02f8c + 905fdae commit eee5a7b

File tree

14 files changed

+868
-967
lines changed

14 files changed

+868
-967
lines changed

.azure/pipelines/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,17 @@ variables:
132132
- name: _InternalRuntimeDownloadCodeSignArgs
133133
value: ''
134134
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
135-
- group: DotNet-MSRC-Storage
135+
- group: DotNetBuilds storage account read tokens
136136
- name: _InternalRuntimeDownloadArgs
137-
value: -RuntimeSourceFeed https://dotnetclimsrc.blob.core.windows.net/dotnet
138-
-RuntimeSourceFeedKey $(dotnetclimsrc-read-sas-token-base64)
139-
/p:DotNetAssetRootAccessTokenSuffix='$(dotnetclimsrc-read-sas-token-base64)'
137+
value: -RuntimeSourceFeed https://dotnetbuilds.blob.core.windows.net/internal
138+
-RuntimeSourceFeedKey $(dotnetbuilds-internal-container-read-token-base64)
139+
/p:DotNetAssetRootAccessTokenSuffix='$(dotnetbuilds-internal-container-read-token-base64)'
140140
# The code signing doesn't use the aspnet build scripts, so the msbuild parameters have to be passed directly. This
141141
# is awkward but necessary because the eng/common/ build scripts don't add the msbuild properties automatically.
142142
- name: _InternalRuntimeDownloadCodeSignArgs
143143
value: $(_InternalRuntimeDownloadArgs)
144-
/p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet
145-
/p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
144+
/p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal
145+
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
146146
- group: DotNet-HelixApi-Access
147147
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
148148
- name: _SignType
@@ -489,13 +489,13 @@ stages:
489489
$(_InternalRuntimeDownloadArgs)
490490
displayName: Run build.sh
491491
- script: git clean -xfd src/**/obj/;
492-
./dockerbuild.sh bionic --ci --nobl --arch x64 --build-installers --no-build-deps --no-build-nodejs
492+
./dockerbuild.sh bionic --ci --nobl --arch x64 --build-installers --no-build-deps --no-build-nodejs --init-nuget
493493
-p:OnlyPackPlatformSpecificPackages=true -p:BuildRuntimeArchive=false -p:LinuxInstallerType=deb
494494
$(_BuildArgs)
495495
$(_InternalRuntimeDownloadArgs)
496496
displayName: Build Debian installers
497497
- script: git clean -xfd src/**/obj/;
498-
./dockerbuild.sh rhel --ci --nobl --arch x64 --build-installers --no-build-deps --no-build-nodejs
498+
./dockerbuild.sh rhel --ci --nobl --arch x64 --build-installers --no-build-deps --no-build-nodejs --init-nuget
499499
-p:OnlyPackPlatformSpecificPackages=true -p:BuildRuntimeArchive=false -p:LinuxInstallerType=rpm
500500
-p:AssetManifestFileName=aspnetcore-Linux_x64.xml
501501
$(_BuildArgs)
@@ -568,7 +568,7 @@ stages:
568568
$(_InternalRuntimeDownloadArgs)
569569
displayName: Run build.sh
570570
- script: git clean -xfd src/**/obj/;
571-
./dockerbuild.sh rhel --ci --nobl --arch arm64 --build-installers --no-build-deps --no-build-nodejs
571+
./dockerbuild.sh rhel --ci --nobl --arch arm64 --build-installers --no-build-deps --no-build-nodejs --init-nuget
572572
-p:OnlyPackPlatformSpecificPackages=true -p:BuildRuntimeArchive=false -p:LinuxInstallerType=rpm
573573
-p:AssetManifestFileName=aspnetcore-Linux_arm64.xml
574574
$(_BuildArgs)
@@ -797,7 +797,7 @@ stages:
797797
platform:
798798
name: 'Managed'
799799
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8-20220809204800-17a4aab'
800-
buildScript: './eng/build.sh $(_PublishArgs) --no-build-repo-tasks'
800+
buildScript: './eng/build.sh $(_PublishArgs) --no-build-repo-tasks $(_InternalRuntimeDownloadArgs)'
801801
skipPublishValidation: true
802802
timeoutInMinutes: 120
803803

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ jobs:
250250
# Include the variables we always want.
251251
COMPlus_DbgEnableMiniDump: 1
252252
COMPlus_DbgMiniDumpName: "$(System.DefaultWorkingDirectory)/dotnet-%d.%t.core"
253+
DotNetBuildsInternalReadSasToken: $(dotnetbuilds-internal-container-read-token)
253254
# Expand provided `env:` properties, if any.
254255
${{ if step.env }}:
255256
${{ step.env }}
@@ -261,12 +262,14 @@ jobs:
261262
env:
262263
COMPlus_DbgEnableMiniDump: 1
263264
COMPlus_DbgMiniDumpName: "$(System.DefaultWorkingDirectory)/dotnet-%d.%t.core"
265+
DotNetBuildsInternalReadSasToken: $(dotnetbuilds-internal-container-read-token)
264266
- ${{ if ne(parameters.agentOs, 'Windows') }}:
265267
- script: $(BuildDirectory)/build.sh --ci --nobl --configuration $(BuildConfiguration) $(BuildScriptArgs)
266268
displayName: Run build.sh
267269
env:
268270
COMPlus_DbgEnableMiniDump: 1
269271
COMPlus_DbgMiniDumpName: "$(System.DefaultWorkingDirectory)/dotnet-%d.%t.core"
272+
DotNetBuildsInternalReadSasToken: $(dotnetbuilds-internal-container-read-token)
270273

271274
- ${{ parameters.afterBuild }}
272275

NuGet.config

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<clear />
55
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
66
<!-- Begin: Package sources from dotnet-efcore -->
7-
<add key="darc-pub-dotnet-efcore-1f5aa6c" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-efcore-1f5aa6c6/nuget/v3/index.json" />
7+
<add key="darc-int-dotnet-efcore-865c6a8" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-efcore-865c6a89/nuget/v3/index.json" />
88
<!-- End: Package sources from dotnet-efcore -->
99
<!-- Begin: Package sources from dotnet-runtime -->
10-
<add key="darc-pub-dotnet-runtime-cd2d837" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-cd2d8379/nuget/v3/index.json" />
10+
<add key="darc-int-dotnet-runtime-d099f07" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-d099f075/nuget/v3/index.json" />
1111
<!-- End: Package sources from dotnet-runtime -->
1212
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
1313
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
@@ -24,5 +24,13 @@
2424
</packageSources>
2525
<disabledPackageSources>
2626
<clear />
27+
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
28+
<!-- Begin: Package sources from dotnet-efcore -->
29+
<add key="darc-int-dotnet-efcore-865c6a8" value="true" />
30+
<!-- End: Package sources from dotnet-efcore -->
31+
<!-- Begin: Package sources from dotnet-runtime -->
32+
<add key="darc-int-dotnet-runtime-d099f07" value="true" />
33+
<!-- End: Package sources from dotnet-runtime -->
34+
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
2735
</disabledPackageSources>
2836
</configuration>

0 commit comments

Comments
 (0)