Pipeline core (#3953)
* test1 * glob * quick cleanup * ddasda * ddsa * envs * dsds * Revert "ddsa" This reverts commit 6d9e385284ba37736fb5bc41e56065943abd7937. * wq * comment out issues * valid test * maybe * qwewqewq * lang steps * Vcpkg pre-steps in the place Daniel should've recommend they go * RepoOwner * Correct repo owner name * Remove vcpkg.yml (we don't need to write) * PR trigger * small change * Update eng/pipelines/templates/jobs/perf.yml Co-authored-by: Mike Harder <mharder@microsoft.com> * Update eng/pipelines/templates/jobs/perf.yml Co-authored-by: Mike Harder <mharder@microsoft.com> * Update sdk/core/perf.yml Co-authored-by: Mike Harder <mharder@microsoft.com> Co-authored-by: Daniel Jurek <djurek@microsoft.com> Co-authored-by: Mike Harder <mharder@microsoft.com>
This commit is contained in:
parent
68eea9a91f
commit
c8d79610e0
44
eng/pipelines/templates/jobs/perf.yml
Normal file
44
eng/pipelines/templates/jobs/perf.yml
Normal file
@ -0,0 +1,44 @@
|
||||
parameters:
|
||||
- name: ServiceDirectory
|
||||
type: string
|
||||
default: ''
|
||||
- name: Services
|
||||
type: string
|
||||
default: ''
|
||||
- name: PackageVersions
|
||||
type: string
|
||||
default: '.*'
|
||||
- name: Tests
|
||||
type: string
|
||||
default: '.*'
|
||||
- name: Arguments
|
||||
type: string
|
||||
default: '.*'
|
||||
- name: Iterations
|
||||
type: number
|
||||
default: '5'
|
||||
- name: AdditionalArguments
|
||||
type: string
|
||||
default: ''
|
||||
- name: EnvVars
|
||||
type: object
|
||||
default: []
|
||||
|
||||
extends:
|
||||
template: /eng/common/pipelines/templates/jobs/perf.yml
|
||||
parameters:
|
||||
Variables:
|
||||
- template: /eng/pipelines/templates/variables/globals.yml
|
||||
Language: Cpp
|
||||
ServiceDirectory: ${{ parameters.ServiceDirectory }}
|
||||
Services: ${{ parameters.Services }}
|
||||
PackageVersions: ${{ parameters.PackageVersions }}
|
||||
Tests: ${{ parameters.Tests }}
|
||||
Arguments: ${{ parameters.Arguments }}
|
||||
Iterations: ${{ parameters.Iterations }}
|
||||
AdditionalArguments: ${{ parameters.AdditionalArguments }}
|
||||
EnvVars: ${{ parameters.EnvVars}}
|
||||
InstallLanguageSteps:
|
||||
- template: /eng/pipelines/templates/steps/vcpkg-clone.yml
|
||||
parameters:
|
||||
RepoOwner: Microsoft
|
||||
22
eng/pipelines/templates/variables/globals.yml
Normal file
22
eng/pipelines/templates/variables/globals.yml
Normal file
@ -0,0 +1,22 @@
|
||||
variables:
|
||||
# True if 'Enable system diagnostics' is checked when running a pipeline manually
|
||||
IsDebug: $[coalesce(variables['System.Debug'], 'false')]
|
||||
|
||||
AdditionalOptions: ''
|
||||
|
||||
# Exists if needed in coalesce situations.
|
||||
DefaultTestGoals: 'surefire:test'
|
||||
# This will be overwritten by the test matrix, if configured.
|
||||
TestGoals: $(DefaultTestGoals)
|
||||
|
||||
# This will be overwritten by the test matrix, if configured.
|
||||
TestOptions: ''
|
||||
# TestFromSource is one of the cache keys but isn't set until the test matrix
|
||||
# has been processed. Without a default value it'll be treated as a string literal
|
||||
# "$(TestFromSource)" instead of true/false. It'll be overwritten when the test
|
||||
# matrix has been processed
|
||||
TestFromSource: false
|
||||
|
||||
skipComponentGovernanceDetection: true
|
||||
DisableDockerDetector: true
|
||||
Package.EnableSBOMSigning: true
|
||||
32
sdk/core/perf.yml
Normal file
32
sdk/core/perf.yml
Normal file
@ -0,0 +1,32 @@
|
||||
parameters:
|
||||
- name: PackageVersions
|
||||
displayName: PackageVersions (regex of package versions to run)
|
||||
type: string
|
||||
default: 'source'
|
||||
- name: Tests
|
||||
displayName: Tests (regex of tests to run)
|
||||
type: string
|
||||
default: '^(extendedOptions)$'
|
||||
- name: Arguments
|
||||
displayName: Arguments (regex of arguments to run)
|
||||
type: string
|
||||
default: '.*'
|
||||
- name: Iterations
|
||||
displayName: Iterations (times to run each test)
|
||||
type: number
|
||||
default: '5'
|
||||
- name: AdditionalArguments
|
||||
displayName: AdditionalArguments (passed to PerfAutomation)
|
||||
type: string
|
||||
default: ' '
|
||||
|
||||
extends:
|
||||
template: /eng/pipelines/templates/jobs/perf.yml
|
||||
parameters:
|
||||
ServiceDirectory: core
|
||||
Services: "^core$"
|
||||
PackageVersions: ${{ parameters.PackageVersions }}
|
||||
Tests: ${{ parameters.Tests }}
|
||||
Arguments: ${{ parameters.Arguments }}
|
||||
Iterations: ${{ parameters.Iterations }}
|
||||
AdditionalArguments: ${{ parameters.AdditionalArguments }}
|
||||
Loading…
Reference in New Issue
Block a user