Skip to content

Commit a4936fa

Browse files
authored
Merge branch 'main' into jinpei/main/Databricks-v4
2 parents beb061d + deed8db commit a4936fa

File tree

1,990 files changed

+425454
-195325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,990 files changed

+425454
-195325
lines changed

.azure-pipelines/PipelineSteps/test-steps.ps1

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,7 @@ if ($PowerShellPlatform) {
3131
$preference = $ErrorActionPreference
3232
$ErrorActionPreference = 'Continue'
3333
$buildProjPath = Join-Path $RepoRoot 'build.proj'
34-
35-
$buildArgs = "/p:Configuration=$Configuration;TestFramework=$TestFramework"
36-
37-
if ($IsLinux) {
38-
# Applying various parallelism/heap restriction behaviors to prevent OOM issues on Ubuntu 24.04
39-
Write-Host -ForegroundColor Yellow "Detected Linux agent - applying memory tuning for tests"
40-
$env:DOTNET_gcServer = "0"
41-
$env:DOTNET_gcHeapCount = "2"
42-
}
43-
44-
dotnet msbuild $buildProjPath /t:Test $buildArgs
45-
34+
dotnet msbuild $buildProjPath /t:Test "/p:Configuration=$Configuration;TestFramework=$TestFramework"
4635
Write-Host -ForegroundColor DarkGreen "-------------------- End testing ... --------------------`n`n`n`n`n"
4736

4837
# Test AutoGen Modules With PowerShell Core
@@ -85,4 +74,4 @@ if ($FailedModuleList.Length -ne 0)
8574
}
8675

8776
Set-Location $currentPath
88-
Write-Host -ForegroundColor DarkGreen "-------------------- End checking test status ... --------------------`n`n`n`n`n"
77+
Write-Host -ForegroundColor DarkGreen "-------------------- End checking test status ... --------------------`n`n`n`n`n"

.azure-pipelines/util/smoke-test-steps.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,18 @@ jobs:
7979
Write-Host "List artifacts..."
8080
Get-ChildItem "$(Pipeline.Workspace)\\LocalRepo\\"
8181
82+
- task: Bash@3
83+
displayName: 'Ensure Mono installed (required for NuGet.exe on 1ES Ubuntu >= 24)'
84+
condition: eq( variables['Agent.OS'], 'Linux' )
85+
inputs:
86+
targetType: inline
87+
script: |
88+
# Conditionally install Mono if missing from image
89+
command -v mono >/dev/null || {
90+
echo "Mono not found, installing...";
91+
sudo apt-get update -qq && sudo apt-get install -y mono-complete;
92+
}
93+
8294
- task: NuGetCommand@2
8395
condition: and(succeeded(), eq(variables['GalleryName'], 'LocalRepo'))
8496
displayName: 'Download Previous Az .nupkg Files'

.github/CODEOWNERS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# @wyunchi-ms @dolauli @isra-fel are from the Azure PowerShell team. Adding them ensures they can merge the PR for those modules.
22
# To make sure Network PRs go to the right branch, e.g. network-april
3-
/src/Compute/ @ookoka @haagha @audreyttt @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
4-
/src/PolicyInsights/ @pilor @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
5-
/src/Batch/ @wiboris @dpwatrous @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
3+
/src/Compute/ @ookoka @haagha @audreyttt @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft
4+
/src/PolicyInsights/ @pilor @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft
5+
/src/Batch/ @wiboris @dpwatrous @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft
66

77
# Make sure Device Registry team gets notified of any DeviceRegistry PRs:
88
# PRLabel: %Device Registry
9-
/src/DeviceRegistry/ @marcodalessandro @rohankhandelwal @riteshrao @davidemontanari @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
9+
/src/DeviceRegistry/ @marcodalessandro @rohankhandelwal @riteshrao @davidemontanari @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft
1010

1111
# Make sure changes to .github folder go through our team's double check
12-
/.github/ @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
12+
/.github/ @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft

.github/policies/resourceManagement.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3887,6 +3887,7 @@ configuration:
38873887
- mentionUsers:
38883888
mentionees:
38893889
- nazang
3890+
- mooshc
38903891
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
38913892
assignMentionees: False
38923893
- if:
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Monthly issue metrics
2+
on:
3+
workflow_dispatch:
4+
# schedule:
5+
# - cron: "3 2 1 * *"
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
build:
12+
name: issue metrics
13+
runs-on: ubuntu-latest
14+
permissions:
15+
issues: write
16+
pull-requests: read
17+
steps:
18+
- name: Get dates for last month
19+
shell: bash
20+
run: |
21+
# Calculate the first day of the previous month
22+
first_day=$(date -d "last month" +%Y-%m-01)
23+
24+
# Calculate the last day of the previous month
25+
last_day=$(date -d "$first_day +1 month -1 day" +%Y-%m-%d)
26+
27+
#Set an environment variable with the date range
28+
echo "$first_day..$last_day"
29+
echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"
30+
31+
- name: Run issue-metrics tool
32+
uses: github/issue-metrics@v3
33+
env:
34+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
SEARCH_QUERY: 'repo:Azure/azure-powershell is:pr created:${{ env.last_month }}'
36+
DRAFT_PR_TRACKING: 'True'
37+
38+
- name: Create issue
39+
uses: peter-evans/create-issue-from-file@v5
40+
with:
41+
title: Monthly issue metrics report
42+
token: ${{ secrets.GITHUB_TOKEN }}
43+
content-filepath: ./issue_metrics.md

.github/workflows/script/PrLabeled.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ $CommentDict = @{
1515
‼️ DO NOT MERGE THIS PR ‼️
1616
This PR was labeled "Do Not Merge" because it contains code change that cannot be merged. Please contact the reviewer for more information.
1717
"@
18-
"Breaking Change Release" = @"
18+
"Contains Breaking Change" = @"
1919
To the author of the pull request,
20-
This PR was labeled "Breaking Change Release" because it contains breaking changes.
20+
This PR was labeled "Contains Breaking Change" because breaking changes have been detected by the static analysis pipeline.
2121
- According to our [policy](https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/devguide/azps/breaking-change/breaking-changes-policy), breaking changes can only take place during major release and they must be preannounced.
2222
- Please follow our [guide](https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/devguide/azps/breaking-change/breaking-changes-process) on the detailed steps.
2323
- [ ] **Required**: Please fill in the [task](https://msazure.visualstudio.com/One/_workitems/create/Task?templateId=030c9f4f-a13e-4393-9b87-ae6fd458692b&ownerId=5439f061-9499-4da9-8c5a-659bd6db3188) below to facilitate our contact,you will receive notifications related to breaking changes.

ChangeLog.md

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,132 @@
1+
## 14.5.0 - October 2025
2+
#### Az.Automation 1.11.2
3+
* Fixed runbook_type: 'PowerShell72' [#24779][#23967]
4+
5+
#### Az.CloudService 2.1.1
6+
* Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
7+
8+
#### Az.Compute 10.4.0
9+
* Added '-InstantAccessDurationMinutes' parameter to New-AzSnapshotConfig.
10+
* Added 'SecureVMGuestStateSAS' parameter to 'Grant-AzSnapshotAccess'.
11+
* Updated SDK to use 2025-04-01 version of the ComputeRP API for Compute related cmdlets.
12+
13+
#### Az.Databricks 1.10.1
14+
* Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
15+
16+
#### Az.DataFactory 1.19.5
17+
* Added support for Salesforce V2 partitionOption feature.
18+
* Added support MI In Lakehouse And Warehouse connection.
19+
20+
#### Az.DataMigration 1.0.0
21+
* General availability for module Az.DataMigration
22+
* Upgraded Data Migration API to stable version '2025-06-30'.
23+
* Added support for retrying database migrations and for deleting SQL VM and SQL MI Database Migration Services.
24+
* Added cmdlets: 'Invoke-AzDataMigrationRetryToSqlDb', 'Remove-AzDataMigrationToSqlManagedInstance', 'Remove-AzDataMigrationToSqlVM'
25+
26+
#### Az.FirmwareAnalysis 1.0.0
27+
* General availability for module Az.FirmwareAnalysis
28+
* Upgraded API support to include 2025-08-02
29+
* Added usage metric support via the Get-AzFirmwareAnalysisUsageMetric cmdlet
30+
31+
#### Az.HDInsight 6.4.0
32+
* Supported create cluster with entra user as gateway credential to replace use username and password.
33+
- Added parameter '-EntraUserIdentity' to cmdlet 'New-AzHDInsightCluster' to support creating Entra user clusters using one or more ObjectId or Upn.
34+
- Added parameter '-EntraUserFullInfo' to cmdlet 'New-AzHDInsightCluster' to support creating Entra user clusters using an array of hashtables that include ObjectId, Upn, and DisplayName.
35+
* Supported update Entra user information for an existing Entra user cluster.
36+
- Added parameter '-EntraUserIdentity' to cmdlet 'Set-AzHDInsightGatewayCredential' to support update Entra user clusters using one or more ObjectId or Upn.
37+
- Added parameter '-EntraUserFullInfo' to cmdlet 'Set-AzHDInsightGatewayCredential' to support update Entra user clusters using an array of hashtables that include ObjectId, Upn, and DisplayName.
38+
* Added support for using WASB storage with Managed Identity (MSI) in the 'New-AzHDInsightCluster' cmdlet.
39+
-Users can specify the 'StorageAccountManagedIdentity' parameter to use MSI as a wasb storage credential when creating a cluster, as an alternative to using 'StorageAccountKey'.
40+
41+
#### Az.KeyVault 6.4.0
42+
* Added Managed HSM network rule cmdlets mirroring existing Key Vault network rule management: 'New-AzKeyVaultManagedHsmNetworkRuleSetObject', 'Add-AzKeyVaultManagedHsmNetworkRule', 'Remove-AzKeyVaultManagedHsmNetworkRule', 'Update-AzKeyVaultManagedHsmNetworkRuleSet'
43+
* New-AzKeyVaultManagedHsm now supports -NetworkRuleSet parameter to specify Managed HSM network rules (default action, bypass, IP ranges, virtual network resource IDs) at creation.
44+
* Managed HSM network rule enforcement: when any IP or Virtual Network rules are present the client now automatically coerces DefaultAction to Deny (service requirement) and adds a final safeguard at request dispatch. Subscriptions must be allow-listed by the service to use IP/Service Tag ACL features.
45+
46+
#### Az.LoadTesting 1.1.1
47+
* Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
48+
49+
#### Az.Migrate 2.10.0
50+
* Fixed bugs in 'New-AzMigrateLocalDiskMappingObject': Only validate for non-512 physical sector size of VHD when '-PhysicalSectorSize' parameter is given
51+
* Fixed bugs in 'New-AzMigrateLocalServerReplication': Only validate for non-512 physical sector size of VHD when '-PhysicalSectorSize' parameter is given. Removed reserved words validation for source disk names as it is no longer required. Added ARM id validation for input parameters
52+
* Fixed bugs in 'Set-AzMigrateLocalServerReplication': Added ARM id validation for input parameters
53+
* Fixed bugs in 'Get-AzMigrateLocalServerReplication': Added ARM id validation for input parameters
54+
* Enhanced Get-AzMigrateServerMigrationStatus to add support for the -Expedite parameter.
55+
56+
#### Az.Network 7.21.0
57+
- Added deprecation warning for cmdlet 'Invoke-AzFirewallPacketCapture'
58+
* Added new cmdlet for Invoke PacketCaptureOperation on Azure Firewall
59+
- 'Invoke-AzFirewallPacketCaptureOperation'
60+
* Updated cmdlet to add the mandatory property of 'Operation' and made all other properties not mandatory for Azure Firewall Packet Capture Parameters. Updated corresponding cmdlets.
61+
- 'New-AzFirewallPacketCaptureParameter'
62+
* Added new cmdlet for List NetworkSecurityPerimeter ServiceTags
63+
- 'Get-AzNetworkSecurityPerimeterServiceTag'
64+
* Added properties 'DedicatedBackendConnection', 'ValidateCertChainAndExpiry', 'ValidateSNI', and 'SniName' to Application Gateway Backend HTTP Settings, as well as support for them in the following cmdlets:
65+
- 'New-AzApplicationGatewayBackendHttpSetting'
66+
- 'Add-AzApplicationGatewayBackendHttpSetting'
67+
- 'Set-AzApplicationGatewayBackendHttpSetting'
68+
* Added cmdlet 'Get-AzAllVirtualNetworkGatewayRadiusServerSecret' to fetch list of VirtualNetworkGateway VpnClientConfiguration Radius servers and corresponding radius secrets.
69+
* Added cmdlet 'Get-AzAllVpnServerConfigurationRadiusServerSecret ' to fetch list of VirtualWan VpnServerConfiguration Radius servers and corresponding radius secrets.
70+
71+
#### Az.RecoveryServices 7.9.0
72+
* Added Cross region restore support for new region - eastus3.
73+
* Added support for reregistration of a backup item to another vault.
74+
75+
#### Az.ResourceMover 1.3.1
76+
* Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
77+
78+
#### Az.Resources 8.1.1
79+
* Fixed issue where RoleAssignment cmdlets did not properly handle insufficient MSGraph permissions [#28583]
80+
81+
#### Az.SecurityInsights 3.2.1
82+
* Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
83+
84+
#### Az.ServiceFabric 3.8.0
85+
* Changed from 'Basic' to 'Standard' SKUs for loadbalancers and public IP addresses for 'New-AzServiceFabricCluster' and 'Add-AzServiceFabricNodeType' as 'Basic' SKUs are being deprecated.
86+
* Added parameters '-EnableAutoOsUpgrade' and '-AllowRdpAccess' to 'New-AzServiceFabricManagedCluster' and 'Set-AzServiceFabricManagedCluster'.
87+
* Added parameters '-ZoneBalance', '-AllowOverProvisioning', and '-Zone' to 'New-AzServiceFabricManagedNodeType' and 'Set-AzServiceFabricManagedNodeType'.
88+
* Added preannoucement for removing Reimage parameters from 'Set-AzServiceFabricManagedNodeType'.
89+
* Added new cmdlets for managed node types: 'Invoke-AzServiceFabricDeallocateManagedNodeType', 'Invoke-AzServiceFabricRedeployManagedNodeType', 'Invoke-AzServiceFabricReimageManagedNodeType', 'Start-AzServiceFabricManagedNodeType'
90+
* Marked 'NodeName' as non-required and added parameter '-UpdateType' in 'Restart-AzServiceFabricManagedNodeType' to allow UD by UD restarts of all nodes in node type.
91+
* Renamed Remove-AzServiceFabricManagedNodeType parameter sets to use 'Remove' instead of 'Delete' for consistency with cmdlet name.
92+
93+
#### Az.SignalR 2.2.0
94+
* Added cmdlets for managing custom domains: 'New-AzSignalRCustomDomain', 'Get-AzSignalRCustomDomain', 'Remove-AzSignalRCustomDomain', 'Update-AzSignalRCustomDomain'
95+
* Added cmdlets for managing custom certificates: 'New-AzSignalRCustomCertificate', 'Get-AzSignalRCustomCertificate', 'Remove-AzSignalRCustomCertificate', 'Update-AzSignalRCustomCertificate'
96+
* Added '-EnableSystemAssignedIdentity' and 'UserAssignedIdentity' for managed identity to 'New-AzSignalR' and 'Update-AzSignalR'
97+
98+
#### Az.Sql 6.2.0
99+
* Improved parameter validation for the EnableSoftDelete and SoftDeleteRetentionDays parameters.
100+
* Added 'EnableSoftDelete' and 'SoftDeleteRetentionDays' to 'New-AzSqlServer' to support soft-delete retention
101+
* Added 'EnableSoftDelete' and 'SoftDeleteRetentionDays' to 'Set-AzSqlServer' to support soft-delete retention
102+
* Added 'Restore-AzSqlServer' cmdlet to restore a deleted Azure SQL server within the retention period
103+
104+
#### Az.StackHCI 2.6.3
105+
* Modified the Cluster Registration to use Managed Service Identity instead of AAD App based registration for new OS versions.
106+
107+
#### Az.Storage 9.2.0
108+
* Supported Zone and ZonePlacementPolicy on Storage accounts: 'New-AzStorageAccount', 'Set-AzStorageAccount'
109+
* Supported listing Storage SKU: 'Get-AzStorageSku'
110+
* Supported enabling SMB Oauth on Storage accounts: 'New-AzStorageAccount', 'Set-AzStorageAccount'
111+
* Supported Enable Metrics when set object replication policy: 'Set-AzStorageObjectReplicationPolicy'
112+
* Supported create and get symbolic link in NFS File Share: 'New-AzStorageFileSymbolicLink', 'Get-AzStorageFileSymbolicLink'
113+
114+
#### Az.StorageDiscovery 1.0.0
115+
* General availability for module Az.StorageDiscovery
116+
117+
#### Az.StorageMover 1.6.0
118+
* Added support for new api version 2025-07-01
119+
* Included new endpoint types supported in the api version: 'MultiCloudConnector', 'NFSFileShare'
120+
* Enhanced help documentation for New-AzStorageMoverAzStorageContainerEndpoint and New-AzStorageMoverMultiCloudConnectorEndpoint with identity details.
121+
* Corrected online version link for Update-AzStorageMoverAzNfsFileShareEndpoint help documentation.
122+
* Added identity information to the output properties in help documentation for storage container and multi-cloud connector endpoints.
123+
124+
#### Az.Websites 3.4.2
125+
* Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
126+
127+
#### Az.Workloads 1.0.1
128+
* Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
129+
1130
## 14.4.0 - September 2025
2131
#### Az.Accounts 5.3.0
3132
* Updated 'AuthenticationAssemblyLoadContext' project to deprecate .NET 6.0 and build on .NET 8.0.

NuGet.Config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838

3939

4040

41+
42+
43+
44+
4145

4246

4347

docker/Dockerfile-alpine-3.20 renamed to docker/Dockerfile-alpine-3.21

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/powershell:alpine-3.20
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine3.21
22
RUN apk update && apk upgrade --no-cache
33

44
ARG REPOSITORY=PSGallery
@@ -11,9 +11,9 @@ ARG BUILD_DATE=
1111
ARG VERSION=
1212
ARG LATEST=
1313
ARG BLOB_URL=
14-
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-alpine-3.20
14+
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-alpine-3.21
1515

16-
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-alpine-3.20"
16+
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-alpine-3.21"
1717

1818
LABEL maintainer="Azure PowerShell Team <[email protected]>" \
1919
readme.md="http://aka.ms/azpsdockerreadme" \

docker/Dockerfile-ubi-8 renamed to docker/Dockerfile-alpine-3.22

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FROM mcr.microsoft.com/powershell:ubi-8
2-
RUN yum update -y && yum clean all
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine3.22
2+
RUN apk update && apk upgrade --no-cache
33

44
ARG REPOSITORY=PSGallery
55
ARG MODULE=Az
@@ -11,26 +11,26 @@ ARG BUILD_DATE=
1111
ARG VERSION=
1212
ARG LATEST=
1313
ARG BLOB_URL=
14-
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-ubi-8
14+
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-alpine-3.22
1515

16-
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-ubi-8"
16+
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-alpine-3.22"
1717

1818
LABEL maintainer="Azure PowerShell Team <[email protected]>" \
19-
readme.md="http://aka.ms/azpsdockerreadme" \
20-
description="This Dockerfile will install the latest release of Azure PowerShell." \
21-
org.label-schema.build-date=${BUILD_DATE} \
22-
org.label-schema.usage="http://aka.ms/azpsdocker" \
23-
org.label-schema.url="http://aka.ms/azpsdockerreadme" \
24-
org.label-schema.vcs-url="https://github.com/Azure/azure-powershell" \
25-
org.label-schema.name="azure powershell" \
26-
org.label-schema.vendor="Azure PowerShell" \
27-
org.label-schema.version=${VERSION} \
28-
org.label-schema.schema-version="1.0" \
29-
org.label-schema.vcs-ref=${VCS_REF} \
30-
org.label-schema.docker.cmd="docker run --rm ${IMAGE_NAME} pwsh -c '\$PSVERSIONTABLE'" \
31-
org.label-schema.docker.cmd.devel="docker run -it --rm -e 'DebugPreference=Continue' ${IMAGE_NAME} pwsh" \
32-
org.label-schema.docker.cmd.test="currently not available" \
33-
org.label-schema.docker.cmd.help="docker run --rm ${IMAGE_NAME} pwsh -c Get-Help"
19+
readme.md="http://aka.ms/azpsdockerreadme" \
20+
description="This Dockerfile will install the latest release of Azure PowerShell." \
21+
org.label-schema.build-date=${BUILD_DATE} \
22+
org.label-schema.usage="http://aka.ms/azpsdocker" \
23+
org.label-schema.url="http://aka.ms/azpsdockerreadme" \
24+
org.label-schema.vcs-url="https://github.com/Azure/azure-powershell" \
25+
org.label-schema.name="azure powershell" \
26+
org.label-schema.vendor="Azure PowerShell" \
27+
org.label-schema.version=${VERSION} \
28+
org.label-schema.schema-version="1.0" \
29+
org.label-schema.vcs-ref=${VCS_REF} \
30+
org.label-schema.docker.cmd="docker run --rm ${IMAGE_NAME} pwsh -c '\$PSVERSIONTABLE'" \
31+
org.label-schema.docker.cmd.devel="docker run -it --rm -e 'DebugPreference=Continue' ${IMAGE_NAME} pwsh" \
32+
org.label-schema.docker.cmd.test="currently not available" \
33+
org.label-schema.docker.cmd.help="docker run --rm ${IMAGE_NAME} pwsh -c Get-Help"
3434

3535
RUN if [ "${LATEST}" = True ] ; then \
3636
# install latest azure-powershell from BLOB

0 commit comments

Comments
 (0)