Skip to content

Conversation

@TravisEz13
Copy link
Member

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 PSInternalTools repository to the resources section in .pipelines/PowerShell-Release-Official.yml to include internal tools.

  • Replaced the DownloadPackages stage with a new setReleaseTagAndUploadTools stage, including a new job template release-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.yml template to set output variables OutputReleaseTag and OutputVersion for better integration with subsequent steps. [1] [2]

  • Introduced a new job SetTagAndTools in the release-SetTagAndTools.yml template to handle setting tags, uploading tools, and signing artifacts.

Artifact and Variable Handling:

  • Modified the release-githubtasks.yml and release-publish-nuget.yml templates 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.yml template to use the OutputReleaseTag variable for setting the release name.

Miscellaneous Updates:

  • Added new parameters RELEASETAG and VERSION to the release-shared.yml variable 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.

* reverted one time changes

* added ob_outputDirectory

* added mscode variable group

* forgot to move psm1 to ToolArtifact folder

* added pipeline name and passing toolartifact through context

* added tools

* PSPackagesOfficial

* removed tools clone

* added uploading CL

* verbose statements for release tag and release version

* trying to regerence variable with step name

* checking REPOROOT

* removed get child item

* Deploy box update

* nuget template context pipeline name correction

* changed other instances of releasetag

* added -Verbose to Copy-Item

* checkout task, instead of git clone

* changed to Build.SourcesDirectory

* removed path specification

* removed path

* added tsa and credscan

* not copying tools to artifacts

* official and production

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
@TravisEz13
Copy link
Member Author

/azp run PowerShell-CI-macos, PowerShell-CI-Linux, PowerShell-CI-Windows, PowerShell-CI-static-analysis, PSResourceGet ACR

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@TravisEz13 TravisEz13 closed this Jan 14, 2025
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Jan 14, 2025

📣 Hey @TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@TravisEz13 TravisEz13 deleted the backport-24632 branch March 24, 2025 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants