Skip to content

Commit 9204fc7

Browse files
committed
Merge remote-tracking branch 'upstream/release/6.0' into merge-internal/release/6.0
2 parents fcb07d6 + d3b27de commit 9204fc7

File tree

10 files changed

+155
-116
lines changed

10 files changed

+155
-116
lines changed

NuGet.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<clear />
66
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
77
<!-- Begin: Package sources from dotnet-runtime -->
8-
<add key="darc-int-dotnet-runtime-be98e88" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-be98e88c/nuget/v3/index.json" />
98
<!-- End: Package sources from dotnet-runtime -->
109
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
1110
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
@@ -19,7 +18,6 @@
1918
<disabledPackageSources>
2019
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
2120
<!-- Begin: Package sources from dotnet-runtime -->
22-
<add key="darc-int-dotnet-runtime-be98e88" value="true" />
2321
<!-- End: Package sources from dotnet-runtime -->
2422
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
2523
</disabledPackageSources>

eng/Version.Details.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
5050
<Sha>be98e88c760526452df94ef452fff4602fb5bded</Sha>
5151
</Dependency>
52-
<Dependency Name="Microsoft.DotNet.Wpf.DncEng" Version="6.0.0-rtm.22161.2">
52+
<Dependency Name="Microsoft.DotNet.Wpf.DncEng" Version="6.0.0-rtm.22212.1">
5353
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-wpf-int</Uri>
5454
<Sha>c8d46e6b93f648dd15d27210af19b62f98205daa</Sha>
5555
</Dependency>
@@ -83,25 +83,25 @@
8383
</Dependency>
8484
</ProductDependencies>
8585
<ToolsetDependencies>
86-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.22122.7">
86+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.22212.5">
8787
<Uri>https://github.com/dotnet/arcade</Uri>
88-
<Sha>7215d8265a7fbcd022eb72ff7a6e2048444c985f</Sha>
88+
<Sha>1a6b24397e50146d0fece9cfb9c0b87275691e6f</Sha>
8989
</Dependency>
90-
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="6.0.0-beta.22122.7">
90+
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="6.0.0-beta.22212.5">
9191
<Uri>https://github.com/dotnet/arcade</Uri>
92-
<Sha>7215d8265a7fbcd022eb72ff7a6e2048444c985f</Sha>
92+
<Sha>1a6b24397e50146d0fece9cfb9c0b87275691e6f</Sha>
9393
</Dependency>
94-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.22122.7">
94+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.22212.5">
9595
<Uri>https://github.com/dotnet/arcade</Uri>
96-
<Sha>7215d8265a7fbcd022eb72ff7a6e2048444c985f</Sha>
96+
<Sha>1a6b24397e50146d0fece9cfb9c0b87275691e6f</Sha>
9797
</Dependency>
98-
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="6.0.0-beta.22122.7">
98+
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="6.0.0-beta.22212.5">
9999
<Uri>https://github.com/dotnet/arcade</Uri>
100-
<Sha>7215d8265a7fbcd022eb72ff7a6e2048444c985f</Sha>
100+
<Sha>1a6b24397e50146d0fece9cfb9c0b87275691e6f</Sha>
101101
</Dependency>
102-
<Dependency Name="Microsoft.DotNet.GenAPI" Version="6.0.0-beta.22122.7">
102+
<Dependency Name="Microsoft.DotNet.GenAPI" Version="6.0.0-beta.22212.5">
103103
<Uri>https://github.com/dotnet/arcade</Uri>
104-
<Sha>7215d8265a7fbcd022eb72ff7a6e2048444c985f</Sha>
104+
<Sha>1a6b24397e50146d0fece9cfb9c0b87275691e6f</Sha>
105105
</Dependency>
106106
</ToolsetDependencies>
107107
</Dependencies>

eng/Versions.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<MajorVersion>6</MajorVersion>
55
<MinorVersion>0</MinorVersion>
6-
<PatchVersion>4</PatchVersion>
6+
<PatchVersion>5</PatchVersion>
77
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
88
<!--
99
Set assembly version to align with major and minor version, as for the patches and revisions should be manually
@@ -56,9 +56,9 @@
5656
</PropertyGroup>
5757
<!-- Packages that come from https://github.com/dotnet/arcade -->
5858
<PropertyGroup>
59-
<MicrosoftDotNetApiCompatVersion>6.0.0-beta.22122.7</MicrosoftDotNetApiCompatVersion>
60-
<MicrosoftDotNetCodeAnalysisPackageVersion>6.0.0-beta.22122.7</MicrosoftDotNetCodeAnalysisPackageVersion>
61-
<MicrosoftDotNetGenAPIVersion>6.0.0-beta.22122.7</MicrosoftDotNetGenAPIVersion>
59+
<MicrosoftDotNetApiCompatVersion>6.0.0-beta.22212.5</MicrosoftDotNetApiCompatVersion>
60+
<MicrosoftDotNetCodeAnalysisPackageVersion>6.0.0-beta.22212.5</MicrosoftDotNetCodeAnalysisPackageVersion>
61+
<MicrosoftDotNetGenAPIVersion>6.0.0-beta.22212.5</MicrosoftDotNetGenAPIVersion>
6262
</PropertyGroup>
6363
<!-- Maintain System.CodeDom PackageVersion at 4.4.0. See https://github.com/Microsoft/msbuild/issues/3627 -->
6464
<!-- Pin specific versions of S.Memory so that it would supply AssemblyVersion=4.0.1.0. See https://github.com/dotnet/runtime/issues/31672 -->
@@ -97,6 +97,6 @@
9797
<SystemReflectionMetadataLoadContextPackage>System.Reflection.MetadataLoadContext</SystemReflectionMetadataLoadContextPackage>
9898
</PropertyGroup>
9999
<PropertyGroup>
100-
<MicrosoftDotNetWpfDncEngVersion>6.0.0-rtm.22161.2</MicrosoftDotNetWpfDncEngVersion>
100+
<MicrosoftDotNetWpfDncEngVersion>6.0.0-rtm.22212.1</MicrosoftDotNetWpfDncEngVersion>
101101
</PropertyGroup>
102102
</Project>

eng/common/templates/job/execute-sdl.yml

Lines changed: 9 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,9 @@ jobs:
4343
value: ${{ parameters.AzDOPipelineId }}
4444
- name: AzDOBuildId
4545
value: ${{ parameters.AzDOBuildId }}
46-
# The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in
47-
# sync with the packages.config file.
48-
- name: DefaultGuardianVersion
49-
value: 0.110.1
46+
- template: /eng/common/templates/variables/sdl-variables.yml
5047
- name: GuardianVersion
5148
value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }}
52-
- name: GuardianPackagesConfigFile
53-
value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config
5449
pool:
5550
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
5651
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
@@ -126,57 +121,11 @@ jobs:
126121
displayName: Extract Archive Artifacts
127122
continueOnError: ${{ parameters.sdlContinueOnError }}
128123

129-
- ${{ if ne(parameters.overrideGuardianVersion, '') }}:
130-
- powershell: |
131-
$content = Get-Content $(GuardianPackagesConfigFile)
132-
133-
Write-Host "packages.config content was:`n$content"
134-
135-
$content = $content.Replace('$(DefaultGuardianVersion)', '$(GuardianVersion)')
136-
$content | Set-Content $(GuardianPackagesConfigFile)
137-
138-
Write-Host "packages.config content updated to:`n$content"
139-
displayName: Use overridden Guardian version ${{ parameters.overrideGuardianVersion }}
140-
141-
- task: NuGetToolInstaller@1
142-
displayName: 'Install NuGet.exe'
143-
- task: NuGetCommand@2
144-
displayName: 'Install Guardian'
145-
inputs:
146-
restoreSolution: $(Build.SourcesDirectory)\eng\common\sdl\packages.config
147-
feedsToUse: config
148-
nugetConfigPath: $(Build.SourcesDirectory)\eng\common\sdl\NuGet.config
149-
externalFeedCredentials: GuardianConnect
150-
restoreDirectory: $(Build.SourcesDirectory)\.packages
151-
152-
- ${{ if ne(parameters.overrideParameters, '') }}:
153-
- powershell: ${{ parameters.executeAllSdlToolsScript }} ${{ parameters.overrideParameters }}
154-
displayName: Execute SDL
155-
continueOnError: ${{ parameters.sdlContinueOnError }}
156-
- ${{ if eq(parameters.overrideParameters, '') }}:
157-
- powershell: ${{ parameters.executeAllSdlToolsScript }}
158-
-GuardianPackageName Microsoft.Guardian.Cli.$(GuardianVersion)
159-
-NugetPackageDirectory $(Build.SourcesDirectory)\.packages
160-
-AzureDevOpsAccessToken $(dn-bot-dotnet-build-rw-code-rw)
161-
${{ parameters.additionalParameters }}
162-
displayName: Execute SDL
163-
continueOnError: ${{ parameters.sdlContinueOnError }}
164-
165-
- ${{ if ne(parameters.publishGuardianDirectoryToPipeline, 'false') }}:
166-
# We want to publish the Guardian results and configuration for easy diagnosis. However, the
167-
# '.gdn' dir is a mix of configuration, results, extracted dependencies, and Guardian default
168-
# tooling files. Some of these files are large and aren't useful during an investigation, so
169-
# exclude them by simply deleting them before publishing. (As of writing, there is no documented
170-
# way to selectively exclude a dir from the pipeline artifact publish task.)
171-
- task: DeleteFiles@1
172-
displayName: Delete Guardian dependencies to avoid uploading
173-
inputs:
174-
SourceFolder: $(Agent.BuildDirectory)/.gdn
175-
Contents: |
176-
c
177-
i
178-
condition: succeededOrFailed()
179-
- publish: $(Agent.BuildDirectory)/.gdn
180-
artifact: GuardianConfiguration
181-
displayName: Publish GuardianConfiguration
182-
condition: succeededOrFailed()
124+
- template: /eng/common/templates/steps/execute-sdl.yml
125+
parameters:
126+
overrideGuardianVersion: ${{ parameters.overrideGuardianVersion }}
127+
executeAllSdlToolsScript: ${{ parameters.executeAllSdlToolsScript }}
128+
overrideParameters: ${{ parameters.overrideParameters }}
129+
additionalParameters: ${{ parameters.additionalParameters }}
130+
publishGuardianDirectoryToPipeline: ${{ parameters.publishGuardianDirectoryToPipeline }}
131+
sdlContinueOnError: ${{ parameters.sdlContinueOnError }}

eng/common/templates/jobs/codeql-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in
2222
# sync with the packages.config file.
2323
- name: DefaultGuardianVersion
24-
value: 0.109.0
24+
value: 0.110.1
2525
- name: GuardianPackagesConfigFile
2626
value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config
2727
- name: GuardianVersion
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
parameters:
2+
overrideGuardianVersion: ''
3+
executeAllSdlToolsScript: ''
4+
overrideParameters: ''
5+
additionalParameters: ''
6+
publishGuardianDirectoryToPipeline: false
7+
sdlContinueOnError: false
8+
condition: ''
9+
10+
steps:
11+
- ${{ if ne(parameters.overrideGuardianVersion, '') }}:
12+
- powershell: |
13+
$content = Get-Content $(GuardianPackagesConfigFile)
14+
15+
Write-Host "packages.config content was:`n$content"
16+
17+
$content = $content.Replace('$(DefaultGuardianVersion)', '$(GuardianVersion)')
18+
$content | Set-Content $(GuardianPackagesConfigFile)
19+
20+
Write-Host "packages.config content updated to:`n$content"
21+
displayName: Use overridden Guardian version ${{ parameters.overrideGuardianVersion }}
22+
23+
- task: NuGetToolInstaller@1
24+
displayName: 'Install NuGet.exe'
25+
26+
- task: NuGetCommand@2
27+
displayName: 'Install Guardian'
28+
inputs:
29+
restoreSolution: $(Build.SourcesDirectory)\eng\common\sdl\packages.config
30+
feedsToUse: config
31+
nugetConfigPath: $(Build.SourcesDirectory)\eng\common\sdl\NuGet.config
32+
externalFeedCredentials: GuardianConnect
33+
restoreDirectory: $(Build.SourcesDirectory)\.packages
34+
35+
- ${{ if ne(parameters.overrideParameters, '') }}:
36+
- powershell: ${{ parameters.executeAllSdlToolsScript }} ${{ parameters.overrideParameters }}
37+
displayName: Execute SDL
38+
continueOnError: ${{ parameters.sdlContinueOnError }}
39+
condition: ${{ parameters.condition }}
40+
41+
- ${{ if eq(parameters.overrideParameters, '') }}:
42+
- powershell: ${{ parameters.executeAllSdlToolsScript }}
43+
-GuardianPackageName Microsoft.Guardian.Cli.$(GuardianVersion)
44+
-NugetPackageDirectory $(Build.SourcesDirectory)\.packages
45+
-AzureDevOpsAccessToken $(dn-bot-dotnet-build-rw-code-rw)
46+
${{ parameters.additionalParameters }}
47+
displayName: Execute SDL
48+
continueOnError: ${{ parameters.sdlContinueOnError }}
49+
condition: ${{ parameters.condition }}
50+
51+
- ${{ if ne(parameters.publishGuardianDirectoryToPipeline, 'false') }}:
52+
# We want to publish the Guardian results and configuration for easy diagnosis. However, the
53+
# '.gdn' dir is a mix of configuration, results, extracted dependencies, and Guardian default
54+
# tooling files. Some of these files are large and aren't useful during an investigation, so
55+
# exclude them by simply deleting them before publishing. (As of writing, there is no documented
56+
# way to selectively exclude a dir from the pipeline artifact publish task.)
57+
- task: DeleteFiles@1
58+
displayName: Delete Guardian dependencies to avoid uploading
59+
inputs:
60+
SourceFolder: $(Agent.BuildDirectory)/.gdn
61+
Contents: |
62+
c
63+
i
64+
condition: succeededOrFailed()
65+
- publish: $(Agent.BuildDirectory)/.gdn
66+
artifact: GuardianConfiguration
67+
displayName: Publish GuardianConfiguration
68+
condition: succeededOrFailed()

eng/common/templates/steps/source-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ steps:
4343
# In that case, add variables to allow the download of internal runtimes if the specified versions are not found
4444
# in the default public locations.
4545
internalRuntimeDownloadArgs=
46-
if [ '$(dotnetclimsrc-read-sas-token-base64)' != '$''(dotnetclimsrc-read-sas-token-base64)' ]; then
47-
internalRuntimeDownloadArgs='/p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64) --runtimesourcefeed https://dotnetclimsrc.blob.core.windows.net/dotnet --runtimesourcefeedkey $(dotnetclimsrc-read-sas-token-base64)'
46+
if [ '$(dotnetbuilds-internal-container-read-token-base64)' != '$''(dotnetbuilds-internal-container-read-token-base64)' ]; then
47+
internalRuntimeDownloadArgs='/p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64) --runtimesourcefeed https://dotnetbuilds.blob.core.windows.net/internal --runtimesourcefeedkey $(dotnetbuilds-internal-container-read-token-base64)'
4848
fi
4949
5050
buildConfig=Release
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
variables:
2+
# The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in
3+
# sync with the packages.config file.
4+
- name: DefaultGuardianVersion
5+
value: 0.110.1
6+
- name: GuardianPackagesConfigFile
7+
value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config

global.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"tools": {
3-
"dotnet": "6.0.101",
3+
"dotnet": "6.0.104",
44
"runtimes": {
55
"dotnet": [
66
"2.1.7",
@@ -12,11 +12,11 @@
1212
}
1313
},
1414
"msbuild-sdks": {
15-
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.22122.7",
16-
"Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.22122.7"
15+
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.22212.5",
16+
"Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.22212.5"
1717
},
1818
"sdk": {
19-
"version": "6.0.101"
19+
"version": "6.0.104"
2020
},
2121
"native-tools": {
2222
"strawberry-perl": "5.28.1.1-1",

0 commit comments

Comments
 (0)