Fix typo donet to dotnet in build scripts and pipelines (#20122)

This commit is contained in:
Mustafa Ateş Uzun 2023-08-29 22:49:53 +03:00 committed by GitHub
parent ddb3b5ff4c
commit 6df26a3cac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 38 additions and 38 deletions

View File

@ -19,8 +19,8 @@ $script:Options = $null
$dotnetMetadata = Get-Content $PSScriptRoot/DotnetRuntimeMetadata.json | ConvertFrom-Json
$dotnetCLIChannel = $dotnetMetadata.Sdk.Channel
$dotnetCLIQuality = $dotnetMetadata.Sdk.Quality
$dotnetAzureFeed = if (-not $env:__DONET_RUNTIME_FEED ) { $dotnetMetadata.Sdk.azureFeed }
$dotnetAzureFeedSecret = $env:__DONET_RUNTIME_FEED_KEY
$dotnetAzureFeed = if (-not $env:__DOTNET_RUNTIME_FEED ) { $dotnetMetadata.Sdk.azureFeed }
$dotnetAzureFeedSecret = $env:__DOTNET_RUNTIME_FEED_KEY
$dotnetSDKVersionOveride = $dotnetMetadata.Sdk.sdkImageOverride
$dotnetCLIRequiredVersion = $(Get-Content $PSScriptRoot/global.json | ConvertFrom-Json).Sdk.Version

View File

@ -40,8 +40,8 @@ jobs:
retryCountOnTaskFailure: 2
displayName: 'Bootstrap'
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
Import-Module .\build.psm1 -force

View File

@ -253,8 +253,8 @@ jobs:
condition: and(succeeded(), ne(variables['SkipBuild'], 'true'))
workingDirectory: $(PowerShellRoot)
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- powershell: |
try {

View File

@ -62,8 +62,8 @@ jobs:
condition: and(succeeded(), ne(variables['SkipBuild'], 'true'))
workingDirectory: $(PowerShellRoot)
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
try {

View File

@ -119,8 +119,8 @@ jobs:
}
displayName: 'Bootstrap VM'
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
# Add -SkipReleaseChecks as a mitigation to unblock release.
@ -133,8 +133,8 @@ jobs:
}
displayName: 'Package'
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'

View File

@ -43,8 +43,8 @@ jobs:
tools/releaseBuild/macOS/PowerShellPackageVsts.ps1 -location $(PowerShellRoot) -BootStrap
displayName: 'Bootstrap VM'
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- template: /tools/releaseBuild/azureDevOps/templates/insert-nuget-config-azfeed.yml
parameters:
@ -58,8 +58,8 @@ jobs:
$env:AzDevOpsFeedPAT2 = $null
displayName: 'Build'
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'

View File

@ -60,8 +60,8 @@ jobs:
Start-PSBootStrap -Verbose
displayName: Bootstrap
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- task: DownloadBuildArtifacts@0
displayName: 'Download PowerShell build artifacts - finalResults'

View File

@ -61,8 +61,8 @@ jobs:
displayName: Install .NET
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
$branch = $ENV:BUILD_SOURCEBRANCH
@ -85,8 +85,8 @@ jobs:
displayName: Install global tool
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
$toolPath = "$(System.DefaultWorkingDirectory)/toolPath/${{ parameters.globalToolExeName }}"
@ -148,5 +148,5 @@ jobs:
}
displayName: Basic validation
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)

View File

@ -97,8 +97,8 @@ jobs:
displayName: Install .NET
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
@ -136,8 +136,8 @@ jobs:
displayName: Restore and execute tests
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- task: PublishTestResults@2
displayName: 'Publish Test Results **\test-hosting.xml'

View File

@ -38,8 +38,8 @@ jobs:
Write-Verbose -Message "Installing .NET SDK completed." -Verbose
displayName: Install .NET
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
Get-ChildItem -Path '$(Pipeline.Workspace)/releasePipeline/finalResults' -Recurse

View File

@ -25,8 +25,8 @@ jobs:
Start-PSBootstrap
displayName: Bootstrap
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
Import-Module ./build.psm1
@ -86,8 +86,8 @@ jobs:
Start-PSBootstrap
displayName: Bootstrap
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
Import-Module ./build.psm1

View File

@ -66,8 +66,8 @@ jobs:
tools/releaseBuild/Images/microsoft_powershell_windowsservercore/PowerShellPackage.ps1 -location '$(PowerShellRoot)' -destination '$(Build.ArtifactStagingDirectory)/Symbols_$(Architecture)' -Runtime $runtime -ReleaseTag '$(ReleaseTagVar)' -Symbols @params
displayName: 'Build Windows Universal - $(Architecture)-$(BuildConfiguration) Symbols zip'
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
$packageName = (Get-ChildItem '$(Build.ArtifactStagingDirectory)\Symbols_$(Architecture)').FullName

View File

@ -259,8 +259,8 @@ jobs:
$(PowerShellRoot)/tools/releaseBuild/Images/microsoft_powershell_windowsservercore/PowerShellPackage.ps1 -BuildZip $signedPkg -location '$(PowerShellRoot)' -destination '$(System.ArtifactsDirectory)\pkgSigned' -Runtime $runtime -ReleaseTag '$(ReleaseTagVar)' @params
displayName: 'Build Windows Universal - $(Architecture) Package'
env:
__DONET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DONET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
__DOTNET_RUNTIME_FEED: $(RUNTIME_SOURCEFEED)
__DOTNET_RUNTIME_FEED_KEY: $(RUNTIME_SOURCEFEED_KEY)
- pwsh: |
Get-ChildItem '$(System.ArtifactsDirectory)\pkgSigned' | ForEach-Object {