Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc5833b

Browse files
pwshBotjshigetomiTravisEz13
authored
[release/v7.5]!!!MERGE_CONFLICT!!! Remove Az module installs and AzureRM uninstalls in pipeline (#25327)
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
1 parent8ee12f6 commitdc5833b

11 files changed

+5
-107
lines changed

‎.pipelines/PowerShell-Packages-Official.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ variables:
6464
resources:
6565
pipelines:
6666
-pipeline:CoOrdinatedBuildPipeline
67-
source:'PowerShell-CoordinatedPackages-Official'
67+
source:'PowerShell-CoordinatedBinaries-Official'
6868
trigger:
6969
branches:
7070
include:

‎.pipelines/PowerShell-Release-Official-Azure.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ resources:
5656

5757
pipelines:
5858
-pipeline:CoOrdinatedBuildPipeline
59-
source:'PowerShell-CoordinatedPackages-Official'
59+
source:'PowerShell-CoordinatedBinaries-Official'
6060

6161
-pipeline:PSPackagesOfficial
6262
source:'PowerShell-Packages-Official'

‎.pipelines/PowerShell-Release-Official.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ resources:
7272

7373
pipelines:
7474
-pipeline:CoOrdinatedBuildPipeline
75-
source:'PowerShell-CoordinatedPackages-Official'
75+
source:'PowerShell-CoordinatedBinaries-Official'
7676

7777
-pipeline:PSPackagesOfficial
7878
source:'PowerShell-Packages-Official'

‎.pipelines/templates/checkAzureContainer.yml‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ jobs:
5151
}
5252
displayName: 'Check suppress.json'
5353
54-
# Needed as per FAQ here: https://eng.ms/docs/products/onebranch/build/troubleshootingfaqs
55-
-task:PowerShell@2
56-
displayName:'Update Az.Storage Module'
57-
inputs:
58-
targetType:'inline'
59-
script:|
60-
Get-PackageProvider -Name NuGet -ForceBootstrap
61-
Install-Module -Name Az.Storage -Verbose -Force -AllowClobber
62-
Uninstall-AzureRm -Verbose
63-
6454
-task:AzurePowerShell@5
6555
displayName:Check if blob exists and delete if specified
6656
inputs:

‎.pipelines/templates/compliance/apiscan.yml‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,6 @@ jobs:
7878
workingDirectory: '$(repoRoot)'
7979
retryCountOnTaskFailure: 2
8080
81-
-pwsh:|
82-
$modules = 'Az.Accounts', 'Az.Storage'
83-
foreach($module in $modules) {
84-
if(!(get-module $module -listavailable)) {
85-
Write-Verbose "installing $module..." -verbose
86-
Install-Module $module -force -AllowClobber
87-
} else {
88-
Write-Verbose "$module already installed." -verbose
89-
}
90-
}
91-
displayName: Install PowerShell modules
92-
workingDirectory: '$(repoRoot)'
93-
9481
-task:AzurePowerShell@5
9582
displayName:Download winverify-private Artifacts
9683
inputs:

‎.pipelines/templates/compliance/generateNotice.yml‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -95,29 +95,6 @@ jobs:
9595
Get-PackageProvider -Name NuGet -ForceBootstrap
9696
displayName: Initalize PowerShellGet
9797
98-
-powershell:|
99-
$modules = 'Az.Accounts', 'Az.Storage'
100-
foreach($module in $modules) {
101-
if(!(get-module $module -listavailable)) {
102-
Write-Verbose "installing $module..." -verbose
103-
Install-Module $module -force -AllowClobber
104-
} else {
105-
Write-Verbose "$module already installed." -verbose
106-
#Update-Module $module -verbose
107-
}
108-
}
109-
displayName: Install PowerShell modules
110-
111-
-powershell:|
112-
if(Get-Command -Name Uninstall-AzureRm -ErrorAction Ignore){
113-
Write-Verbose "running Uninstall-AzureRm" -verbose
114-
Uninstall-AzureRm
115-
} else {
116-
Write-Verbose "Uninstall-AzureRm not present" -verbose
117-
}
118-
displayName: Uninstall Uninstall-AzureRm
119-
continueOnError:true
120-
12198
-task:AzurePowerShell@5
12299
displayName:Upload Notice
123100
inputs:

‎.pipelines/templates/release-MakeBlobPublic.yml‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,6 @@ jobs:
5252
Get-ChildItem Env:
5353
displayName: 'Capture Environment Variables'
5454
55-
-pwsh:|
56-
$azureRmModule = Get-InstalledModule AzureRM -ErrorAction SilentlyContinue -Verbose
57-
if ($azureRmModule) {
58-
Write-Host 'AzureRM module exists. Removing it'
59-
Uninstall-AzureRm
60-
Write-Host 'AzureRM module removed'
61-
}
62-
63-
Install-Module -Name Az.Storage -Force -AllowClobber -Scope CurrentUser -Verbose
64-
displayName: Remove AzRM modules
65-
6655
-task:AzurePowerShell@5
6756
displayName:Copy blobs to PSInfra storage
6857
inputs:
@@ -150,17 +139,6 @@ jobs:
150139
Get-ChildItem Env:
151140
displayName: 'Capture Environment Variables'
152141
153-
-pwsh:|
154-
$azureRmModule = Get-InstalledModule AzureRM -ErrorAction SilentlyContinue -Verbose
155-
if ($azureRmModule) {
156-
Write-Host 'AzureRM module exists. Removing it'
157-
Uninstall-AzureRm
158-
Write-Host 'AzureRM module removed'
159-
}
160-
161-
Install-Module -Name Az.Storage -Force -AllowClobber -Scope CurrentUser -Verbose
162-
displayName: Remove AzRM modules
163-
164142
-task:AzurePowerShell@5
165143
displayName:Copy blobs to PSInfra storage
166144
inputs:

‎.pipelines/templates/release-create-msix.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
artifact:drop_windows_package_package_win_x86
2828
displayName:Download x86 msix
2929
patterns:'**/*.msix'
30-
30+
31+
# Finds the makeappx tool on the machine with image: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
3132
-pwsh:|
3233
$cmd = Get-Command makeappx.exe -ErrorAction Ignore
3334
if ($cmd) {

‎.pipelines/templates/release-upload-buildinfo.yml‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,6 @@ jobs:
104104
}
105105
displayName: Create json files
106106
107-
-pwsh:|
108-
$azureRmModule = Get-InstalledModule AzureRM -ErrorAction SilentlyContinue -Verbose
109-
if ($azureRmModule) {
110-
Write-Host 'AzureRM module exists. Removing it'
111-
Uninstall-AzureRm
112-
Write-Host 'AzureRM module removed'
113-
}
114-
115-
Install-Module -Name Az.Storage -Force -AllowClobber -Scope CurrentUser -Verbose
116-
displayName: Remove AzRM modules
117-
118107
-task:AzurePowerShell@5
119108
displayName:Upload buildjson to blob
120109
inputs:

‎.pipelines/templates/release-validate-packagenames.yml‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,6 @@ jobs:
2828
Write-Host "##vso[build.updatebuildnumber]$name"
2929
displayName: Set Release Name
3030
31-
-pwsh:|
32-
$azureRmModule = Get-InstalledModule AzureRM -ErrorAction SilentlyContinue -Verbose
33-
if ($azureRmModule) {
34-
Write-Host 'AzureRM module exists. Removing it'
35-
Uninstall-AzureRm
36-
Write-Host 'AzureRM module removed'
37-
}
38-
39-
Install-Module -Name Az.Storage -Force -AllowClobber -Scope CurrentUser -Verbose
40-
41-
displayName: Remove AzRM modules and install Az.Storage
42-
4331
-task:AzurePowerShell@5
4432
displayName:Upload packages to blob
4533
inputs:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp