Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/Azure/azure-cli into Azure-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ariklin committed Jul 25, 2022
2 parents 6f89fb8 + 527595d commit 06b523c
Show file tree
Hide file tree
Showing 2,374 changed files with 1,236,985 additions and 837,518 deletions.
24 changes: 20 additions & 4 deletions .azure-pipelines/templates/automation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
parameters:
- name: pythonVersion
type: string
default: 3.8
default: 3.10
- name: profile
type: string
default: latest
- name: instance_cnt
type: string
default: '1'
- name: instance_idx
type: string
default: '1'
# instance_cnt = 8, instance_idx = 3: means we have 8 instances totally, and now we are scheduling modules on third instance
# instance_cnt = 1, instance_idx = 1: means we only have 1 instance, so we don't need to schedule modules
- name: fullTest
displayName: Run full test?
type: boolean
Expand All @@ -32,23 +40,31 @@ steps:
echo fullTest: ${{ parameters.fullTest }}
echo module: ${{ parameters.module }}
echo Build.Reason: $(Build.Reason)
serial_modules="appservice botservice cloud network azure-cli-core azure-cli-telemetry"
# Test specific module
module="${{ parameters.module }}"
if [[ -n $module ]]; then
echo "Running test for module '$module'"
azdev test --no-exitfirst --verbose --series $module
# Determine whether the module belongs to serial_modules
if [[ "$serial_modules" =~ "$module" ]]; then
echo "Running in series"
azdev test --no-exitfirst --verbose --series $module --pytest-args "--durations=10"
else
echo "Running in parallels"
azdev test --no-exitfirst --verbose $module --pytest-args "--durations=10"
fi
exit 0
fi
if [[ "$(Build.Reason)" == "PullRequest" && "${{ parameters.fullTest }}" == 'False' ]]; then
echo "Running incremental test"
# If CI is set to shallow fetch, target branch should be expilictly fetched.
git fetch origin --depth=1 $(System.PullRequest.TargetBranch)
azdev test --no-exitfirst --repo=./ --src=HEAD --tgt=origin/$(System.PullRequest.TargetBranch) --cli-ci --profile ${{ parameters.profile }} --verbose --series
azdev test --no-exitfirst --repo=./ --src=HEAD --tgt=origin/$(System.PullRequest.TargetBranch) --cli-ci --profile ${{ parameters.profile }} --verbose --series --pytest-args "--durations=10"
else
echo "Running full test"
azdev test --no-exitfirst --profile ${{ parameters.profile }} --verbose --series
python scripts/ci/automation_full_test.py "${{ parameters.instance_cnt }}" "${{ parameters.instance_idx }}" "${{ parameters.profile }}" "$serial_modules"
fi
displayName: "azdev test"
env:
Expand Down
17 changes: 10 additions & 7 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,31 @@

/linter_exclusions.yml @jsntcy @kairu-ms @zhoxing-ms

/doc/ @jiasli @kairu-ms @jsntcy @dbradish-microsoft
/doc/ @jiasli @kairu-ms @jsntcy
/tools/ @kairu-ms @jiasli @wangzelin007 @calvinhzy
/scripts/ @kairu-ms @jiasli @wangzelin007 @calvinhzy
/scripts/live_test @kairu-ms @wangzelin007
/src/azure-cli-testsdk/ @jsntcy @jiasli @kairu-ms @wangzelin007

/src/azure-cli-core/ @jiasli @evelyn-ys @jsntcy @kairu-ms @zhoxing-ms @calvinhzy
/src/azure-cli-core/ @jiasli @evelyn-ys @jsntcy @kairu-ms @zhoxing-ms @calvinhzy @necusjz
/src/azure-cli-core/azure/cli/core/_profile.py @jiasli @evelyn-ys @calvinhzy
/src/azure-cli-core/azure/cli/core/auth/ @jiasli @evelyn-ys @calvinhzy
/src/azure-cli-core/azure/cli/core/extension/ @jsntcy @kairu-ms
/src/azure-cli-core/azure/cli/core/style.py @jiasli @evelyn-ys @zhoxing-ms
/src/azure-cli-core/azure/cli/core/aaz/ @kairu-ms @necusjz @calvinhzy @jsntcy

/src/azure-cli/azure/cli/command_modules/acr/ @zhoxing-ms @northtyphoon @rosanch @jsntcy
/src/azure-cli/azure/cli/command_modules/acs/ @zhoxing-ms @zqingqing1 @gtracer @xizhamsft @andyliuliming @fumingzhang @jsntcy
/src/azure-cli/azure/cli/command_modules/advisor/ @Prasanna-Padmanabhan
/src/azure-cli/azure/cli/command_modules/apim/ @kevinhillinger @jonlester
/src/azure-cli/azure/cli/command_modules/appconfig/ @shenmuxiaosen @avanigupta @zhoxing-ms @jsntcy
/src/azure-cli/azure/cli/command_modules/appservice/ @panchagnula @jsntcy @zhoxing-ms
/src/azure-cli/azure/cli/command_modules/aro/ @bennerv @hawkowl @jewzaam @m1kola @mwoodson @rogbas
/src/azure-cli/azure/cli/command_modules/aro/ @bennerv @hawkowl @jewzaam @m1kola @rogbas
/src/azure-cli/azure/cli/command_modules/backup/ @dragonfly91 @zhoxing-ms @akshayneema @jsntcy
/src/azure-cli/azure/cli/command_modules/batch/ @bgklein @gingi @dpwatrous @paterasMSFT @zhoxing-ms @jsntcy
/src/azure-cli/azure/cli/command_modules/batchai/ @AlexanderYukhanov
/src/azure-cli/azure/cli/command_modules/botservice/ @jiaxuwu2021 @luhan2017
/src/azure-cli/azure/cli/command_modules/cdn/ @jsntcy @kairu-ms @wangzelin007 @necusjz @t-bzhan
/src/azure-cli/azure/cli/command_modules/cloud/ @jiasli @evelyn-ys
/src/azure-cli/azure/cli/command_modules/consumption/ @sandeepnl
/src/azure-cli/azure/cli/command_modules/container/ @joseph-porter
Expand All @@ -43,11 +46,11 @@
/src/azure-cli/azure/cli/command_modules/identity/ @zhoxing-ms @jiasli
/src/azure-cli/azure/cli/command_modules/iot/ @digimaun @zhoxing-ms
/src/azure-cli/azure/cli/command_modules/keyvault/ @evelyn-ys @jiasli @calvinhzy
/src/azure-cli/azure/cli/command_modules/monitor/ @jsntcy @kairu-ms
/src/azure-cli/azure/cli/command_modules/natgateway/ @khannarheams @jsntcy @kairu-ms
/src/azure-cli/azure/cli/command_modules/network/ @jsntcy @kairu-ms @wangzelin007
/src/azure-cli/azure/cli/command_modules/monitor/ @jsntcy @kairu-ms @necusjz
/src/azure-cli/azure/cli/command_modules/natgateway/ @khannarheams @jsntcy @kairu-ms @necusjz
/src/azure-cli/azure/cli/command_modules/network/ @jsntcy @kairu-ms @wangzelin007 @necusjz
/src/azure-cli/azure/cli/command_modules/policyinsights/ @cheggert
/src/azure-cli/azure/cli/command_modules/privatedns/ @jsntcy @kairu-ms
/src/azure-cli/azure/cli/command_modules/privatedns/ @jsntcy @kairu-ms @necusjz
/src/azure-cli/azure/cli/command_modules/profile/ @jiasli @evelyn-ys @calvinhzy
/src/azure-cli/azure/cli/command_modules/rdbms/ @arde0708 @evelyn-ys @DaeunYim @calvinhzy
/src/azure-cli/azure/cli/command_modules/resource/ @zhoxing-ms @jsntcy
Expand Down
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ assignees: ''

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Related command**
<!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related team for help. --->

**Describe the bug**
<!--- A clear and concise description of what the bug is. --->

Expand Down
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ assignees: ''

---

**Related command**
<!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related team for help. --->

**Is your feature request related to a problem? Please describe.**
<!--- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --->

Expand Down
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/Service_team_request.md

This file was deleted.

75 changes: 75 additions & 0 deletions .github/ISSUE_TEMPLATE/Service_team_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: "[Microsoft Internal / Service Team] Feature Request"
description: Use this template to create a feature request for microsoft internal or service team
body:
- type: markdown
id: example
attributes:
value: |
[How to Request a Feature in CLI](https://github.com/Azure/azure-cli/blob/dev/doc/how_to_request_a_feature_in_cli.md)
[A Great Example](https://github.com/Azure/azure-cli/issues/22275)
- type: textarea
id: command
attributes:
label: Related command
description: Please provide the related commands and parameters with az {command} if you can, so that we can quickly route to the related team for help.
placeholder: e.g., `az vm create --image`
validations:
required: false
- type: input
id: provider
attributes:
label: Resource Provider
description: What is the Azure resource provider your feature is part of?
placeholder: e.g., Microsoft.Compute/disks
validations:
required: true
- type: textarea
id: feature-desc
attributes:
label: Description of Feature or Work Requested
description: Provide a brief description of the feature or problem. A link to conceptual documentation may be helpful too.
placeholder:
value:
validations:
required: true
- type: input
id: mini-api
attributes:
label: Minimum API Version Required
description: What is the minimum API version of your service required to implement your feature?
placeholder: e.g., 2021-04-01
validations:
required: true
- type: textarea
id: swagger
attributes:
label: Swagger PR link
description: Provide a link to the location of your feature(s) in the REST API specs repo. If your feature(s) has corresponding commit or pull request in the REST API specs repo, provide them. This should be on the master branch of the REST API specs repo.
placeholder: e.g., https://github.com/Azure/azure-rest-api-specs/pull/16629
validations:
required: true
- type: textarea
id: request-example
attributes:
label: Request Example
description: Provide example files which include the request body and response body of REST service.
placeholder: e.g., https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json
validations:
required: false
- type: input
id: date
attributes:
label: Target Date
description: If you have a target date for release of this feature/work, please provide it. While we can't guarantee these dates, it will help us prioritize your request against other requests.
placeholder: e.g., 2022-07-05
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the feature.
placeholder:
value:
validations:
required: false
Loading

0 comments on commit 06b523c

Please sign in to comment.