[release/v7.5] Deploy Box Update #24778
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport #24632
This pull request includes significant changes to the PowerShell release pipeline to improve the tagging, tool uploading, and artifact handling processes. The most important changes include the addition of a new repository, restructuring of stages and jobs, and the introduction of output variables for better pipeline integration.
Pipeline Configuration Changes:
Added
PSInternalToolsrepository to theresourcessection in.pipelines/PowerShell-Release-Official.ymlto include internal tools.Replaced the
DownloadPackagesstage with a newsetReleaseTagAndUploadToolsstage, including a new job templaterelease-SetTagAndTools.yml. This change restructures the pipeline to set release tags and upload tools before proceeding with other stages. [1] [2] [3]Job and Step Modifications:
Updated the
release-SetReleaseTagandContainerName.ymltemplate to set output variablesOutputReleaseTagandOutputVersionfor better integration with subsequent steps. [1] [2]Introduced a new job
SetTagAndToolsin therelease-SetTagAndTools.ymltemplate to handle setting tags, uploading tools, and signing artifacts.Artifact and Variable Handling:
Modified the
release-githubtasks.ymlandrelease-publish-nuget.ymltemplates to use the new output variables for release tags and versions, ensuring consistent artifact naming and handling. [1] [2] [3] [4]Updated the
release-validate-packagenames.ymltemplate to use theOutputReleaseTagvariable for setting the release name.Miscellaneous Updates:
RELEASETAGandVERSIONto therelease-shared.ymlvariable template for better parameterization and default initialization. [1] [2]These changes collectively enhance the pipeline's efficiency, maintainability, and clarity by organizing stages, improving artifact management, and ensuring consistent variable usage.