Skip to content

Commit 5e7e471

Browse files
azure-powershell-botazurepowershell
and
azurepowershell
authored
Sync tools folder from main branch to generation branch (#25822)
Co-authored-by: azurepowershell <azurepowershell@ms.com>
1 parent 1cfb527 commit 5e7e471

File tree

5 files changed

+27
-0
lines changed

5 files changed

+27
-0
lines changed

tools/Az/Az.psd1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.3'; },
113113
@{ModuleName = 'Az.Nginx'; RequiredVersion = '1.1.0'; },
114114
@{ModuleName = 'Az.NotificationHubs'; RequiredVersion = '1.1.2'; },
115115
@{ModuleName = 'Az.OperationalInsights'; RequiredVersion = '3.2.1'; },
116+
@{ModuleName = 'Az.Oracle'; RequiredVersion = '0.1.0'; },
116117
@{ModuleName = 'Az.PolicyInsights'; RequiredVersion = '1.6.5'; },
117118
@{ModuleName = 'Az.PostgreSql'; RequiredVersion = '1.1.1'; },
118119
@{ModuleName = 'Az.PowerBIEmbedded'; RequiredVersion = '2.0.0'; },

tools/NugetAuth/OneBranchNuget.Config

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<clear />
5+
<!-- Do not add any additional feeds if new packages are needed they need to come from nuget.org or our azure-sdk-for-net DevOps feed -->
6+
<add key="azure-powershell-onebranch" value="https://pkgs.dev.azure.com/azclitools/public/_packaging/azure-powershell-onebranch/nuget/v3/index.json" />
7+
</packageSources>
8+
<disabledPackageSources>
9+
<clear />
10+
</disabledPackageSources>
11+
</configuration>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$oneBranchConfigPath = Join-Path $PSScriptRoot 'OneBranchNuget.Config'
2+
$devConfigPath = Join-Path ($PSScriptRoot | Split-path -Parent | Split-path -Parent) 'Nuget.Config'
3+
4+
Get-Content $oneBranchConfigPath -Raw | Set-Content $devConfigPath -Force
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
$scriptPath = Join-Path $PSScriptRoot installcredprovider.ps1
2+
New-Item -ItemType File -Path $scriptPath
3+
(Invoke-WebRequest -Uri "https://raw.githubusercontent.com/microsoft/artifacts-credprovider/master/helpers/installcredprovider.ps1").Content | Set-Content $scriptPath -force
4+
5+
. $scriptPath -AddNetfx -Force
6+
7+
Remove-Item $scriptPath -Force
8+
9+
$configScriptPath = Join-Path $PSScriptRoot 'ReplaceOneBranchConfig.ps1'
10+
. $configScriptPath
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
"Module","Minimal Version"
2+
"Az.Oracle","1.0.0"

0 commit comments

Comments
 (0)