-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge latest main into release/stable (#5033)
- Loading branch information
Showing
43 changed files
with
581 additions
and
248 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
parameters: | ||
# Enable cleanup tasks for MicroBuild | ||
enableMicrobuild: false | ||
# Enable cleanup tasks for MicroBuild on Mac and Linux | ||
# Will be ignored if 'enableMicrobuild' is false or 'Agent.Os' is 'Windows_NT' | ||
enableMicrobuildForMacAndLinux: false | ||
continueOnError: false | ||
|
||
steps: | ||
- ${{ if eq(parameters.enableMicrobuild, 'true') }}: | ||
- task: MicroBuildCleanup@1 | ||
displayName: Execute Microbuild cleanup tasks | ||
condition: and( | ||
always(), | ||
or( | ||
and( | ||
eq(variables['Agent.Os'], 'Windows_NT'), | ||
in(variables['_SignType'], 'real', 'test') | ||
), | ||
and( | ||
${{ eq(parameters.enableMicrobuildForMacAndLinux, true) }}, | ||
ne(variables['Agent.Os'], 'Windows_NT'), | ||
eq(variables['_SignType'], 'real') | ||
) | ||
)) | ||
continueOnError: ${{ parameters.continueOnError }} | ||
env: | ||
TeamName: $(_TeamName) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
parameters: | ||
# Enable cleanup tasks for MicroBuild | ||
enableMicrobuild: false | ||
# Enable cleanup tasks for MicroBuild on Mac and Linux | ||
# Will be ignored if 'enableMicrobuild' is false or 'Agent.Os' is 'Windows_NT' | ||
enableMicrobuildForMacAndLinux: false | ||
continueOnError: false | ||
|
||
steps: | ||
- ${{ if eq(parameters.enableMicrobuild, 'true') }}: | ||
# Remove Python downgrade with https://github.com/dotnet/arcade/issues/15151 | ||
- ${{ if and(eq(parameters.enableMicrobuildForMacAndLinux, 'true'), ne(variables['Agent.Os'], 'Windows_NT')) }}: | ||
- task: UsePythonVersion@0 | ||
displayName: 'Use Python 3.11.x' | ||
inputs: | ||
versionSpec: '3.11.x' | ||
|
||
- task: MicroBuildSigningPlugin@4 | ||
displayName: Install MicroBuild plugin | ||
inputs: | ||
signType: $(_SignType) | ||
zipSources: false | ||
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json | ||
${{ if and(eq(parameters.enableMicrobuildForMacAndLinux, 'true'), ne(variables['Agent.Os'], 'Windows_NT')) }}: | ||
azureSubscription: 'MicroBuild Signing Task (DevDiv)' | ||
env: | ||
TeamName: $(_TeamName) | ||
MicroBuildOutputFolderOverride: '$(Agent.TempDirectory)' | ||
SYSTEM_ACCESSTOKEN: $(System.AccessToken) | ||
continueOnError: ${{ parameters.continueOnError }} | ||
condition: and( | ||
succeeded(), | ||
or( | ||
and( | ||
eq(variables['Agent.Os'], 'Windows_NT'), | ||
in(variables['_SignType'], 'real', 'test') | ||
), | ||
and( | ||
${{ eq(parameters.enableMicrobuildForMacAndLinux, true) }}, | ||
ne(variables['Agent.Os'], 'Windows_NT'), | ||
eq(variables['_SignType'], 'real') | ||
) | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.