Skip to content

Commit de6de0e

Browse files
Update dependencies from https://github.com/dotnet/arcade build 20231011.8 (#8298)
[release/6.0] Update dependencies from dotnet/arcade
1 parent f35417b commit de6de0e

File tree

6 files changed

+96
-17
lines changed

6 files changed

+96
-17
lines changed

NuGet.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
77
<!-- Begin: Package sources from dotnet-runtime -->
88
<add key="darc-int-dotnet-runtime-e0f0de8" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-e0f0de87/nuget/v3/index.json" />
9+
<add key="darc-int-dotnet-runtime-e0f0de8-3" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-e0f0de87-3/nuget/v3/index.json" />
10+
<add key="darc-int-dotnet-runtime-e0f0de8-2" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-e0f0de87-2/nuget/v3/index.json" />
11+
<add key="darc-int-dotnet-runtime-e0f0de8-1" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-e0f0de87-1/nuget/v3/index.json" />
912
<!-- End: Package sources from dotnet-runtime -->
1013
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
1114
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
@@ -19,6 +22,9 @@
1922
<disabledPackageSources>
2023
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
2124
<!-- Begin: Package sources from dotnet-runtime -->
25+
<add key="darc-int-dotnet-runtime-e0f0de8-1" value="true" />
26+
<add key="darc-int-dotnet-runtime-e0f0de8-2" value="true" />
27+
<add key="darc-int-dotnet-runtime-e0f0de8-3" value="true" />
2228
<add key="darc-int-dotnet-runtime-e0f0de8" value="true" />
2329
<!-- End: Package sources from dotnet-runtime -->
2430
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->

eng/Version.Details.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,25 +83,25 @@
8383
</Dependency>
8484
</ProductDependencies>
8585
<ToolsetDependencies>
86-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.23408.5">
86+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.23511.8">
8787
<Uri>https://github.com/dotnet/arcade</Uri>
88-
<Sha>98fd22588fbb0f407faa6a74cb1aa79031306151</Sha>
88+
<Sha>06ccd9430e2e3bd29a381a5b27e7976d11b0ed18</Sha>
8989
</Dependency>
90-
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="6.0.0-beta.23408.5">
90+
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="6.0.0-beta.23511.8">
9191
<Uri>https://github.com/dotnet/arcade</Uri>
92-
<Sha>98fd22588fbb0f407faa6a74cb1aa79031306151</Sha>
92+
<Sha>06ccd9430e2e3bd29a381a5b27e7976d11b0ed18</Sha>
9393
</Dependency>
94-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.23408.5">
94+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.23511.8">
9595
<Uri>https://github.com/dotnet/arcade</Uri>
96-
<Sha>98fd22588fbb0f407faa6a74cb1aa79031306151</Sha>
96+
<Sha>06ccd9430e2e3bd29a381a5b27e7976d11b0ed18</Sha>
9797
</Dependency>
98-
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="6.0.0-beta.23408.5">
98+
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="6.0.0-beta.23511.8">
9999
<Uri>https://github.com/dotnet/arcade</Uri>
100-
<Sha>98fd22588fbb0f407faa6a74cb1aa79031306151</Sha>
100+
<Sha>06ccd9430e2e3bd29a381a5b27e7976d11b0ed18</Sha>
101101
</Dependency>
102-
<Dependency Name="Microsoft.DotNet.GenAPI" Version="6.0.0-beta.23408.5">
102+
<Dependency Name="Microsoft.DotNet.GenAPI" Version="6.0.0-beta.23511.8">
103103
<Uri>https://github.com/dotnet/arcade</Uri>
104-
<Sha>98fd22588fbb0f407faa6a74cb1aa79031306151</Sha>
104+
<Sha>06ccd9430e2e3bd29a381a5b27e7976d11b0ed18</Sha>
105105
</Dependency>
106106
</ToolsetDependencies>
107107
</Dependencies>

eng/Versions.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
</PropertyGroup>
5757
<!-- Packages that come from https://github.com/dotnet/arcade -->
5858
<PropertyGroup>
59-
<MicrosoftDotNetApiCompatVersion>6.0.0-beta.23408.5</MicrosoftDotNetApiCompatVersion>
60-
<MicrosoftDotNetCodeAnalysisPackageVersion>6.0.0-beta.23408.5</MicrosoftDotNetCodeAnalysisPackageVersion>
61-
<MicrosoftDotNetGenAPIVersion>6.0.0-beta.23408.5</MicrosoftDotNetGenAPIVersion>
59+
<MicrosoftDotNetApiCompatVersion>6.0.0-beta.23511.8</MicrosoftDotNetApiCompatVersion>
60+
<MicrosoftDotNetCodeAnalysisPackageVersion>6.0.0-beta.23511.8</MicrosoftDotNetCodeAnalysisPackageVersion>
61+
<MicrosoftDotNetGenAPIVersion>6.0.0-beta.23511.8</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 -->

eng/common/retain-build.ps1

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
2+
Param(
3+
[Parameter(Mandatory=$true)][int] $buildId,
4+
[Parameter(Mandatory=$true)][string] $azdoOrgUri,
5+
[Parameter(Mandatory=$true)][string] $azdoProject,
6+
[Parameter(Mandatory=$true)][string] $token
7+
)
8+
9+
$ErrorActionPreference = 'Stop'
10+
Set-StrictMode -Version 2.0
11+
12+
function Get-AzDOHeaders(
13+
[string] $token)
14+
{
15+
$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes(":${token}"))
16+
$headers = @{"Authorization"="Basic $base64AuthInfo"}
17+
return $headers
18+
}
19+
20+
function Update-BuildRetention(
21+
[string] $azdoOrgUri,
22+
[string] $azdoProject,
23+
[int] $buildId,
24+
[string] $token)
25+
{
26+
$headers = Get-AzDOHeaders -token $token
27+
$requestBody = "{
28+
`"keepForever`": `"true`"
29+
}"
30+
31+
$requestUri = "${azdoOrgUri}/${azdoProject}/_apis/build/builds/${buildId}?api-version=6.0"
32+
write-Host "Attempting to retain build using the following URI: ${requestUri} ..."
33+
34+
try {
35+
Invoke-RestMethod -Uri $requestUri -Method Patch -Body $requestBody -Header $headers -contentType "application/json"
36+
Write-Host "Updated retention settings for build ${buildId}."
37+
}
38+
catch {
39+
Write-Error "Failed to update retention settings for build: $_.Exception.Response.StatusDescription"
40+
exit 1
41+
}
42+
}
43+
44+
Update-BuildRetention -azdoOrgUri $azdoOrgUri -azdoProject $azdoProject -buildId $buildId -token $token
45+
exit 0
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
parameters:
2+
# Optional azure devops PAT with build execute permissions for the build's organization,
3+
# only needed if the build that should be retained ran on a different organization than
4+
# the pipeline where this template is executing from
5+
Token: ''
6+
# Optional BuildId to retain, defaults to the current running build
7+
BuildId: ''
8+
# Azure devops Organization URI for the build in the https://dev.azure.com/<organization> format.
9+
# Defaults to the organization the current pipeline is running on
10+
AzdoOrgUri: '$(System.CollectionUri)'
11+
# Azure devops project for the build. Defaults to the project the current pipeline is running on
12+
AzdoProject: '$(System.TeamProject)'
13+
14+
steps:
15+
- task: powershell@2
16+
inputs:
17+
targetType: 'filePath'
18+
filePath: eng/common/retain-build.ps1
19+
pwsh: true
20+
arguments: >
21+
-AzdoOrgUri: ${{parameters.AzdoOrgUri}}
22+
-AzdoProject ${{parameters.AzdoProject}}
23+
-Token ${{coalesce(parameters.Token, '$env:SYSTEM_ACCESSTOKEN') }}
24+
-BuildId ${{coalesce(parameters.BuildId, '$env:BUILD_ID')}}
25+
displayName: Enable permanent build retention
26+
env:
27+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
28+
BUILD_ID: $(Build.BuildId)

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.121",
3+
"dotnet": "6.0.123",
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.23408.5",
16-
"Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.23408.5"
15+
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.23511.8",
16+
"Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.23511.8"
1717
},
1818
"sdk": {
19-
"version": "6.0.121"
19+
"version": "6.0.123"
2020
},
2121
"native-tools": {
2222
"strawberry-perl": "5.28.1.1-1",

0 commit comments

Comments
 (0)