Skip to content

Aks OOB Release #27900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: wyunchi/cfs
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@







4 changes: 2 additions & 2 deletions src/Aks/Aks.Management.Sdk/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
[assembly: AssemblyTitle("Microsoft Azure Container Service Management Library")]
[assembly: AssemblyDescription("Provides Container Service management capabilities for Microsoft Azure.")]

[assembly: AssemblyVersion("7.0.0")]
[assembly: AssemblyFileVersion("7.0.0")]
[assembly: AssemblyVersion("7.0.1")]
[assembly: AssemblyFileVersion("7.0.1")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Azure .NET SDK")]
[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")]
Expand Down
9 changes: 4 additions & 5 deletions src/Aks/Aks/Az.Aks.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 5/14/2025
# Generated on: 6/9/2025
#

@{
Expand All @@ -12,7 +12,7 @@
# RootModule = ''

# Version number of this module.
ModuleVersion = '7.0.0'
ModuleVersion = '7.0.1'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down Expand Up @@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.0.0'; })
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.0'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'Aks.Autorest/bin/Az.Aks.private.dll',
Expand Down Expand Up @@ -130,8 +130,7 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md).
* Updated the default value of ''-NodeVmSize'' parameter in ''New-AzAksCluster'' and ''-VmSize'' parameter in ''New-AzAksNodePool'' from ''Standard_D2_V2'' to being dynamically selected by the AKS resource provider based on quota and capacity in the next major release.'
ReleaseNotes = '* test'

# Prerelease string of this module
# Prerelease = ''
Expand Down
3 changes: 3 additions & 0 deletions src/Aks/Aks/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
-->
## Upcoming Release

## Version 7.0.1
* test

## Version 7.0.0
* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md).
* Updated the default value of `-NodeVmSize` parameter in `New-AzAksCluster` and `-VmSize` parameter in `New-AzAksNodePool` from 'Standard_D2_V2' to being dynamically selected by the AKS resource provider based on quota and capacity in the next major release.
Expand Down
4 changes: 2 additions & 2 deletions src/Aks/Aks/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("a97e0c3e-e389-46a6-b73d-2b9bd6909bdb")]
[assembly: AssemblyVersion("7.0.0")]
[assembly: AssemblyFileVersion("7.0.0")]
[assembly: AssemblyVersion("7.0.1")]
[assembly: AssemblyFileVersion("7.0.1")]
2 changes: 1 addition & 1 deletion tools/Az/Az.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ DotNetFrameworkVersion = '4.7.2'
# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.0.2'; },
@{ModuleName = 'Az.Advisor'; RequiredVersion = '2.1.0'; },
@{ModuleName = 'Az.Aks'; RequiredVersion = '7.0.0'; },
@{ModuleName = 'Az.Aks'; RequiredVersion = '7.0.1'; },
@{ModuleName = 'Az.AnalysisServices'; RequiredVersion = '1.2.0'; },
@{ModuleName = 'Az.ApiManagement'; RequiredVersion = '4.1.0'; },
@{ModuleName = 'Az.App'; RequiredVersion = '2.0.1'; },
Expand Down
2 changes: 1 addition & 1 deletion tools/AzPreview/AzPreview.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ DotNetFrameworkVersion = '4.7.2'
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.0.2'; },
@{ModuleName = 'Az.ADDomainServices'; RequiredVersion = '0.3.0'; },
@{ModuleName = 'Az.Advisor'; RequiredVersion = '2.1.0'; },
@{ModuleName = 'Az.Aks'; RequiredVersion = '7.0.0'; },
@{ModuleName = 'Az.Aks'; RequiredVersion = '7.0.1'; },
@{ModuleName = 'Az.AksArc'; RequiredVersion = '0.1.4'; },
@{ModuleName = 'Az.Alb'; RequiredVersion = '0.1.4'; },
@{ModuleName = 'Az.AlertsManagement'; RequiredVersion = '0.7.0'; },
Expand Down
2 changes: 1 addition & 1 deletion tools/Docs/az-ps-latest-1.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pac0,[ps=true;customSource=https://azpspackage.blob.core.windows.net/docs-release/Az.Accounts.5.0.2.zip;sourceType=sa]Az.Accounts,5.0.2
pac1,[ps=true;customSource=https://azpspackage.blob.core.windows.net/docs-release/Az.ADDomainServices.0.3.0.zip;sourceType=sa]Az.ADDomainServices,0.3.0
pac2,[ps=true;customSource=https://azpspackage.blob.core.windows.net/docs-release/Az.Advisor.2.1.0.zip;sourceType=sa]Az.Advisor,2.1.0
pac3,[ps=true;customSource=https://azpspackage.blob.core.windows.net/docs-release/Az.Aks.7.0.0.zip;sourceType=sa]Az.Aks,7.0.0
pac3,[ps=true;customSource=https://azpspackage.blob.core.windows.net/docs-release/Az.Aks.7.0.1.zip;sourceType=sa]Az.Aks,7.0.1
pac4,[ps=true;customSource=https://azpspackage.blob.core.windows.net/docs-release/Az.AksArc.0.1.4.zip;sourceType=sa]Az.AksArc,0.1.4
pac5,[ps=true;customSource=https://azpspackage.blob.core.windows.net/docs-release/Az.Alb.0.1.4.zip;sourceType=sa]Az.Alb,0.1.4
pac6,[ps=true;customSource=https://azpspackage.blob.core.windows.net/docs-release/Az.AlertsManagement.0.7.0.zip;sourceType=sa]Az.AlertsManagement,0.7.0
Expand Down
35 changes: 31 additions & 4 deletions tools/RunVersionController.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,28 @@ function Bump-AzVersion
$localAz = Import-PowerShellDataFile -Path "$PSScriptRoot\Az\Az.psd1"
Write-Host "Getting Az $ReleaseType information from gallery..." -ForegroundColor Yellow
if("LTS" -eq $ReleaseType){
$galleryAz = (Find-Module -Name Az -Repository $GalleryName -AllVersions | Where-Object {([System.Version]($_.Version)).Major%2 -eq 0} | Sort-Object {[System.Version]$_.Version} -Descending)[0]
}else{
$galleryAz = Find-Module -Name Az -Repository $GalleryName
if (Test-Path Env:\DEFAULT_PS_REPOSITORY_URL) {
Write-Host "Using DEFAULT_PS_REPOSITORY_NAME: $Env:DEFAULT_PS_REPOSITORY_NAME"
$AccessTokenSecureString = $env:SYSTEM_ACCESS_TOKEN | ConvertTo-SecureString -AsPlainText -Force
$credentialsObject = [pscredential]::new("ONEBRANCH_TOKEN", $AccessTokenSecureString)
$galleryAz = Find-PSResource -Name AzPreview -Repository $Env:DEFAULT_PS_REPOSITORY_NAME -Credential $credentialsObject -TrustRepository
}
else {
$galleryAz = Find-PSResource -Name AzPreview -Repository $GalleryName -Version *
}
$galleryAz = $galleryAz | Where-Object { ([System.Version]($_.Version)).Major%2 -eq 0 } | Sort-Object {[System.Version]$_.Version} -Descending
}
else
{
if (Test-Path Env:\DEFAULT_PS_REPOSITORY_URL) {
Write-Host "Using DEFAULT_PS_REPOSITORY_NAME: $Env:DEFAULT_PS_REPOSITORY_NAME"
$AccessTokenSecureString = $env:SYSTEM_ACCESS_TOKEN | ConvertTo-SecureString -AsPlainText -Force
$credentialsObject = [pscredential]::new("ONEBRANCH_TOKEN", $AccessTokenSecureString)
$galleryAz = Find-PSResource -Name AzPreview -Repository $Env:DEFAULT_PS_REPOSITORY_NAME -Credential $credentialsObject -TrustRepository
}
else {
$galleryAz = Find-PSResource -Name AzPreview -Repository $GalleryName
}
}

$versionBump = [PSVersion]::NONE
Expand Down Expand Up @@ -325,7 +344,15 @@ function Update-AzPreviewChangelog
$AzPreviewVersion = (Import-PowerShellDataFile "$PSScriptRoot\Az\Az.psd1").ModuleVersion
$localAz = Import-PowerShellDataFile -Path "$PSScriptRoot\AzPreview\AzPreview.psd1"
Write-Host "Getting gallery AzPreview information..." -ForegroundColor Yellow
$galleryAz = Find-Module -Name AzPreview -Repository $GalleryName
if (Test-Path Env:\DEFAULT_PS_REPOSITORY_URL) {
Write-Host "Using DEFAULT_PS_REPOSITORY_NAME: $Env:DEFAULT_PS_REPOSITORY_NAME"
$AccessTokenSecureString = $env:SYSTEM_ACCESS_TOKEN | ConvertTo-SecureString -AsPlainText -Force
$credentialsObject = [pscredential]::new("ONEBRANCH_TOKEN", $AccessTokenSecureString)
$galleryAz = Find-PSResource -Name AzPreview -Repository $Env:DEFAULT_PS_REPOSITORY_NAME -Credential $credentialsObject -TrustRepository
}
else {
$galleryAz = Find-PSResource -Name AzPreview -Repository $GalleryName
}
$updatedModules = @()
foreach ($localDependency in $localAz.RequiredModules)
{
Expand Down
Loading
Loading