Skip to content
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

[main] Update dependencies from dotnet/arcade #2153

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7b6f6e1
Update dependencies from https://github.com/dotnet/arcade build
dotnet-maestro[bot] Mar 20, 2024
66d96a7
Update dependencies from https://github.com/dotnet/arcade build
dotnet-maestro[bot] Mar 21, 2024
7f300b3
Update dependencies from https://github.com/dotnet/arcade build
dotnet-maestro[bot] Mar 22, 2024
b621446
Update dependencies from https://github.com/dotnet/arcade build
dotnet-maestro[bot] Mar 23, 2024
d202735
Update dependencies from https://github.com/dotnet/arcade build
dotnet-maestro[bot] Mar 24, 2024
e759698
Update dependencies from https://github.com/dotnet/arcade build
dotnet-maestro[bot] Mar 25, 2024
a284d40
Update dependencies from https://github.com/dotnet/arcade build
dotnet-maestro[bot] Mar 26, 2024
c7e22a5
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Mar 27, 2024
d5215de
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Mar 28, 2024
719e2bc
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Mar 29, 2024
0b48fd1
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Mar 30, 2024
b34f341
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Mar 31, 2024
1e96fc5
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 1, 2024
10b2d3d
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 2, 2024
423f771
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 3, 2024
d26bcc4
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 4, 2024
0587603
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 5, 2024
88eeed8
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 6, 2024
b5ae3f3
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 7, 2024
c7b8e16
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 8, 2024
e80d0e8
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 9, 2024
dc74f13
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 10, 2024
38f1323
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 11, 2024
f0bf17d
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 12, 2024
cda3116
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 13, 2024
a7ca166
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 14, 2024
96ab11a
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 15, 2024
aec8602
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 16, 2024
000f84b
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 17, 2024
5a61496
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 18, 2024
8f75ea8
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 19, 2024
f18447e
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 20, 2024
36858ef
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 21, 2024
5146edf
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 22, 2024
df6a501
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 23, 2024
db0d541
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 24, 2024
2d0c018
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 25, 2024
0117662
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 26, 2024
ba11e55
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 27, 2024
b29526a
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 28, 2024
2dfa7cc
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 29, 2024
7dc868a
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 30, 2024
9e63abb
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] Apr 30, 2024
3aaf72c
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] May 1, 2024
1ac90c7
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] May 2, 2024
9660117
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] May 3, 2024
029a6a8
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] May 4, 2024
582b5bc
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] May 5, 2024
c892b5a
Update dependencies from https://github.com/dotnet/arcade build 20240…
dotnet-maestro[bot] May 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,19 @@
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24156.2">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24253.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>f1ef2a8544824e9f4395f88e6b453d6fc2826d72</Sha>
<Sha>020255bcf7d0b8beed7de05338d97396982ae527</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24156.2">
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24253.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>f1ef2a8544824e9f4395f88e6b453d6fc2826d72</Sha>
<Sha>020255bcf7d0b8beed7de05338d97396982ae527</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="9.0.0-beta.24156.2">
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="9.0.0-beta.24253.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>f1ef2a8544824e9f4395f88e6b453d6fc2826d72</Sha>
<Sha>020255bcf7d0b8beed7de05338d97396982ae527</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
26 changes: 13 additions & 13 deletions eng/common/SetupNugetSources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Set-StrictMode -Version 2.0
. $PSScriptRoot\tools.ps1

# Add source entry to PackageSources
function AddPackageSource($sources, $SourceName, $SourceEndPoint, $creds, $Username, $Password) {
function AddPackageSource($sources, $SourceName, $SourceEndPoint, $creds, $Username, $pwd) {
$packageSource = $sources.SelectSingleNode("add[@key='$SourceName']")

if ($packageSource -eq $null)
Expand All @@ -48,12 +48,11 @@ function AddPackageSource($sources, $SourceName, $SourceEndPoint, $creds, $Usern
else {
Write-Host "Package source $SourceName already present."
}

AddCredential -Creds $creds -Source $SourceName -Username $Username -Password $Password
AddCredential -Creds $creds -Source $SourceName -Username $Username -pwd $pwd
}

# Add a credential node for the specified source
function AddCredential($creds, $source, $username, $password) {
function AddCredential($creds, $source, $username, $pwd) {
# Looks for credential configuration for the given SourceName. Create it if none is found.
$sourceElement = $creds.SelectSingleNode($Source)
if ($sourceElement -eq $null)
Expand Down Expand Up @@ -82,17 +81,18 @@ function AddCredential($creds, $source, $username, $password) {
$passwordElement.SetAttribute("key", "ClearTextPassword")
$sourceElement.AppendChild($passwordElement) | Out-Null
}
$passwordElement.SetAttribute("value", $Password)

$passwordElement.SetAttribute("value", $pwd)
}

function InsertMaestroPrivateFeedCredentials($Sources, $Creds, $Username, $Password) {
function InsertMaestroPrivateFeedCredentials($Sources, $Creds, $Username, $pwd) {
$maestroPrivateSources = $Sources.SelectNodes("add[contains(@key,'darc-int')]")

Write-Host "Inserting credentials for $($maestroPrivateSources.Count) Maestro's private feeds."

ForEach ($PackageSource in $maestroPrivateSources) {
Write-Host "`tInserting credential for Maestro's feed:" $PackageSource.Key
AddCredential -Creds $creds -Source $PackageSource.Key -Username $Username -Password $Password
AddCredential -Creds $creds -Source $PackageSource.Key -Username $Username -pwd $pwd
}
}

Expand Down Expand Up @@ -144,13 +144,13 @@ if ($disabledSources -ne $null) {
$userName = "dn-bot"

# Insert credential nodes for Maestro's private feeds
InsertMaestroPrivateFeedCredentials -Sources $sources -Creds $creds -Username $userName -Password $Password
InsertMaestroPrivateFeedCredentials -Sources $sources -Creds $creds -Username $userName -pwd $Password

# 3.1 uses a different feed url format so it's handled differently here
$dotnet31Source = $sources.SelectSingleNode("add[@key='dotnet3.1']")
if ($dotnet31Source -ne $null) {
AddPackageSource -Sources $sources -SourceName "dotnet3.1-internal" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal/nuget/v2" -Creds $creds -Username $userName -Password $Password
AddPackageSource -Sources $sources -SourceName "dotnet3.1-internal-transport" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-transport/nuget/v2" -Creds $creds -Username $userName -Password $Password
AddPackageSource -Sources $sources -SourceName "dotnet3.1-internal" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal/nuget/v2" -Creds $creds -Username $userName -pwd $Password
AddPackageSource -Sources $sources -SourceName "dotnet3.1-internal-transport" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-transport/nuget/v2" -Creds $creds -Username $userName -pwd $Password
}

$dotnetVersions = @('5','6','7','8')
Expand All @@ -159,9 +159,9 @@ foreach ($dotnetVersion in $dotnetVersions) {
$feedPrefix = "dotnet" + $dotnetVersion;
$dotnetSource = $sources.SelectSingleNode("add[@key='$feedPrefix']")
if ($dotnetSource -ne $null) {
AddPackageSource -Sources $sources -SourceName "$feedPrefix-internal" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/internal/_packaging/$feedPrefix-internal/nuget/v2" -Creds $creds -Username $userName -Password $Password
AddPackageSource -Sources $sources -SourceName "$feedPrefix-internal-transport" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/internal/_packaging/$feedPrefix-internal-transport/nuget/v2" -Creds $creds -Username $userName -Password $Password
AddPackageSource -Sources $sources -SourceName "$feedPrefix-internal" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/internal/_packaging/$feedPrefix-internal/nuget/v2" -Creds $creds -Username $userName -pwd $Password
AddPackageSource -Sources $sources -SourceName "$feedPrefix-internal-transport" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/internal/_packaging/$feedPrefix-internal-transport/nuget/v2" -Creds $creds -Username $userName -pwd $Password
}
}

$doc.Save($filename)
$doc.Save($filename)
4 changes: 1 addition & 3 deletions eng/common/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Param(
[switch] $pack,
[switch] $publish,
[switch] $clean,
[switch] $verticalBuild,
[switch][Alias('pb')]$productBuild,
[switch][Alias('bl')]$binaryLog,
[switch][Alias('nobl')]$excludeCIBinarylog,
Expand Down Expand Up @@ -60,7 +59,6 @@ function Print-Usage() {
Write-Host " -sign Sign build outputs"
Write-Host " -publish Publish artifacts (e.g. symbols)"
Write-Host " -clean Clean the solution"
Write-Host " -verticalBuild Run in 'vertical build' infra mode."
Write-Host " -productBuild Build the solution in the way it will be built in the full .NET product (VMR) build (short: -pb)"
Write-Host ""

Expand Down Expand Up @@ -124,7 +122,7 @@ function Build {
/p:Deploy=$deploy `
/p:Test=$test `
/p:Pack=$pack `
/p:DotNetBuildRepo=$($productBuild -or $verticalBuild) `
/p:DotNetBuildRepo=$productBuild `
/p:IntegrationTest=$integrationTest `
/p:PerformanceTest=$performanceTest `
/p:Sign=$sign `
Expand Down
8 changes: 0 additions & 8 deletions eng/common/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
restore=false
build=false
source_build=false
vertical_build=false
product_build=false
rebuild=false
test=false
Expand Down Expand Up @@ -141,13 +140,6 @@ while [[ $# > 0 ]]; do
restore=true
pack=true
;;
-verticalbuild|-vb)
build=true
vertical_build=true
product_build=true
restore=true
pack=true
;;
-test|-t)
test=true
;;
Expand Down
Loading