build: run official builds with the R1 network isolation policy (#18753)

This required removing connections during the build to `nuget.org` and
`powershellgallery.com`.

The NuGet Tool task was downloading nuget from `nuget.org`
unconditionally.

The `AzureFileCopy` task was downloading `Az.Accounts` from
`powershellgallery.com` unconditionally.

Both of these tasks have better options nowadays.

Tested and passed in OneBranch on 2025-04-01.
This commit is contained in:
Dustin L. Howett
2025-04-01 17:01:20 -05:00
committed by GitHub
parent f34dbbf3ac
commit 22c509f426
5 changed files with 23 additions and 22 deletions

View File

@@ -86,6 +86,7 @@ autoscrolling
Autowrap
AVerify
awch
AZCOPY
azurecr
AZZ
backgrounded
@@ -1416,6 +1417,7 @@ propvar
propvariant
propvarutil
psa
PSCRED
PSECURITY
pseudoconsole
pseudoterminal