Skip to content
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

sync az.recovery services7.x.x preview with main #23116

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
c8f44ba
Remove support for ubuntu-18.04 (#22795)
wyunchi-ms Sep 15, 2023
6d3dd73
Remove trailing space on each line for the yaml to avoid unnecessary …
vidai-msft Sep 15, 2023
cd11930
Updated TVM warning message for Azure Site Recovery (#22806)
vidyadharijami Sep 18, 2023
9a8a576
Sync resourceManagement.yml (#22804)
azure-powershell-bot Sep 18, 2023
0b90fc9
Add Remove-AzVM example to remove vm in vmss flex (#22813)
Sandido Sep 19, 2023
2405d43
Updated TLAD warning message for Azure Site Recovery (#22812)
vidyadharijami Sep 19, 2023
f021bc6
Add module name in autorest generated breaking changes messages (#22810)
YanaXu Sep 19, 2023
cdab351
Upgrade Application Insights to 2.18.0 (#22777)
msJinLei Sep 19, 2023
6fc1be2
Migrate ResourceMover from generation to main (#22748)
azure-powershell-bot Sep 19, 2023
edba315
Fixed typo in ChangeLog.md (#22818)
BethanyZhou Sep 19, 2023
be06c80
Migrate HdInsightOnAks from generation to release-2023-09-26 (#22819)
azure-powershell-bot Sep 19, 2023
05fa715
[Az.KeyVault] Security domain Upload Split (#22671)
NoriZC Sep 19, 2023
ce3476c
Added support for AlwaysOn soft delete state (#22817)
hiaga Sep 19, 2023
20c34c0
upgrade common version to 1.3.86 (#22820)
YanaXu Sep 19, 2023
4d22bf5
[Az.KeyVault] Add help example title for Import-AzKeyVaultSecurityDom…
NoriZC Sep 20, 2023
6484ccc
update changelog for queue breaking change (#22833)
yifanz7 Sep 20, 2023
1a4dbfc
release-2023-09-26 (#22821)
BethanyZhou Sep 21, 2023
6c68070
[NetAppFiles]Use autorest.powershell to generate sdk (#22834)
YanaXu Sep 21, 2023
91b22b9
release-2023-09-26 (#22839)
BethanyZhou Sep 21, 2023
da2d24b
Revert "release-2023-09-26 (#22839)" (#22842)
VeryEarly Sep 21, 2023
9d7b838
release-2023-09-26 (#22843)
BethanyZhou Sep 21, 2023
4e372e5
Migrate StackHCI from generation to main (#22851)
azure-powershell-bot Sep 25, 2023
8a8330a
Generate SDK for CognitiveService via autorest.powershell (#22808)
wyunchi-ms Sep 26, 2023
98a7971
Update RmCoreSmokeTests.ps1 (#22854)
BethanyZhou Sep 26, 2023
1baadb0
Bump up version for StackHCI (#22852)
azure-powershell-bot Sep 26, 2023
a6cf6ef
Revert "Fix Possible error when subscription is null in Get-AzRoleAss…
isra-fel Sep 26, 2023
b728076
Revert "[Az.Resources] Fix unexplicable error message when subscripti…
isra-fel Sep 26, 2023
921a051
bump up version for 10.4.1 hotfix
isra-fel Sep 26, 2023
587ef0c
Update azure-powershell-modules.md (#22857)
BethanyZhou Sep 27, 2023
4876210
Adjust Publish-AzWebApp default parameters (#22832)
dannysongg Sep 27, 2023
81a6417
delete acr sdk (#22838)
Nickcandy Sep 27, 2023
49a512d
Az 10.4.1 hotfix (#22866)
msJinLei Sep 27, 2023
1a4af36
Fix the Az.Tools.Installer Telemetry SuccessRate Error (#22814)
msJinLei Sep 27, 2023
7bfeb33
Update-AzVmss TrustedLaunch bug (#22846)
Sandido Sep 27, 2023
566112d
[Breaking Change] Changed parameter SoftDeleteRetentionInDays in New-…
BethanyZhou Sep 27, 2023
35efbfd
Sync resourceManagement.yml (#22862)
azure-powershell-bot Sep 27, 2023
df2169e
Generate SDK for Storage via autorest.powershell (#22807)
wyunchi-ms Sep 28, 2023
27beea6
Update CODEOWNERS (#22847)
wiboris Sep 28, 2023
3f2c198
[BULK] DocuTune - Updates to Azure AD rebranding g
alexbuckgit Oct 2, 2023
924eb3b
Bump System.Security.Cryptography.Xml in /tools/Tools.Common (#22815)
dependabot[bot] Oct 8, 2023
7efaf9f
Sync resourceManagement.yml (#22881)
azure-powershell-bot Oct 8, 2023
8038789
Add UseFreeLimit and FreeLimitExhaustionBehavior parameters to DB CRU…
mykolian Oct 8, 2023
6fec4fa
Sync resourceManagement.yml
azure-powershell-bot Oct 8, 2023
e701422
Sync resourceManagement.yml according To ADO Wiki Page - Service Cont…
isra-fel Oct 9, 2023
0973958
Migrate RedisCache SDK from autorest.csharp to autorest.powershell (#…
vidai-msft Oct 9, 2023
a9a127a
Update Invoke-AzStorageSyncChangeDetection.md (#22901)
jeffpatt24 Oct 9, 2023
8560100
Fix bug with .bicepparam parsing (#22885)
anthony-c-martin Oct 9, 2023
22cbbd1
Migrate Search SDK from autorest.csharp to autorest.powershell (#22880)
vidai-msft Oct 9, 2023
8b8a346
Use Az.KeyVault to get github PAT instead of pipeline variable (#22912)
wyunchi-ms Oct 9, 2023
ab1c18a
Migrate ConnectedKubernetes from generation to main (#22789)
azure-powershell-bot Oct 9, 2023
b755b19
Create a unique step to get github PAT and set it to environment (#22…
wyunchi-ms Oct 9, 2023
5fd4794
Update with the latest test coverage data (#22919)
azure-powershell-bot Oct 10, 2023
11a2bc8
Migrate StackHCI from generation to main (#22928)
azure-powershell-bot Oct 10, 2023
9a1f65f
Remove the reference to ContainerRegistry.Test (#22931)
wyunchi-ms Oct 10, 2023
fcb12d6
Remove the reference to ContainerRegistry.Test (#22932)
wyunchi-ms Oct 10, 2023
04f52e5
Sanitize only non-empty string value in the recorded json files (#22929)
vidai-msft Oct 10, 2023
f9a7fb4
Add ux folder for autorest modules (#22934)
wyunchi-ms Oct 11, 2023
6d6d067
Fix the telemetry collection logic (#22908)
kceiw Oct 11, 2023
4b479c0
Move Websites to main (#22939)
azure-powershell-bot Oct 11, 2023
f3f66fd
Support supplemental parameters when used with .bicepparam parameter …
anthony-c-martin Oct 11, 2023
ab2ff2d
Remove unversioned image aliases (#22888)
Sandido Oct 11, 2023
d1899d9
Migrate SecurityInsights from generation to main (#22924)
azure-powershell-bot Oct 11, 2023
64f0db5
Remove Error Recording for The Expected Cases in Az.Tools.Installer (…
msJinLei Oct 11, 2023
e6efe0f
upgrade azure.core 1.35.0 (#22936)
VeryEarly Oct 12, 2023
0f99ffa
Bump up version for StackHCI (#22933)
azure-powershell-bot Oct 12, 2023
f21f2a2
CosmosDB 2023-09-15 release (#22726) (#22953)
VeryEarly Oct 12, 2023
ca71610
Migrate ElasticSan from generation to main (#22954)
azure-powershell-bot Oct 12, 2023
a4c39d7
revise code gen pipeline (#22949)
Nickcandy Oct 12, 2023
b53749d
Upgrade Microsoft.PowerShell.SDK package version and fix security vul…
vidai-msft Oct 12, 2023
9700c78
Sanitize access token in test recording files (#22943)
vidai-msft Oct 12, 2023
27f36cb
Remove messaging of removed unversioned linux aliases (#22950)
Sandido Oct 12, 2023
6b7b48b
Bypass api version check for Microsoft.Storage during test in Search …
vidai-msft Oct 13, 2023
f333b89
Security: Pricing: pump pricing to 2023-01-01 (#22861)
Ihab-Zhaika Oct 13, 2023
69774e9
[Storage] blob Inventory filter - creationTime (#22942)
blueww Oct 13, 2023
7098ea4
Fix generated sdk mannual updates not identified by sdk gen pipeline …
NoriZC Oct 13, 2023
f649e7a
Bump up version for ElasticSan (#22959)
azure-powershell-bot Oct 16, 2023
3eeef3e
Remove Error Recording of Nonterminating Errors (#22965)
msJinLei Oct 16, 2023
340825c
Fix Update-Module errors when Az modules are installed using Az.Tools…
msJinLei Oct 16, 2023
a6acd64
Rename sign-tools to sign-tool-installer
msJinLei Oct 16, 2023
58fbbcd
fix AKS live test stuck issue (#22982)
YanaXu Oct 16, 2023
043d3d0
Rename "sign-tools" to "sign-tool-installer" (#22983)
msJinLei Oct 16, 2023
46a107d
[Microsoft.StorageSync] Change Nuget package of api version 2020-09-0…
ankushbindlish2 Oct 17, 2023
0eab072
Migrate ContainerInstance from generation to main (#22984)
azure-powershell-bot Oct 17, 2023
d42a51b
[DataCollectionRule] Monitor remove AMCS SDK (#22961)
JoyerJin Oct 17, 2023
f4c3c15
Bump up version for Resources (#22969)
azure-powershell-bot Oct 17, 2023
7280259
Migrate Sql SDK from autorest.csharp to autorest.powershell (#22927)
vidai-msft Oct 17, 2023
a96d4c9
GA Az.DevCenter
VeryEarly Oct 17, 2023
3f58207
[Storage] Update dataplane SDK version (#22991)
yifanz7 Oct 17, 2023
d7b9351
Migrate Databricks from generation to main (#22997)
azure-powershell-bot Oct 18, 2023
5ecf37d
[BULK] DocuTune - Updates to Azure AD rebranding guidance and DocuTun…
BethanyZhou Oct 18, 2023
b09e45c
GA Az.DevCenter (#22994)
isra-fel Oct 18, 2023
75d192b
[KeyVault] Update Live test for creating MHSM in TestSetting.ps1 (#23…
BethanyZhou Oct 18, 2023
867afd0
AllowBranchToBranch BugFixes (#22584)
ksteinmeyer2023 Oct 19, 2023
77ac2c5
[DataFactory]Change Track 1 SDK To Source Code (#23007)
Jingshu918 Oct 19, 2023
f1ee4e3
[TrafficManager]Use autorest.powershell to generate sdk (#23020)
YanaXu Oct 19, 2023
415e3bc
Update command to generate SDK with autorest.powershell (#23021)
vidai-msft Oct 19, 2023
3cb5b9b
Extract common packages and properties into one single props file (#2…
vidai-msft Oct 19, 2023
2579524
Migrate StorageMover from generation to main (#23023)
azure-powershell-bot Oct 20, 2023
3204684
Migrate DesktopVirtualization from generation to main (#23024)
azure-powershell-bot Oct 20, 2023
5054a78
upgrade API and re-record test (#23002)
mattgotteiner Oct 23, 2023
0b2bb6a
Fix the issue that cannot find autorest in CI (#23006)
wyunchi-ms Oct 23, 2023
d0eca81
[Batch][BULK] DocuTune - Updates to Azure AD rebranding guidance and …
BethanyZhou Oct 23, 2023
d3595ec
[Compute][BULK] DocuTune - Updates to Azure AD rebranding guidance an…
BethanyZhou Oct 23, 2023
133304c
[DataLakeAnalytics][BULK] DocuTune - Updates to Azure AD rebranding g…
BethanyZhou Oct 23, 2023
1fab97a
[DataMigration][BULK] DocuTune - Updates to Azure AD rebranding guida…
BethanyZhou Oct 23, 2023
6fd5e4f
[EventGrid][BULK] DocuTune - Updates to Azure AD rebranding guidance …
BethanyZhou Oct 23, 2023
1a81676
Update DataFactory.Management.Sdk.csproj (#23036)
VeryEarly Oct 23, 2023
5d1ba6a
Support $ref statements for user-defined types in Bicep files (#23032)
anthony-c-martin Oct 23, 2023
336b459
[BULK] DocuTune - Updates to Azure AD rebranding g (#22891)
alexbuckgit Oct 23, 2023
bd61d3e
update autorest command used in README.md (#23039)
YanaXu Oct 23, 2023
1a82c15
[BULK] DocuTune - Updates to Azure AD rebranding g (#22892)
alexbuckgit Oct 23, 2023
2b8cc00
[BULK] DocuTune - Updates to Azure AD rebranding guidance and DocuTun…
alexbuckgit Oct 23, 2023
1ff83a8
[BULK] DocuTune - Updates to Azure AD rebranding guidance and DocuTun…
alexbuckgit Oct 23, 2023
a2ae6ea
[BULK] DocuTune - Updates to Azure AD rebranding guidance and DocuTun…
alexbuckgit Oct 23, 2023
5a1dc42
Service Fabric Managed clusters Migration (#22860)
mwesigwaguma Oct 23, 2023
570ecbd
[Storage] Remove prefix '?' of the created SAS token (#22993)
blueww Oct 24, 2023
6696350
Enable mg deployments in mg scoped stacks (#23019)
dantedallag Oct 24, 2023
7ac1548
[HDinsight][BULK] DocuTune - Updates to Azure AD rebranding guidance …
BethanyZhou Oct 24, 2023
3241420
[PolicyInsights][BULK] DocuTune - Updates to Azure AD rebranding guid…
BethanyZhou Oct 24, 2023
a2ec681
[KeyVault][BULK] DocuTune - Updates to Azure AD rebranding guidance a…
BethanyZhou Oct 24, 2023
8b815ea
[sql][BULK] DocuTune - Updates to Azure AD rebranding guidance and Do…
BethanyZhou Oct 24, 2023
05c9e60
fix build issue caused by service fabric (#23055)
VeryEarly Oct 24, 2023
5384dc8
[storage][BULK] DocuTune - Updates to Azure AD rebranding guidance an…
BethanyZhou Oct 24, 2023
16d0614
[synapse][BULK] DocuTune - Updates to Azure AD rebranding guidance an…
BethanyZhou Oct 24, 2023
78e4791
Remove Azure Policy CRUD cmdlets from Resources module (#23031)
mentat9 Oct 24, 2023
1e47061
[Az.Resources] Enable Senario tests for RoleAssignment (#23046)
NoriZC Oct 24, 2023
5b2fb61
[Security] Use autorest.powershell to generate sdk (#23049)
YanaXu Oct 24, 2023
10c4b10
[Az.Resources] Reverted feature reimplementation (#23058)
NoriZC Oct 25, 2023
02b2158
[ServiceFabric.Management.sdk generation; Author: Mwesigwa Guma <mwes…
mwesigwaguma Oct 25, 2023
154ed63
enhance ut of assembly loading (#23068)
isra-fel Oct 25, 2023
aff11ac
Migrate ConnectedMachine from generation to main (#23069)
azure-powershell-bot Oct 25, 2023
48a9fa4
GA Az.NetworkCloud (#22951)
priyamshet Oct 26, 2023
b2b2e5d
Migrate SelfHelp from generation to main (#23078)
azure-powershell-bot Oct 26, 2023
9f1f059
Queue track2 migration (#23070)
yifanz7 Oct 26, 2023
3ea2e8d
Move Websites to main (#23083)
azure-powershell-bot Oct 26, 2023
d0741a8
Migrate EventHub from generation to main (#23081)
azure-powershell-bot Oct 26, 2023
cb79f54
Migrate Storage from generation to main (#23084)
azure-powershell-bot Oct 26, 2023
5e6e6ea
Migrate NetworkAnalytics from generation to main (#23082)
azure-powershell-bot Oct 30, 2023
1d5b15a
Migrate Monitor from joyer/amcs-autorest to main (#23059)
azure-powershell-bot Oct 30, 2023
dd82266
Add support for maintenance configuration cancellation (#22913)
adana-popescu Oct 30, 2023
99acad7
Add support for multiple-secondary failover groups in New and Set cmd…
alecbain Oct 30, 2023
54675b4
[Storage] Support Trailing Dot (#22947)
blueww Oct 30, 2023
9f02194
[AKS] Remove parameter DockerBridgeCidr from New-AzAksCluster (#23063)
YanaXu Oct 30, 2023
4d6681e
Get-AzVHubEffectiveRoute Example Bug Fix (#23086)
ksteinmeyer2023 Oct 30, 2023
1b77d13
[Compute] Support new ElasticSan parameters in DiskRP cmdlets (#23094)
blueww Oct 30, 2023
5c8d756
Bump up version for StorageMover (#23077)
azure-powershell-bot Oct 30, 2023
ce1cee5
Enabled in-tool notification for version upgrade by default (#23097)
YanaXu Oct 30, 2023
a054b31
remove unversioned and outdated images from argument completer in New…
grizzlytheodore Oct 30, 2023
7bc6b49
Added docs issue control template for new feedback system (#22899)
mikefrobbins Oct 31, 2023
d3bd042
Migrate Migrate from generation to main (#23079)
azure-powershell-bot Oct 31, 2023
8869f27
Bump up version for ConnectedMachine (#23071)
azure-powershell-bot Oct 31, 2023
59d9e61
Merge branch 'main' into Az.RecoveryServices7.x.x-preview
VeryEarly Oct 31, 2023
8b823a0
Remove queue warning (#23112)
yifanz7 Oct 31, 2023
3fdfb7e
Migrate RecoveryServices SDK from autorest.csharp to autorest.powersh…
vidai-msft Oct 31, 2023
3ef9fa5
[DataFactory]Upgrade SDK Version To 0.2.0 (#23107)
Jingshu918 Oct 31, 2023
996f505
Fix the error from moduels which already deprecated sdk (#23119)
NoriZC Nov 1, 2023
db14807
sync main
VeryEarly Nov 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 7 additions & 7 deletions .azure-pipelines/code-gen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Variable 'BotAccessToken' was defined in the Variables tab
# Multi-job configuration must be converted to matrix strategy: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#multi-job-configuration
parameters:
- name: TargetBranch
Expand All @@ -22,6 +21,7 @@ jobs:
pool: pool-windows-2019
steps:
- checkout: self
- template: util/get-github-pat-steps.yml
- task: NodeTool@0
displayName: Use Node 14.15.5
inputs:
Expand All @@ -31,7 +31,7 @@ jobs:
inputs:
command: custom
verbose: false
customCommand: install -g autorest@latest
customCommand: install -g autorest@latest
- task: PowerShell@2
displayName: Generate
inputs:
Expand Down Expand Up @@ -92,15 +92,15 @@ jobs:
git add ./src;
git add tools/CreateMappings_rules.json;
git commit -m "Move ${{ parameters.ServiceName }} to ${{ parameters.TargetBranch }}";
git remote set-url origin https://azure-powershell-bot:$(BotAccessToken)@github.com/Azure/azure-powershell.git;
git remote set-url origin https://azure-powershell-bot:$(GithubToken)@github.com/Azure/azure-powershell.git;
git push origin codegen/${{ parameters.ServiceName }} --force;
displayName: Create codegen/${{ parameters.ServiceName }} branch
- pwsh: |
$Title = "Migrate ${{ parameters.ServiceName }} from generation to ${{ parameters.TargetBranch }}"
$SourceBranch = "$(Build.SourceBranch)"
$SourceBranch = $SourceBranch.Replace("refs/heads/", "")
$Title = "Migrate ${{ parameters.ServiceName }} from $SourceBranch to ${{ parameters.TargetBranch }}"
$HeadBranch = "codegen/${{ parameters.ServiceName }}"
$BaseBranch = "${{ parameters.TargetBranch }}"
$SourceBranch = "$(Build.SourceBranch)"
$SourceBranch = $BaseBranch.Replace("refs/heads/", "")
$Description = "Migrate ${{ parameters.ServiceName }} from $SourceBranch to ${{ parameters.TargetBranch }}"
./tools/Github/CreatePR.ps1 -Title $Title -HeadBranch $HeadBranch -BaseBranch $BaseBranch -BotAccessToken $(BotAccessToken) -Description $Description
./tools/Github/CreatePR.ps1 -Title $Title -HeadBranch $HeadBranch -BaseBranch $BaseBranch -BotAccessToken $(GithubToken) -Description $Description
displayName: Create PR to main branch
3 changes: 2 additions & 1 deletion .azure-pipelines/code-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
variables:
LocalRepoName: 'LocalRepo'
steps:
- template: util/get-github-pat-steps.yml
- task: PowerShell@2
displayName: checkout OOBbranch
inputs:
targetType: 'inline'
script: |
if ('${{ parameters.OOBBranch }}' -ne 'none') {
git remote set-url origin https://azure-powershell-bot:$Token@github.com/Azure/azure-powershell.git;
git remote set-url origin https://azure-powershell-bot:$GithubToken@github.com/Azure/azure-powershell.git;
git fetch origin
git checkout -b ${{ parameters.OOBBranch }} origin/${{ parameters.OOBBranch }}
}
Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/security-tools.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Variable 'IsGenerateBased' was defined in the Variables tab
# Variable 'NugetSecurityAnalysisWarningLevel' was defined in the Variables tab
# Variable 'OCTOKITPAT' was defined in the Variables tab
# Cron Schedules have been converted using UTC Time Zone and may need to be updated for your location
schedules:
- cron: 0 4 * * 1,2,3,4,5
Expand All @@ -20,6 +19,7 @@ jobs:
steps:
- checkout: self
fetchTags: false
- template: util/get-github-pat-steps.yml
- task: PowerShell@2
displayName: Install platyPS
inputs:
Expand All @@ -44,7 +44,7 @@ jobs:
targetType: inline
script: dotnet msbuild build.proj /t:"Build;GenerateHelp" /p:"PullRequestNumber=$(System.PullRequest.PullRequestNumber);IsSecurityCheck=true"
env:
OCTOKITPAT: $(OCTOKITPAT)
OCTOKITPAT: $(GithubToken)
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
displayName: Run CredScan
condition: in(variables['system.pullRequest.targetBranch'], 'generation', 'main')
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/sync-MSdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ trigger:
variables:
TargetedRepo: azure-docs-powershell
TargetedBranchName: sync-upcoming-breaking-changes
GithubToken: $(GITHUB_TOKEN)

jobs:
- job: Sync
Expand All @@ -27,6 +26,7 @@ jobs:
BranchName: ${{ variables.TargetedBranchName }}

steps:
- template: util/get-github-pat-steps.yml
- task: PowerShell@2
displayName: Sync branch
inputs:
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/sync-aliases.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Variable 'BotAccessToken', 'KeyVaultName' and 'ADOTokenName' was defined in the Variables tab
# Variable 'KeyVaultName' and 'ADOTokenName' was defined in the Variables tab
schedules:
- cron: "50 15 * * *"
displayName: 11:50 PM (UTC + 8:00) China Daily Run
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/sync-tools-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ trigger:

variables:
GenerationBranchName: generation
GithubToken: $(GITHUB_TOKEN)

jobs:
- job: Sync
Expand All @@ -41,6 +40,7 @@ jobs:
BranchName: ${{ variables.GenerationBranchName }}

steps:
- template: util/get-github-pat-steps.yml
- task: PowerShell@2
displayName: Sync branch
inputs:
Expand Down
5 changes: 3 additions & 2 deletions .azure-pipelines/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
vmImage: ${{ parameters.testPoolVMImage }}

steps:
- template: util/get-github-pat-steps.yml
- task: UseDotNet@2
displayName: 'Install .NET 6.0 SDK'
inputs:
Expand Down Expand Up @@ -138,14 +139,14 @@ jobs:
git config user.name "azure-powershell-bot"
git add $blCsv
git commit -m "Update with the latest test coverage data"
git remote set-url origin https://azure-powershell-bot:$(BotAccessToken)@github.com/Azure/azure-powershell.git
git remote set-url origin https://azure-powershell-bot:$(GithubToken)@github.com/Azure/azure-powershell.git
git push origin testcoverage-baseline --force

$title = "Update test coverage baseline"
$headBranch = "testcoverage-baseline"
$targetBranch = "main"
$description = "Update with the latest test coverage baseline data"
./tools/Github/CreatePR.ps1 -Title $title -HeadBranch $headBranch -BaseBranch $targetBranch -BotAccessToken $(BotAccessToken) -Description $description
./tools/Github/CreatePR.ps1 -Title $title -HeadBranch $headBranch -BaseBranch $targetBranch -BotAccessToken $(GithubToken) -Description $description

- task: PublishPipelineArtifact@1
displayName: Publish Test Coverage Result
Expand Down
18 changes: 16 additions & 2 deletions .azure-pipelines/util/analyze-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,23 @@ parameters:
IsGenerateBased: ''

steps:
- template: get-github-pat-steps.yml
- template: download-build-steps.yml
parameters:
artifactName: build-${{ parameters.testFramework }}
- task: NodeTool@0
displayName: Install autorest
inputs:
versionSpec: '14.17.1'
command: custom
verbose: false
customCommand: install autorest@latest
- task: PowerShell@2
displayName: Setup environment for autorest
inputs:
targetType: inline
script: "$env:NODE_OPTIONS=\"--max-old-space-size=65536\""
pwsh: true

- task: UseDotNet@2
displayName: 'Use .NET Core sdk 6.0.x'
Expand Down Expand Up @@ -36,7 +50,7 @@ steps:
custom: msbuild
arguments: 'build.proj /t:GenerateHelp /p:Configuration=${{ parameters.configuration }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
env:
OCTOKITPAT: $(OCTOKITPAT)
OCTOKITPAT: $(GithubToken)
PowerShellPlatform: ${{ parameters.powerShellPlatform }}

- task: DotNetCoreCLI@2
Expand All @@ -46,7 +60,7 @@ steps:
custom: msbuild
arguments: 'build.proj /t:StaticAnalysis /p:Configuration=${{ parameters.configuration }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
env:
OCTOKITPAT: $(OCTOKITPAT)
OCTOKITPAT: $(GithubToken)
IsGenerateBased: ${{ parameters.IsGenerateBased }}

- template: publish-artifacts-steps.yml
Expand Down
3 changes: 2 additions & 1 deletion .azure-pipelines/util/build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ parameters:
powerShellPlatform: ''

steps:
- template: get-github-pat-steps.yml
- task: NodeTool@0
condition: eq(variables.IsGenerateBased, true)
displayName: Install Autorest
Expand Down Expand Up @@ -36,7 +37,7 @@ steps:
custom: msbuild
arguments: 'build.proj /t:Build /p:Configuration=${{ parameters.configuration }};TestFramework=${{ parameters.testFramework }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
env:
OCTOKITPAT: $(OCTOKITPAT)
OCTOKITPAT: $(GithubToken)
PowerShellPlatform: ${{ parameters.powerShellPlatform }}

- task: PowerShell@2
Expand Down
10 changes: 10 additions & 0 deletions .azure-pipelines/util/get-github-pat-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
steps:
- task: AzurePowerShell@5
inputs:
azureSubscription: '$(AzureSubscription)'
ScriptType: 'InlineScript'
Inline: |
$GithubToken = Get-AzKeyVaultSecret -VaultName $(GithubPATKeyVaultName) -Name $(GithubPATKeyVaultAccount) -AsPlainText
Write-Host "##vso[task.setvariable variable=GithubToken;issecret=true]$GithubToken"
azurePowerShellVersion: 'LatestVersion'
displayName: Get Github PAT from Key Vault
3 changes: 2 additions & 1 deletion .azure-pipelines/util/test-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ parameters:
powerShellPlatform: ''

steps:
- template: get-github-pat-steps.yml
- template: download-build-steps.yml
parameters:
artifactName: build-${{ parameters.testFramework }}
Expand All @@ -30,7 +31,7 @@ steps:
custom: msbuild
arguments: 'build.proj /t:${{ parameters.testTarget }} /p:Configuration=${{ parameters.configuration }};TestFramework=${{ parameters.testFramework }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
env:
OCTOKITPAT: $(OCTOKITPAT)
OCTOKITPAT: $(GithubToken)
PowerShellPlatform: ${{ parameters.powerShellPlatform }}
continueOnError: true

Expand Down
1 change: 0 additions & 1 deletion .azure-pipelines/ux-portal.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Variable 'BotAccessToken' was defined in the Variables tab
# Multi-job configuration must be converted to matrix strategy: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#multi-job-configuration
parameters:
- name: AzurePowerShellVersion
Expand Down
15 changes: 15 additions & 0 deletions .ci-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,15 @@
"file-change:module"
]
},
{
"patterns": [
"src/{ModuleName}/*UX/*.json$"
],
"phases": [
"build:module",
"ux:module"
]
},
{
"patterns": [
"src/{ModuleName}/*"
Expand All @@ -132,6 +141,12 @@
"cmdlet-diff:module"
]
},
{
"patterns": [
"tools/StaticAnalysis/Exceptions/{ModuleName}/*"
],
"phases": []
},
{
"patterns": [
"tools/StaticAnalysis/Exceptions/Az.{ModuleName}/MissingAssemblies.csv",
Expand Down
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/src/Network/ @Joanna-Yang-Art @htippanaboya
/src/Compute/ @bilaakpan-ms @sandido @haagha @grizzlytheodore
/src/PolicyInsights/ @pilor
/src/Batch/ @wiboris @dpwatrous

# Make sure changes to .github folder go through our team's double check
/.github/ @isra-fel
56 changes: 49 additions & 7 deletions .github/ISSUE_TEMPLATE/4-AZ-DOC-BUG.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,68 @@
name: ✒️ Document issue or question
description: Report document related issue
name: ✒️ Documentation issue or question
description: Report documentation related issue
title: '[Doc]: '
labels: [needs-triage]

body:
- type: markdown
attributes:
value: >
Thanks for reporting. Azure PowerShell document includes 3 categories.
Azure PowerShell documentation includes 3 categories:

- Conceptual doc about Azure PowerShell: https://docs.microsoft.com/en-us/powershell/azure

- Cmdlet reference doc: https://docs.microsoft.com/en-us/powershell/module

- Engineering doc on Github repo: https://github.com/Azure/azure-powershell
- type: textarea
- type: markdown
attributes:
label: Description
description: >
Please describe issue or question about doc. The link of document is helpful for discussion.
value: Select the issue type, and describe the issue in the text box below. Add as much detail as needed to help us resolve the issue.
- type: dropdown
id: issue-type
attributes:
label: Type of issue
options:
- Typo
- Code doesn't work
- Missing information
- Outdated article
- Other (describe below)
validations:
required: true
- type: textarea
id: userfeedback
validations:
required: true
attributes:
label: Feedback
description: >-
If possible, please provide extended details that will add context and help the team update
the documentation. Additional details may not be useful for typos, grammar, formatting, etc.
For technical or factual errors, please include code snippets and output to show how the
documentation is incorrect.
- type: markdown
attributes:
value: Article information
- type: markdown
attributes:
value: "*If the following fields are automatically filled in for you, please don't modify them*"
- type: input
id: pageUrl
attributes:
label: Page URL
- type: input
id: contentSourceUrl
attributes:
label: Content source URL
- type: input
id: author
attributes:
label: Author
description: GitHub Id of the author
- type: input
id: documentVersionIndependentId
attributes:
label: Document Id
- type: markdown
attributes:
value: >
Expand Down
Loading
Loading