Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 5083 (Azure#28723)
Browse files Browse the repository at this point in the history
* Remove language from profile zip

* Revert "Remove language from profile zip"

This reverts commit 2f670435b25f89955338170a7bdfbe4432cbe23f.

* Remove Services parameter

* Fix path to tests-file

* Run both sync and async tests by default

* Add LanguageVersion to common perf.yml

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
  • Loading branch information
azure-sdk and mikeharder authored Feb 10, 2023
1 parent 3c93779 commit 1714811
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions eng/common/pipelines/templates/jobs/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ parameters:
- name: Language
type: string
default: ''
- name: LanguageVersion
type: string
default: ''
- name: LanguageRepoName
type: string
default: $(Build.Repository.Name)
Expand All @@ -38,9 +41,6 @@ parameters:
- name: ServiceDirectory
type: string
default: ''
- name: Services
type: string
default: ''
- name: PackageVersions
type: string
default: '.*'
Expand Down Expand Up @@ -118,17 +118,12 @@ jobs:
Location: westus
ResourceType: perf

- pwsh: |
set-content -path config.yml -value "WorkingDirectories:"
add-content -path config.yml -value " ${{ parameters.Language }}: $(Agent.BuildDirectory)/s"
workingDirectory: azure-sdk-tools/tools/perf-automation/Azure.Sdk.Tools.PerfAutomation
displayName: Create config.yml
- script: >-
dotnet run -- run
--no-sync
--languages ${{ parameters.Language }}
--services "${{ parameters.Services }}"
--language ${{ parameters.Language }}
--language-version ${{ parameters.LanguageVersion }}
--repo-root $(System.DefaultWorkingDirectory)
--tests-file $(System.DefaultWorkingDirectory)/sdk/${{ parameters.ServiceDirectory }}/perf-tests.yml
--package-versions "${{ parameters.PackageVersions }}"
--tests "${{ parameters.Tests }}"
--arguments "${{ parameters.Arguments }}"
Expand Down

0 comments on commit 1714811

Please sign in to comment.