Skip to content
Merged
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: 1 addition & 1 deletion .azure-pipelines/templates/azdev_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ steps:
chmod +x env/bin/activate
. env/bin/activate

pip install -q azdev
pip install -q git+https://github.com/Azure/azure-cli-dev-tools.git@master
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need use the master branch? Since azdev is our internal dev tool, it won't bring too much pros for me to use latest master branch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jiasli comment here Azure/azure-cli-dev-tools#220 (comment).
Using the master branch could bring us a sensitive and quick sense on the change of azdev changes without release it.
I think currently, release of azdev is too much frequently.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should figure out better way to handle this. azdev release process should be improved also.

azdev --version

if [ -z "$CLI_EXT_REPO_PATH" ]; then
Expand Down
26 changes: 20 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -854,19 +854,33 @@ jobs:
azdev verify history
azdev verify document-map

- job: CheckLoadPerformance
displayName: "Check Module Load Performance"

- job: PerformanceCheck
displayName: "PerformanceCheck"
strategy:
matrix:
Python36:
python.version: '3.6'
Python38:
python.version: '3.8'
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.6'
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: 3.6
versionSpec: '$(python.version)'
- template: .azure-pipelines/templates/azdev_setup.yml
- bash: |
. scripts/ci/install_azdev.sh
set -ev
. env/bin/activate
azdev perf load-times
displayName: "Load Performance"
- bash: |
set -ev
. env/bin/activate

azdev perf benchmark "version" "network vnet -h" "rest -h" "storage account"
displayName: "Execution Performance"

- job: CheckLinter
displayName: "Check CLI Linter"
Expand Down