Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

[main] Update dependencies from dotnet/arcade #462

Open
wants to merge 135 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
2a2c032
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
a9732c1
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
be40417
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
8cfa3a6
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
0cc30c7
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
a32d029
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
9f1b6df
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
d1da779
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
3f00c5e
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
e6623f2
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
92b960d
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
6fe15c5
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
fd621ce
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
bdd3aaf
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
92f2b96
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
b2dc111
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] Oct 13, 2022
154304e
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Oct 13, 2022
75d4ae3
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Oct 13, 2022
77fb532
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Oct 13, 2022
18b694d
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Oct 15, 2022
6348ef6
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Oct 22, 2022
1213629
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Oct 25, 2022
603a242
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Nov 1, 2022
f590188
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Nov 3, 2022
4f8ae7a
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Nov 5, 2022
68780ae
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Nov 24, 2022
db8b3c9
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Nov 25, 2022
e4f732a
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Nov 26, 2022
c2653b9
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Nov 29, 2022
b6d80e4
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Nov 30, 2022
2afa997
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 6, 2022
f6afd0c
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 7, 2022
6291235
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 9, 2022
3a37f95
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 11, 2022
f4735a0
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 13, 2022
b622b95
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 14, 2022
7d30019
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 16, 2022
a4006bd
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 19, 2022
e5ca596
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 21, 2022
23aea59
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 22, 2022
3a697c6
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 24, 2022
4cacda5
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 27, 2022
cb1ec1a
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 29, 2022
8dadd35
Update dependencies from https://github.com/dotnet/arcade build 20221…
dotnet-maestro[bot] Dec 31, 2022
a76f4bb
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 3, 2023
fbfcd81
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 4, 2023
8b93a82
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 5, 2023
2e99127
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 6, 2023
dac0d4f
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 6, 2023
057532c
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 8, 2023
8c5563f
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 9, 2023
2a69be3
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 10, 2023
0c1f368
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 12, 2023
7078d3c
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 13, 2023
6d5e390
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 14, 2023
c2e9fde
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 17, 2023
2548eb3
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 18, 2023
8ab4949
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 24, 2023
aa006c0
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 25, 2023
3924756
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 26, 2023
3a50083
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 27, 2023
e0a1c9d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 30, 2023
9bac131
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jan 31, 2023
3c0af51
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 2, 2023
5357c93
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 3, 2023
cb3d5a2
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 4, 2023
3f59c67
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 7, 2023
da5b706
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 8, 2023
c6b557d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 10, 2023
8743e51
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 11, 2023
e148ee5
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 14, 2023
6fcd094
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 16, 2023
4097a32
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 18, 2023
c14e34e
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 19, 2023
35b00bb
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 21, 2023
5e3d741
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 24, 2023
e2f2c20
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Feb 28, 2023
e63e079
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 1, 2023
68d0c54
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 2, 2023
e20ac3f
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 3, 2023
881ae20
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 4, 2023
6843c03
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 7, 2023
244d38e
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 10, 2023
48a455f
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 14, 2023
419694a
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 15, 2023
f35bf72
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 17, 2023
836f6f6
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 19, 2023
fd51f40
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 22, 2023
1bcf32a
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 23, 2023
a534499
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 24, 2023
9991b35
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 25, 2023
ce3c7cb
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Mar 30, 2023
354999e
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 6, 2023
85cc6ca
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 11, 2023
cb5b0e6
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 12, 2023
2df0a84
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 14, 2023
efcdfde
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 18, 2023
1246257
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 20, 2023
cf4c71d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 21, 2023
aeec872
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 22, 2023
27ae4fd
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 23, 2023
b814f1f
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 24, 2023
3511eac
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 25, 2023
9948ca6
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 26, 2023
acd6488
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Apr 27, 2023
4fd7c3b
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 3, 2023
4884840
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 4, 2023
8ce36ae
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 5, 2023
1397ef5
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 6, 2023
13f342c
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 9, 2023
c98e759
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 10, 2023
410100a
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 11, 2023
d7ea7a5
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 12, 2023
7efffb5
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 13, 2023
86f4128
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 16, 2023
be4dfdb
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 18, 2023
e96d15d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 19, 2023
b1f88f0
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 20, 2023
e2851ac
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 25, 2023
447c71a
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 26, 2023
f46a495
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 27, 2023
31ed35c
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 28, 2023
326dd9d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 29, 2023
810bce3
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 30, 2023
74bd895
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] May 31, 2023
dcf03b1
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 1, 2023
81f136b
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 3, 2023
33b5163
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 8, 2023
dc41279
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 9, 2023
ae80fea
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 10, 2023
2946f0d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 14, 2023
2ecadc2
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 15, 2023
b94954a
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 17, 2023
3688cc9
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 20, 2023
7e472bd
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 21, 2023
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
8 changes: 4 additions & 4 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22117.2">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23320.3">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>49750c02e63d0ad3a77d035bba7498a0b1acd218</Sha>
<Sha>06d73ccc1f421af06c2794741a9913f474f66b3d</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.22117.2">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="8.0.0-beta.23320.3">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>49750c02e63d0ad3a77d035bba7498a0b1acd218</Sha>
<Sha>06d73ccc1f421af06c2794741a9913f474f66b3d</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
4 changes: 4 additions & 0 deletions eng/common/BuildConfiguration/build-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"RetryCountLimit": 1,
"RetryByAnyError": false
}
18 changes: 9 additions & 9 deletions eng/common/SetupNugetSources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -146,22 +146,22 @@ $userName = "dn-bot"
# Insert credential nodes for Maestro's private feeds
InsertMaestroPrivateFeedCredentials -Sources $sources -Creds $creds -Username $userName -Password $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
}

$dotnet5Source = $sources.SelectSingleNode("add[@key='dotnet5']")
if ($dotnet5Source -ne $null) {
AddPackageSource -Sources $sources -SourceName "dotnet5-internal" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet5-internal/nuget/v2" -Creds $creds -Username $userName -Password $Password
AddPackageSource -Sources $sources -SourceName "dotnet5-internal-transport" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet5-internal-transport/nuget/v2" -Creds $creds -Username $userName -Password $Password
}
$dotnetVersions = @('5','6','7')

$dotnet6Source = $sources.SelectSingleNode("add[@key='dotnet6']")
if ($dotnet6Source -ne $null) {
AddPackageSource -Sources $sources -SourceName "dotnet6-internal" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet6-internal/nuget/v2" -Creds $creds -Username $userName -Password $Password
AddPackageSource -Sources $sources -SourceName "dotnet6-internal-transport" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet6-internal-transport/nuget/v2" -Creds $creds -Username $userName -Password $Password
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
}
}

$doc.Save($filename)
68 changes: 24 additions & 44 deletions eng/common/SetupNugetSources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,53 +105,33 @@ if [ "$?" == "0" ]; then
PackageSources+=('dotnet3.1-internal-transport')
fi

# Ensure dotnet5-internal and dotnet5-internal-transport are in the packageSources if the public dotnet5 feeds are present
grep -i "<add key=\"dotnet5\"" $ConfigFile
if [ "$?" == "0" ]; then
grep -i "<add key=\"dotnet5-internal\"" $ConfigFile
if [ "$?" != "0" ]; then
echo "Adding dotnet5-internal to the packageSources."
PackageSourcesNodeFooter="</packageSources>"
PackageSourceTemplate="${TB}<add key=\"dotnet5-internal\" value=\"https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet5-internal/nuget/v2\" />"

sed -i.bak "s|$PackageSourcesNodeFooter|$PackageSourceTemplate${NL}$PackageSourcesNodeFooter|" $ConfigFile
fi
PackageSources+=('dotnet5-internal')

grep -i "<add key=\"dotnet5-internal-transport\">" $ConfigFile
if [ "$?" != "0" ]; then
echo "Adding dotnet5-internal-transport to the packageSources."
PackageSourcesNodeFooter="</packageSources>"
PackageSourceTemplate="${TB}<add key=\"dotnet5-internal-transport\" value=\"https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet5-internal-transport/nuget/v2\" />"

sed -i.bak "s|$PackageSourcesNodeFooter|$PackageSourceTemplate${NL}$PackageSourcesNodeFooter|" $ConfigFile
fi
PackageSources+=('dotnet5-internal-transport')
fi

# Ensure dotnet6-internal and dotnet6-internal-transport are in the packageSources if the public dotnet6 feeds are present
grep -i "<add key=\"dotnet6\"" $ConfigFile
if [ "$?" == "0" ]; then
grep -i "<add key=\"dotnet6-internal\"" $ConfigFile
if [ "$?" != "0" ]; then
echo "Adding dotnet6-internal to the packageSources."
PackageSourcesNodeFooter="</packageSources>"
PackageSourceTemplate="${TB}<add key=\"dotnet6-internal\" value=\"https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet6-internal/nuget/v2\" />"
DotNetVersions=('5' '6' '7')

for DotNetVersion in ${DotNetVersions[@]} ; do
FeedPrefix="dotnet${DotNetVersion}";
grep -i "<add key=\"$FeedPrefix\"" $ConfigFile
if [ "$?" == "0" ]; then
grep -i "<add key=\"$FeedPrefix-internal\"" $ConfigFile
if [ "$?" != "0" ]; then
echo "Adding $FeedPrefix-internal to the packageSources."
PackageSourcesNodeFooter="</packageSources>"
PackageSourceTemplate="${TB}<add key=\"$FeedPrefix-internal\" value=\"https://pkgs.dev.azure.com/dnceng/internal/_packaging/$FeedPrefix-internal/nuget/v2\" />"

sed -i.bak "s|$PackageSourcesNodeFooter|$PackageSourceTemplate${NL}$PackageSourcesNodeFooter|" $ConfigFile
fi
PackageSources+=("$FeedPrefix-internal")

sed -i.bak "s|$PackageSourcesNodeFooter|$PackageSourceTemplate${NL}$PackageSourcesNodeFooter|" $ConfigFile
fi
PackageSources+=('dotnet6-internal')
grep -i "<add key=\"$FeedPrefix-internal-transport\">" $ConfigFile
if [ "$?" != "0" ]; then
echo "Adding $FeedPrefix-internal-transport to the packageSources."
PackageSourcesNodeFooter="</packageSources>"
PackageSourceTemplate="${TB}<add key=\"$FeedPrefix-internal-transport\" value=\"https://pkgs.dev.azure.com/dnceng/internal/_packaging/$FeedPrefix-internal-transport/nuget/v2\" />"

grep -i "<add key=\"dotnet6-internal-transport\">" $ConfigFile
if [ "$?" != "0" ]; then
echo "Adding dotnet6-internal-transport to the packageSources."
PackageSourcesNodeFooter="</packageSources>"
PackageSourceTemplate="${TB}<add key=\"dotnet6-internal-transport\" value=\"https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet6-internal-transport/nuget/v2\" />"

sed -i.bak "s|$PackageSourcesNodeFooter|$PackageSourceTemplate${NL}$PackageSourcesNodeFooter|" $ConfigFile
sed -i.bak "s|$PackageSourcesNodeFooter|$PackageSourceTemplate${NL}$PackageSourcesNodeFooter|" $ConfigFile
fi
PackageSources+=("$FeedPrefix-internal-transport")
fi
PackageSources+=('dotnet6-internal-transport')
fi
done

# I want things split line by line
PrevIFS=$IFS
Expand Down
5 changes: 5 additions & 0 deletions eng/common/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Param(
[string] $runtimeSourceFeed = '',
[string] $runtimeSourceFeedKey = '',
[switch] $excludePrereleaseVS,
[switch] $nativeToolsOnMachine,
[switch] $help,
[Parameter(ValueFromRemainingArguments=$true)][String[]]$properties
)
Expand Down Expand Up @@ -67,6 +68,7 @@ function Print-Usage() {
Write-Host " -warnAsError <value> Sets warnaserror msbuild parameter ('true' or 'false')"
Write-Host " -msbuildEngine <value> Msbuild engine to use to run build ('dotnet', 'vs', or unspecified)."
Write-Host " -excludePrereleaseVS Set to exclude build engines in prerelease versions of Visual Studio"
Write-Host " -nativeToolsOnMachine Sets the native tools on machine environment variable (indicating that the script should use native tools on machine)"
Write-Host ""

Write-Host "Command line arguments not listed above are passed thru to msbuild."
Expand Down Expand Up @@ -146,6 +148,9 @@ try {
$nodeReuse = $false
}

if ($nativeToolsOnMachine) {
$env:NativeToolsOnMachine = $true
}
if ($restore) {
InitializeNativeTools
}
Expand Down
17 changes: 16 additions & 1 deletion eng/common/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ usage()
echo "Actions:"
echo " --restore Restore dependencies (short: -r)"
echo " --build Build solution (short: -b)"
echo " --sourceBuild Source-build the solution (short: -sb)"
echo " Will additionally trigger the following actions: --restore, --build, --pack"
echo " If --configuration is not set explicitly, will also set it to 'Release'"
echo " --rebuild Rebuild solution"
echo " --test Run all unit tests in the solution (short: -t)"
echo " --integrationTest Run all integration tests in the solution"
Expand Down Expand Up @@ -55,6 +58,7 @@ scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"

restore=false
build=false
source_build=false
rebuild=false
test=false
integration_test=false
Expand All @@ -73,7 +77,7 @@ exclude_ci_binary_log=false
pipelines_log=false

projects=''
configuration='Debug'
configuration=''
prepare_machine=false
verbosity='minimal'
runtime_source_feed=''
Expand Down Expand Up @@ -119,6 +123,12 @@ while [[ $# > 0 ]]; do
-pack)
pack=true
;;
-sourcebuild|-sb)
build=true
source_build=true
restore=true
pack=true
;;
-test|-t)
test=true
;;
Expand Down Expand Up @@ -168,6 +178,10 @@ while [[ $# > 0 ]]; do
shift
done

if [[ -z "$configuration" ]]; then
if [[ "$source_build" = true ]]; then configuration="Release"; else configuration="Debug"; fi
fi

if [[ "$ci" == true ]]; then
pipelines_log=true
node_reuse=false
Expand Down Expand Up @@ -205,6 +219,7 @@ function Build {
/p:RepoRoot="$repo_root" \
/p:Restore=$restore \
/p:Build=$build \
/p:ArcadeBuildFromSource=$source_build \
/p:Rebuild=$rebuild \
/p:Test=$test \
/p:Pack=$pack \
Expand Down
2 changes: 1 addition & 1 deletion eng/common/cross/arm/sources.list.xenial
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ deb http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted

deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
2 changes: 1 addition & 1 deletion eng/common/cross/arm64/sources.list.xenial
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ deb http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted

deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted universe multiverse
Loading