Remove Az module installs and AzureRM uninstalls in pipeline#25118
Remove Az module installs and AzureRM uninstalls in pipeline#25118TravisEz13 merged 7 commits intomasterfrom
Conversation
…pipeline to use the tool
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
TravisEz13
left a comment
There was a problem hiding this comment.
Please verify that binary and package builds run.
andyleejordan
left a comment
There was a problem hiding this comment.
Half or more of the instances where we're installing Az.Accounts and Az.Storage from the CFS feed using Install-PSResource are happening in places where there's existing logic to check if the PowerShell AzureRM module is installed, and then uninstalling it, and then installing our packages. What's up with that?
|
How's this different from #25123? |
This one is going into master, the other one is testing these changes on the internal 7.4.9 release to verify it works. The plan is to merge this into master once its verified on the other branch. |
|
/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
|
📣 Hey @jshigetomi, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
PR Summary
This pull request includes several changes to various pipeline YAML files and the addition of a new PowerShell script. The changes mainly focus on modifying pipeline sources and removing unnecessary PowerShell module installation tasks.
Pipeline source updates:
CoOrdinatedBuildPipelinefrom 'PowerShell-Coordinated Packages-Official' to 'PowerShell-Coordinated Binaries-Official' in.pipelines/PowerShell-Packages-Official.yml[1].pipelines/PowerShell-Release-Official-Azure.yml[2] and.pipelines/PowerShell-Release-Official.yml[3].Removal of unnecessary tasks:
Az.Storagemodule in.pipelines/templates/checkAzureContainer.yml..pipelines/templates/compliance/apiscan.yml..pipelines/templates/compliance/generateNotice.yml.AzureRMmodules and installAz.Storagein.pipelines/templates/release-MakeBlobPublic.yml[1] [2].pipelines/templates/release-create-msix.yml[3].pipelines/templates/release-upload-buildinfo.yml[4].pipelines/templates/release-validate-packagenames.yml[5] and.pipelines/templates/uploadToAzure.yml[6].Addition of a new PowerShell script:
tools/installPSResources.ps1to handle the installation of specific PowerShell modules from either the PSGallery or a custom feed.PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.- [ ] Issue filed:
(which runs in a different PS Host).