Compare commits

...

19 Commits

Author SHA1 Message Date
Scott Beddall (from Dev Box)
c64abbe2e4 update core so we can run it 2024-03-11 17:25:22 -07:00
Scott Beddall (from Dev Box)
7337877191 ensure the proper pattern is followed here too 2024-03-11 17:04:05 -07:00
Scott Beddall (from Dev Box)
e75d3c3e80 merge template-conversion for live.tests.yml fix 2024-03-11 17:00:14 -07:00
Scott Beddall (from Dev Box)
15a4a33ff2 undo ci.tests.yml update that I don't want to risk 2024-03-11 16:58:23 -07:00
Scott Beddall (from Dev Box)
297dbb1da4 passing the same workaround on job name 2024-03-11 16:57:54 -07:00
Scott Beddall (from Dev Box)
02ae6a4956 parameters.OS -> parameters.OSNam 2024-03-11 16:43:15 -07:00
Scott Beddall (from Dev Box)
38cc766e8d see if we can add a job name so that it can multiplex properly 2024-03-11 16:41:12 -07:00
Scott Beddall (from Dev Box)
b60a3253d2 ensure we actually use the variables 2024-03-11 16:20:14 -07:00
Scott Beddall (from Dev Box)
f6a0814e89 ensure we use the variable in cmake-generate-jobs. the issue was in cmake-generate-tests 2024-03-11 16:17:35 -07:00
Scott Beddall (from Dev Box)
6ae194fbf3 ensure that cmake-generate.tests.yml properly handles various os differences 2024-03-11 16:08:30 -07:00
Scott Beddall (from Dev Box)
7ae66a0560 ensure that cmake-generate.tests.yml properly handles various os differences 2024-03-11 16:08:12 -07:00
Scott Beddall (from Dev Box)
8d3d6e857d repair livetests. they need to NOT have a job name 2024-03-11 15:55:46 -07:00
Scott Beddall (from Dev Box)
4cf7598484 storage must extend ci.yml not call a specific stages 2024-03-11 15:37:38 -07:00
Scott Beddall (from Dev Box)
84c052d03f we must use the general pools, not the 1espt pools! 2024-03-11 15:29:50 -07:00
Scott Beddall (from Dev Box)
b2c0b758ec we must use publish-1es-artifact, not publish-artifact 2024-03-11 15:27:45 -07:00
Scott Beddall (from Dev Box)
4c8995d13f tiny cleanup items 2024-03-11 15:25:21 -07:00
Scott Beddall (from Dev Box)
b97da37992 unify with main. it's not aligned for some weird reason 2024-03-11 15:23:59 -07:00
Scott Beddall (from Dev Box)
4bb41b22c1 rework all the calls to archetype-sdk-generate-tests -> generate-job-matrix 2024-03-11 15:16:40 -07:00
Scott Beddall (from Dev Box)
da1190ffb1 pull across all changes to scripts that are required to support 1es templates. still need to update the reference to archetype-sdk-tests-generate -> generate-job-matrix 2024-03-11 14:53:31 -07:00
17 changed files with 393 additions and 284 deletions

View File

@ -52,7 +52,7 @@ parameters:
default: true default: true
jobs: jobs:
- template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml - template: /eng/common/pipelines/templates/jobs/generate-job-matrix.yml
parameters: parameters:
GenerateJobName: ${{ parameters.JobName }}_generate_matrix GenerateJobName: ${{ parameters.JobName }}_generate_matrix
MatrixConfigs: MatrixConfigs:
@ -61,6 +61,8 @@ jobs:
Selection: all Selection: all
GenerateVMJobs: true GenerateVMJobs: true
JobTemplatePath: /eng/pipelines/templates/jobs/ci.tests.yml JobTemplatePath: /eng/pipelines/templates/jobs/ci.tests.yml
OsVmImage: $(LINUXVMIMAGE)
Pool: $(LINUXPOOL)
AdditionalParameters: AdditionalParameters:
DisplayName: ${{ parameters.JobName }} DisplayName: ${{ parameters.JobName }}
Artifacts: ${{ parameters.Artifacts }} Artifacts: ${{ parameters.Artifacts }}
@ -82,8 +84,9 @@ jobs:
- job: - job:
displayName: Create API Review for ${{ artifact.name }} displayName: Create API Review for ${{ artifact.name }}
pool: pool:
name: azsdk-pool-mms-win-2022-general name: $(WINDOWSPOOL)
vmImage: windows-2022 image: $(WINDOWSVMIMAGE)
os: windows
steps: steps:
- task: Powershell@2 - task: Powershell@2
inputs: inputs:
@ -141,8 +144,9 @@ jobs:
- job: GenerateReleaseArtifacts - job: GenerateReleaseArtifacts
pool: pool:
name: azsdk-pool-mms-win-2022-general name: $(WINDOWSPOOL)
vmImage: windows-2022 image: $(WINDOWSVMIMAGE)
os: windows
variables: variables:
VCPKG_DEFAULT_TRIPLET: 'x64-windows-static' VCPKG_DEFAULT_TRIPLET: 'x64-windows-static'
Package.EnableSBOMSigning: true Package.EnableSBOMSigning: true
@ -328,17 +332,14 @@ jobs:
continueOnError: true continueOnError: true
condition: and(succeeded(), eq(variables['VerifyChangeLogForRelease'], 'true')) condition: and(succeeded(), eq(variables['VerifyChangeLogForRelease'], 'true'))
- task: PublishPipelineArtifact@1 - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
inputs: parameters:
artifactName: packages ArtifactPath: $(Build.ArtifactStagingDirectory)/packages
path: $(Build.ArtifactStagingDirectory)/packages ArtifactName: packages
# After all docs artifacts are generated publish docs artifacts - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
- task: PublishPipelineArtifact@1 parameters:
inputs: ArtifactPath: $(Build.ArtifactStagingDirectory)/docs
artifactName: docs ArtifactName: docs
path: $(Build.ArtifactStagingDirectory)/docs
- template: /eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml - template: /eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml
- template: /eng/pipelines/templates/steps/generate-and-publish-sbom.yml

View File

@ -55,10 +55,12 @@ parameters:
- name: DisplayName - name: DisplayName
type: string type: string
default: Validate default: Validate
- name: OSName
type: string
default: ''
jobs: jobs:
- job: - job: ${{ parameters.DisplayName }}_${{ parameters.OSName }}
displayName: ${{ parameters.DisplayName }} displayName: ${{ parameters.DisplayName }}
dependsOn: ${{ parameters.DependsOn }} dependsOn: ${{ parameters.DependsOn }}
condition: and(succeededOrFailed(), ne(variables['Skip.Test'], 'true'), ne(${{ parameters.Matrix }}, '{}')) condition: and(succeededOrFailed(), ne(variables['Skip.Test'], 'true'), ne(${{ parameters.Matrix }}, '{}'))
@ -66,8 +68,14 @@ jobs:
matrix: $[ ${{ parameters.Matrix }} ] matrix: $[ ${{ parameters.Matrix }} ]
maxParallel: 12 maxParallel: 12
pool: pool:
vmImage: $(OSVmImage)
name: $(Pool) name: $(Pool)
# 1es pipeline templates converts `image` to demands: ImageOverride under the hood
# which is incompatible with image selection in the default non-1es hosted pools
${{ if eq(parameters.OSName, 'macOS') }}:
vmImage: $(OSVmImage)
${{ else }}:
image: $(OSVmImage)
os: ${{ parameters.OSName }}
variables: variables:
- name: CMOCKA_XML_FILE - name: CMOCKA_XML_FILE
value: "%g-test-results.xml" value: "%g-test-results.xml"
@ -99,7 +107,7 @@ jobs:
steps: steps:
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml - template: /eng/common/pipelines/templates/steps/verify-agent-os.yml
parameters: parameters:
AgentImage: $(OsVmImage) AgentImage: ${{ parameters.OSName }}
- template: /eng/pipelines/templates/steps/fix-1es-image-apt-azure-sources.yml - template: /eng/pipelines/templates/steps/fix-1es-image-apt-azure-sources.yml
@ -320,23 +328,10 @@ jobs:
condition: eq(variables['PublishMapFiles'], 'true') condition: eq(variables['PublishMapFiles'], 'true')
displayName: Stage map files displayName: Stage map files
- task: PublishPipelineArtifact@1 - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
inputs:
artifactName: map-files-$(MapFileArtifactName)
path: $(Build.ArtifactStagingDirectory)
condition: eq(variables['PublishMapFiles'], 'true')
displayName : Publish map file artifacts
- pwsh: |
$artifactName = "$(Agent.JobName)"
$parts = $artifactName -split ' '
if ($parts[1]) {
$artifactName = $parts[1]
}
Write-Host "##vso[task.setvariable variable=BomArtifactName;]$artifactName"
displayName: Set bom file artifact name
condition: succeededOrFailed()
- template: /eng/pipelines/templates/steps/generate-and-publish-sbom.yml
parameters: parameters:
BomArtifactName: $(BomArtifactName) ArtifactPath: $(Build.ArtifactStagingDirectory)
ArtifactName: map-files-$(MapFileArtifactName)
CustomCondition: eq(variables['PublishMapFiles'], 'true')
SbomEnabled: false

View File

@ -19,7 +19,7 @@ parameters:
default: 120 default: 120
jobs: jobs:
- template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml - template: /eng/common/pipelines/templates/jobs/generate-job-matrix.yml
parameters: parameters:
MatrixConfigs: MatrixConfigs:
- Name: base - Name: base
@ -27,13 +27,15 @@ jobs:
Selection: all Selection: all
GenerateVMJobs: true GenerateVMJobs: true
JobTemplatePath: /eng/pipelines/templates/jobs/cmake-generate.tests.yml JobTemplatePath: /eng/pipelines/templates/jobs/cmake-generate.tests.yml
OsVmImage: $(LINUXVMIMAGE)
Pool: $(LINUXPOOL)
GenerateJobName: generate_matrix_cmake GenerateJobName: generate_matrix_cmake
AdditionalParameters: AdditionalParameters:
Artifacts: ${{ parameters.Artifacts }} Artifacts: ${{ parameters.Artifacts }}
ServiceDirectory: ${{ parameters.ServiceDirectory }} ServiceDirectory: ${{ parameters.ServiceDirectory }}
CMakeTestOptions: ${{ parameters.CMakeTestOptions }} CMakeTestOptions: ${{ parameters.CMakeTestOptions }}
- template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml - template: /eng/common/pipelines/templates/jobs/generate-job-matrix.yml
parameters: parameters:
MatrixConfigs: MatrixConfigs:
- Name: base - Name: base
@ -41,6 +43,8 @@ jobs:
Selection: all Selection: all
GenerateVMJobs: true GenerateVMJobs: true
JobTemplatePath: /eng/pipelines/templates/jobs/cmake-generate.tests.yml JobTemplatePath: /eng/pipelines/templates/jobs/cmake-generate.tests.yml
OsVmImage: $(LINUXVMIMAGE)
Pool: $(LINUXPOOL)
GenerateJobName: generate_matrix_cmake_source GenerateJobName: generate_matrix_cmake_source
AdditionalParameters: AdditionalParameters:
Artifacts: ${{ parameters.ArtifactsSource }} Artifacts: ${{ parameters.ArtifactsSource }}

View File

@ -31,9 +31,13 @@ parameters:
- name: TimeoutInMinutes - name: TimeoutInMinutes
type: number type: number
default: 120 default: 120
- name: OSName
type: string
default: ''
jobs: jobs:
- job: ${{ parameters.JobName }} - job:
displayName: ${{ parameters.JobName }}
timeoutInMinutes: ${{ parameters.TimeoutInMinutes }} timeoutInMinutes: ${{ parameters.TimeoutInMinutes }}
condition: >- condition: >-
and( and(
@ -48,7 +52,13 @@ jobs:
pool: pool:
name: $(Pool) name: $(Pool)
vmImage: $(OSVmImage) # 1es pipeline templates converts `image` to demands: ImageOverride under the hood
# which is incompatible with image selection in the default non-1es hosted pools
${{ if eq(parameters.OSName, 'macOS') }}:
vmImage: $(OSVmImage)
${{ else }}:
image: $(OSVmImage)
os: ${{ parameters.OSName }}
${{ if eq(parameters.UsePlatformContainer, 'true') }}: ${{ if eq(parameters.UsePlatformContainer, 'true') }}:
# Add a default so the job doesn't fail when the matrix is empty # Add a default so the job doesn't fail when the matrix is empty

View File

@ -39,15 +39,26 @@ parameters:
- name: PostTestSteps - name: PostTestSteps
type: stepList type: stepList
default: [] default: []
- name: OSName
type: string
default: ''
jobs: jobs:
- job: ValidateLive - job:
displayName: ValidateLive
dependsOn: ${{ parameters.DependsOn }} dependsOn: ${{ parameters.DependsOn }}
condition: and(ne(variables['Skip.LiveTest'], 'true'), ne(${{ parameters.Matrix }}, '{}')) condition: and(ne(variables['Skip.LiveTest'], 'true'), ne(${{ parameters.Matrix }}, '{}'))
timeoutInMinutes: ${{ parameters.TimeoutInMinutes }} timeoutInMinutes: ${{ parameters.TimeoutInMinutes }}
pool: pool:
name: $(Pool) name: $(Pool)
vmImage: $(OSVmImage) # 1es pipeline templates converts `image` to demands: ImageOverride under the hood
# which is incompatible with image selection in the default non-1es hosted pools
${{ if eq(parameters.OSName, 'macOS') }}:
vmImage: $(OSVmImage)
${{ else }}:
image: $(OSVmImage)
os: ${{ parameters.OSName }}
${{ if eq(parameters.UsePlatformContainer, 'true') }}: ${{ if eq(parameters.UsePlatformContainer, 'true') }}:
# Add a default so the job doesn't fail when the matrix is empty # Add a default so the job doesn't fail when the matrix is empty
@ -58,18 +69,30 @@ jobs:
matrix: $[ ${{ parameters.Matrix }} ] matrix: $[ ${{ parameters.Matrix }} ]
variables: variables:
CMOCKA_XML_FILE: "%g-test-results.xml" - template: /eng/pipelines/templates/variables/image.yml@self
CMOCKA_MESSAGE_OUTPUT: "xml" - name: CMOCKA_XML_FILE
AZURE_ENABLE_STATIC_ANALYSIS: 1 value: "%g-test-results.xml"
BuildArgs: "" - name: CMOCKA_MESSAGE_OUTPUT
VcpkgArgs: "" value: "xml"
WindowsCtestConfig: "" - name: AZURE_ENABLE_STATIC_ANALYSIS
CmakeEnvArg: "" value: 1
CmakeArgs: "" - name: BuildArgs
AZURE_TEST_MODE: "LIVE" value: ""
AZURE_LOG_LEVEL: "verbose" - name: VcpkgArgs
# Surface the ServiceDirectory parameter as an environment variable so tests can take advantage of it. value: ""
AZURE_SERVICE_DIRECTORY: ${{ parameters.ServiceDirectory }} - name: WindowsCtestConfig
value: ""
- name: CmakeEnvArg
value: ""
- name: CmakeArgs
value: ""
- name: AZURE_TEST_MODE
value: "LIVE"
- name: AZURE_LOG_LEVEL
value: "verbose"
# Surface the ServiceDirectory parameter as an environment variable so tests can take advantage of it.
- name: AZURE_SERVICE_DIRECTORY
value: ${{ parameters.ServiceDirectory }}
steps: steps:
- checkout: self - checkout: self

View File

@ -1,173 +1,214 @@
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
parameters: parameters:
- name: ServiceDirectory - name: ServiceDirectory
type: string type: string
default: not-specified default: not-specified
- name: CtestRegex - name: CtestRegex
type: string type: string
default: .* default: .*
- name: CtestExcludeRegex - name: CtestExcludeRegex
type: string type: string
default: '' default: ''
- name: CoverageEnabled - name: CoverageEnabled
type: boolean type: boolean
default: true default: true
- name: LiveTestCtestRegex - name: LiveTestCtestRegex
type: string type: string
default: '' default: ''
- name: Artifacts - name: Artifacts
type: object type: object
default: [] default: []
- name: ArtifactsSource - name: ArtifactsSource
type: object type: object
default: [] default: []
- name: CoverageReportPath - name: CoverageReportPath
type: string type: string
default: 'sdk/*/*/*cov_xml.xml' default: 'sdk/*/*/*cov_xml.xml'
- name: LiveTestTimeoutInMinutes - name: LiveTestTimeoutInMinutes
type: number type: number
default: 120 default: 120
- name: LineCoverageTarget - name: LineCoverageTarget
type: number type: number
default: 95 default: 95
- name: BranchCoverageTarget - name: BranchCoverageTarget
type: number type: number
default: 70 default: 70
- name: TestEnv - name: TestEnv
type: object type: object
default: [] default: []
- name: CMakeTestOptions - name: CMakeTestOptions
type: object type: object
default: [] default: []
- name: CMakeSourceTestOptions - name: CMakeSourceTestOptions
type: object type: object
default: [] default: []
- name: Location - name: Location
type: string type: string
default: '' default: ''
- name: CloudConfig - name: CloudConfig
type: object type: object
default: default:
Public: Public:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
Preview: Preview:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview)
Canary: Canary:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
Location: 'eastus2euap' Location: 'eastus2euap'
UsGov: UsGov:
SubscriptionConfiguration: $(sub-config-gov-test-resources) SubscriptionConfiguration: $(sub-config-gov-test-resources)
China: China:
SubscriptionConfiguration: $(sub-config-cn-test-resources) SubscriptionConfiguration: $(sub-config-cn-test-resources)
- name: Clouds - name: Clouds
type: string type: string
default: Public default: Public
- name: SupportedClouds - name: SupportedClouds
type: string type: string
default: Public default: Public
- name: UnsupportedClouds - name: UnsupportedClouds
type: string type: string
default: '' default: ''
- name: PreTestSteps - name: PreTestSteps
type: stepList type: stepList
default: [] default: []
- name: PostTestSteps - name: PostTestSteps
type: stepList type: stepList
default: [] default: []
- name: CMakeGenerationTimeoutInMinutes - name: CMakeGenerationTimeoutInMinutes
type: number type: number
default: 120 default: 120
stages: extends:
- stage: CMakeGeneration ${{ if eq(variables['System.TeamProject'], 'internal') }}:
jobs: template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
- template: /eng/pipelines/templates/jobs/cmake-generate-jobs.yml ${{ else }}:
parameters: template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
TimeoutInMinutes: ${{ parameters.CMakeGenerationTimeoutInMinutes }} parameters:
ServiceDirectory: ${{ parameters.ServiceDirectory }} settings:
Artifacts: ${{ parameters.Artifacts }} skipBuildTagsForGitHubPullRequests: true
ArtifactsSource: ${{ parameters.ArtifactsSource }} sdl:
CMakeTestOptions: ${{ parameters.CMakeTestOptions }} sourceAnalysisPool:
CMakeSourceTestOptions: ${{ parameters.CMakeSourceTestOptions }} name: azsdk-pool-mms-win-2022-general
image: azsdk-pool-mms-win-2022-1espt
os: windows
eslint:
enabled: false
justificationForDisabling: 'ESLint injected task has failures because it uses an old version of mkdirp. We should not fail for tools not controlled by the repo. See: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3499746'
psscriptanalyzer:
compiled: true
break: true
policy: M365
credscan:
suppressionsFile: $(Build.SourcesDirectory)/eng/CredScanSuppression.json
toolVersion: 2.3.12.23
binskim:
enabled: true
scanOutputDirectoryOnly: true
# PrePublishBuild runs a narrower set of fast builds. If these builds pass, stages:
# Integration can launch immediately without awaiting more build and test jobs - stage: CMakeGeneration
- stage: PrePublishBuild variables:
dependsOn: [] - template: /eng/pipelines/templates/variables/image.yml@self
jobs: jobs:
- template: /eng/pipelines/templates/jobs/archetype-sdk-client.yml - template: /eng/pipelines/templates/jobs/cmake-generate-jobs.yml@self
parameters: parameters:
MatrixFile: eng/pipelines/templates/stages/platform-matrix-quick.json TimeoutInMinutes: ${{ parameters.CMakeGenerationTimeoutInMinutes }}
JobName: QuickValidate ServiceDirectory: ${{ parameters.ServiceDirectory }}
ServiceDirectory: ${{ parameters.ServiceDirectory }} Artifacts: ${{ parameters.Artifacts }}
Artifacts: ${{ parameters.Artifacts }} ArtifactsSource: ${{ parameters.ArtifactsSource }}
CtestRegex: ${{ parameters.CtestRegex }} CMakeTestOptions: ${{ parameters.CMakeTestOptions }}
CtestExcludeRegex: ${{ parameters.CtestExcludeRegex }} CMakeSourceTestOptions: ${{ parameters.CMakeSourceTestOptions }}
CoverageEnabled: ${{ parameters.CoverageEnabled }}
CoverageReportPath: ${{ parameters.CoverageReportPath }}
LineCoverageTarget: ${{ parameters.LineCoverageTarget }}
BranchCoverageTarget: ${{ parameters.BranchCoverageTarget }}
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
TestEnv: ${{ parameters.TestEnv }}
PreTestSteps: ${{ parameters.PreTestSteps }}
PostTestSteps: ${{ parameters.PostTestSteps }}
RunMetaJobs: true
- stage: Build # PrePublishBuild runs a narrower set of fast builds. If these builds pass,
dependsOn: [] # Integration can launch immediately without awaiting more build and test jobs
jobs: - stage: PrePublishBuild
- template: /eng/pipelines/templates/jobs/archetype-sdk-client.yml variables:
parameters: - template: /eng/pipelines/templates/variables/image.yml@self
MatrixFile: eng/pipelines/templates/stages/platform-matrix.json dependsOn: []
JobName: Validate jobs:
ServiceDirectory: ${{ parameters.ServiceDirectory }} - template: /eng/pipelines/templates/jobs/archetype-sdk-client.yml@self
Artifacts: ${{ parameters.Artifacts }} parameters:
CtestRegex: ${{ parameters.CtestRegex }} MatrixFile: eng/pipelines/templates/stages/platform-matrix-quick.json
CtestExcludeRegex: ${{ parameters.CtestExcludeRegex }} JobName: QuickValidate
CoverageEnabled: ${{ parameters.CoverageEnabled }} ServiceDirectory: ${{ parameters.ServiceDirectory }}
CoverageReportPath: ${{ parameters.CoverageReportPath }} Artifacts: ${{ parameters.Artifacts }}
LineCoverageTarget: ${{ parameters.LineCoverageTarget }} CtestRegex: ${{ parameters.CtestRegex }}
BranchCoverageTarget: ${{ parameters.BranchCoverageTarget }} CtestExcludeRegex: ${{ parameters.CtestExcludeRegex }}
${{ if eq(parameters.ServiceDirectory, 'template') }}: CoverageEnabled: ${{ parameters.CoverageEnabled }}
TestPipeline: true CoverageReportPath: ${{ parameters.CoverageReportPath }}
TestEnv: ${{ parameters.TestEnv }} LineCoverageTarget: ${{ parameters.LineCoverageTarget }}
PreTestSteps: ${{ parameters.PreTestSteps }} BranchCoverageTarget: ${{ parameters.BranchCoverageTarget }}
PostTestSteps: ${{ parameters.PostTestSteps }} ${{ if eq(parameters.ServiceDirectory, 'template') }}:
RunMetaJobs: false TestPipeline: true
TestEnv: ${{ parameters.TestEnv }}
PreTestSteps: ${{ parameters.PreTestSteps }}
PostTestSteps: ${{ parameters.PostTestSteps }}
RunMetaJobs: true
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(parameters.LiveTestCtestRegex, '')) }}: - stage: Build
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml variables:
# Code coverage is enabled by default for live tests - template: /eng/pipelines/templates/variables/image.yml@self
parameters: dependsOn: []
TimeoutInMinutes: ${{ parameters.LiveTestTimeoutInMinutes }} jobs:
ServiceDirectory: ${{ parameters.ServiceDirectory }} - template: /eng/pipelines/templates/jobs/archetype-sdk-client.yml@self
CtestRegex: ${{ parameters.LiveTestCtestRegex }} # Code coverage is enabled by default for live tests
CoverageReportPath: ${{ parameters.CoverageReportPath }} parameters:
Location: ${{ parameters.Location }} MatrixFile: eng/pipelines/templates/stages/platform-matrix.json
CloudConfig: ${{ parameters.CloudConfig }} JobName: Validate
Clouds: ${{ parameters.Clouds }} ServiceDirectory: ${{ parameters.ServiceDirectory }}
SupportedClouds: ${{ parameters.SupportedClouds }} Artifacts: ${{ parameters.Artifacts }}
UnsupportedClouds: ${{ parameters.UnsupportedClouds }} CtestRegex: ${{ parameters.CtestRegex }}
PreTestSteps: ${{ parameters.PreTestSteps }} CtestExcludeRegex: ${{ parameters.CtestExcludeRegex }}
PostTestSteps: ${{ parameters.PostTestSteps }} CoverageEnabled: ${{ parameters.CoverageEnabled }}
CoverageReportPath: ${{ parameters.CoverageReportPath }}
LineCoverageTarget: ${{ parameters.LineCoverageTarget }}
BranchCoverageTarget: ${{ parameters.BranchCoverageTarget }}
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
TestEnv: ${{ parameters.TestEnv }}
PreTestSteps: ${{ parameters.PreTestSteps }}
PostTestSteps: ${{ parameters.PostTestSteps }}
RunMetaJobs: false
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(parameters.LiveTestCtestRegex, '')) }}:
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml@self
parameters:
TimeoutInMinutes: ${{ parameters.LiveTestTimeoutInMinutes }}
ServiceDirectory: ${{ parameters.ServiceDirectory }}
CtestRegex: ${{ parameters.LiveTestCtestRegex }}
CoverageReportPath: ${{ parameters.CoverageReportPath }}
Location: ${{ parameters.Location }}
CloudConfig: ${{ parameters.CloudConfig }}
Clouds: ${{ parameters.Clouds }}
SupportedClouds: ${{ parameters.SupportedClouds }}
UnsupportedClouds: ${{ parameters.UnsupportedClouds }}
PreTestSteps: ${{ parameters.PreTestSteps }}
PostTestSteps: ${{ parameters.PostTestSteps }}
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), not(endsWith(variables['Build.DefinitionName'], ' - tests'))) }}:
- template: archetype-cpp-release.yml@self
parameters:
ServiceDirectory: ${{ parameters.ServiceDirectory }}
IntegrationDependsOn:
- PrePublishBuild
DependsOn:
- PrePublishBuild
- Build
# Only depend on `LiveTest` if there are live tests to execute
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(parameters.LiveTestCtestRegex, '')) }}:
# Pulled from stages/archetype-sdk-tests.yml to generate 'LiveTest_<cloud>'
- ${{ each cloud in parameters.CloudConfig }}:
- ${{ if or(contains(parameters.Clouds, cloud.key), and(contains(variables['Build.DefinitionName'], 'tests-weekly'), contains(parameters.SupportedClouds, cloud.key))) }}:
- ${{ if not(contains(parameters.UnsupportedClouds, cloud.key)) }}:
- LiveTest_${{ cloud.key }}
Artifacts: ${{ parameters.Artifacts }}
ArtifactName: packages
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), not(endsWith(variables['Build.DefinitionName'], ' - tests'))) }}:
- template: archetype-cpp-release.yml
parameters:
ServiceDirectory: ${{ parameters.ServiceDirectory }}
IntegrationDependsOn:
- PrePublishBuild
DependsOn:
- PrePublishBuild
- Build
# Only depend on `LiveTest` if there are live tests to execute
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(parameters.LiveTestCtestRegex, '')) }}:
# Pulled from stages/archetype-sdk-tests.yml to generate 'LiveTest_<cloud>'
- ${{ each cloud in parameters.CloudConfig }}:
- ${{ if or(contains(parameters.Clouds, cloud.key), and(contains(variables['Build.DefinitionName'], 'tests-weekly'), contains(parameters.SupportedClouds, cloud.key))) }}:
- ${{ if not(contains(parameters.UnsupportedClouds, cloud.key)) }}:
- LiveTest_${{ cloud.key }}
Artifacts: ${{ parameters.Artifacts }}
ArtifactName: packages
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true

View File

@ -43,7 +43,7 @@ stages:
- stage: LiveTest_${{ cloud.key }} - stage: LiveTest_${{ cloud.key }}
dependsOn: [] dependsOn: []
jobs: jobs:
- template: /eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml - template: /eng/common/pipelines/templates/jobs/generate-job-matrix.yml
parameters: parameters:
MatrixConfigs: MatrixConfigs:
- Name: base - Name: base
@ -51,6 +51,8 @@ stages:
Selection: all Selection: all
GenerateVMJobs: true GenerateVMJobs: true
JobTemplatePath: /eng/pipelines/templates/jobs/live.tests.yml JobTemplatePath: /eng/pipelines/templates/jobs/live.tests.yml
OsVmImage: $(LINUXVMIMAGE)
Pool: $(LINUXPOOL)
CloudConfig: CloudConfig:
SubscriptionConfiguration: ${{ cloud.value.SubscriptionConfiguration }} SubscriptionConfiguration: ${{ cloud.value.SubscriptionConfiguration }}
SubscriptionConfigurations: ${{ cloud.value.SubscriptionConfigurations }} SubscriptionConfigurations: ${{ cloud.value.SubscriptionConfigurations }}

View File

@ -3,19 +3,19 @@
"CmakeEnvArg": "", "CmakeEnvArg": "",
"OSConfig": { "OSConfig": {
"Linux": { "Linux": {
"Pool": "azsdk-pool-mms-ubuntu-2204-general", "Pool": "env:LINUXNEXTPOOL",
"OSVmImage": "MMSUbuntu22.04", "OSVmImage": "env:LINUXNEXTVMIMAGE",
"AptDependencies": "libcurl4-openssl-dev", "AptDependencies": "libcurl4-openssl-dev",
"VCPKG_DEFAULT_TRIPLET": "x64-linux" "VCPKG_DEFAULT_TRIPLET": "x64-linux"
}, },
"Windows": { "Windows": {
"Pool": "azsdk-pool-mms-win-2022-general", "Pool": "env:WINDOWSPOOL",
"OSVmImage": "windows-2022", "OSVmImage": "env:WINDOWSVMIMAGE",
"VCPKG_DEFAULT_TRIPLET": "x64-windows" "VCPKG_DEFAULT_TRIPLET": "x64-windows"
}, },
"Mac": { "Mac": {
"Pool": "Azure Pipelines", "Pool": "env:MACPOOL",
"OSVmImage": "macos-11", "OSVmImage": "env:MACVMIMAGE",
"VCPKG_DEFAULT_TRIPLET": "x64-osx" "VCPKG_DEFAULT_TRIPLET": "x64-osx"
} }
} }

View File

@ -2,19 +2,19 @@
"matrix": { "matrix": {
"OSConfig": { "OSConfig": {
"Windows": { "Windows": {
"Pool": "azsdk-pool-mms-win-2022-general", "Pool": "env:WINDOWSPOOL",
"OSVmImage": "windows-2022", "OSVmImage": "env:WINDOWSVMIMAGE",
"CmakeEnvArg": "" "CmakeEnvArg": ""
}, },
"Linux": { "Linux": {
"Pool": "azsdk-pool-mms-ubuntu-2204-general", "Pool": "env:LINUXNEXTPOOL",
"OSVmImage": "MMSUbuntu22.04", "OSVmImage": "env:LINUXNEXTVMIMAGE",
"CmakeEnvArg": "", "CmakeEnvArg": "",
"AptDependencies": "libcurl4-openssl-dev" "AptDependencies": "libcurl4-openssl-dev"
}, },
"Mac": { "Mac": {
"Pool": "Azure Pipelines", "Pool": "env:MACPOOL",
"OSVmImage": "macos-11", "OSVmImage": "env:MACVMIMAGE",
"CmakeEnvArg": "OPENSSL_ROOT_DIR=/usr/local/opt/openssl@3 OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@3/include ", "CmakeEnvArg": "OPENSSL_ROOT_DIR=/usr/local/opt/openssl@3 OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@3/include ",
"BrewDependencies": "openssl" "BrewDependencies": "openssl"
} }

View File

@ -6,8 +6,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"macOS-11": { "macOS-11": {
"Pool": "Azure Pipelines", "Pool": "env:MACPOOL",
"OSVmImage": "macos-11", "OSVmImage": "env:MACVMIMAGE",
"VCPKG_DEFAULT_TRIPLET": "x64-osx", "VCPKG_DEFAULT_TRIPLET": "x64-osx",
"BuildArgs": "-j 4" "BuildArgs": "-j 4"
} }
@ -24,8 +24,8 @@
"Ubu2204": { "Ubu2204": {
"VCPKG_DEFAULT_TRIPLET": "x64-linux", "VCPKG_DEFAULT_TRIPLET": "x64-linux",
"BuildArgs": "-j 4", "BuildArgs": "-j 4",
"Pool": "azsdk-pool-mms-ubuntu-2204-general", "Pool": "env:LINUXNEXTPOOL",
"OSVmImage": "MMSUbuntu22.04", "OSVmImage": "env:LINUXNEXTVMIMAGE",
"RunProxyTests": true "RunProxyTests": true
} }
}, },
@ -43,8 +43,8 @@
"StaticConfigs": { "StaticConfigs": {
"Ubu20": { "Ubu20": {
"BuildArgs": "-j 4", "BuildArgs": "-j 4",
"Pool": "azsdk-pool-mms-ubuntu-2004-general", "Pool": "env:LINUXPOOL",
"OSVmImage": "MMSUbuntu20.04", "OSVmImage": "env:LINUXVMIMAGE",
"VCPKG_DEFAULT_TRIPLET": "x64-linux", "VCPKG_DEFAULT_TRIPLET": "x64-linux",
"RunProxyTests": true "RunProxyTests": true
} }
@ -66,13 +66,13 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Win2019": { "Win2019": {
"Pool": "azsdk-pool-mms-win-2019-general", "Pool": "env:WINDOWSPREVIOUSPOOL",
"OSVmImage": "windows-2019", "OSVmImage": "env:WINDOWSPREVIOUSVMIMAGE",
"CMAKE_GENERATOR": "Visual Studio 16 2019" "CMAKE_GENERATOR": "Visual Studio 16 2019"
}, },
"Win2022": { "Win2022": {
"Pool": "azsdk-pool-mms-win-2022-general", "Pool": "env:WINDOWSPOOL",
"OSVmImage": "windows-2022", "OSVmImage": "env:WINDOWSVMIMAGE",
"CMAKE_GENERATOR": "Visual Studio 17 2022" "CMAKE_GENERATOR": "Visual Studio 17 2022"
} }
}, },
@ -122,8 +122,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Win2022": { "Win2022": {
"Pool": "azsdk-pool-mms-win-2022-general", "Pool": "env:WINDOWSPOOL",
"OSVmImage": "windows-2022", "OSVmImage": "env:WINDOWSVMIMAGE",
"CMAKE_GENERATOR": "Visual Studio 17 2022", "CMAKE_GENERATOR": "Visual Studio 17 2022",
"RunProxyTests": true "RunProxyTests": true
} }

View File

@ -6,8 +6,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Ubuntu22": { "Ubuntu22": {
"OSVmImage": "MMSUbuntu22.04", "OSVmImage": "env:LINUXNEXTVMIMAGE",
"Pool": "azsdk-pool-mms-ubuntu-2204-general", "Pool": "env:LINUXNEXTPOOL",
"VCPKG_DEFAULT_TRIPLET": "x64-linux", "VCPKG_DEFAULT_TRIPLET": "x64-linux",
"BuildArgs": "-j 10", "BuildArgs": "-j 10",
"RunProxyTests": true "RunProxyTests": true

View File

@ -6,13 +6,13 @@
{ {
"OSConfiguration": { "OSConfiguration": {
"macOS-11": { "macOS-11": {
"OSVmImage": "macos-11", "OSVmImage": "env:MACVMIMAGE",
"XCODE_VERSION": "12.5.1" "XCODE_VERSION": "12.5.1"
} }
}, },
"StaticConfigs": { "StaticConfigs": {
"_": { "_": {
"Pool": "Azure Pipelines", "Pool": "env:MACPOOL",
"BuildArgs": "-j 10", "BuildArgs": "-j 10",
"VCPKG_DEFAULT_TRIPLET": "x64-osx", "VCPKG_DEFAULT_TRIPLET": "x64-osx",
"CmakeArgs": " -DBUILD_TESTING=ON -DENABLE_PROXY_TESTS=OFF -DBUILD_PERFORMANCE_TESTS=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_TRANSPORT_CURL=ON", "CmakeArgs": " -DBUILD_TESTING=ON -DENABLE_PROXY_TESTS=OFF -DBUILD_PERFORMANCE_TESTS=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_TRANSPORT_CURL=ON",
@ -31,8 +31,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Win2019_x64_Release": { "Win2019_x64_Release": {
"OSVmImage": "windows-2019", "OSVmImage": "env:WINDOWSPREVIOUSVMIMAGE",
"Pool": "azsdk-pool-mms-win-2019-general", "Pool": "azsdk-pool-mms-win-2019-1es-pt",
"CMAKE_GENERATOR": "Visual Studio 16 2019", "CMAKE_GENERATOR": "Visual Studio 16 2019",
"CMAKE_GENERATOR_PLATFORM": "x64", "CMAKE_GENERATOR_PLATFORM": "x64",
"VCPKG_DEFAULT_TRIPLET": "x64-windows-static", "VCPKG_DEFAULT_TRIPLET": "x64-windows-static",
@ -49,8 +49,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Win2022": { "Win2022": {
"OSVmImage": "windows-2022", "OSVmImage": "env:WINDOWSVMIMAGE",
"Pool": "azsdk-pool-mms-win-2022-general", "Pool": "env:WINDOWSPOOL",
"CMAKE_GENERATOR": "Visual Studio 17 2022" "CMAKE_GENERATOR": "Visual Studio 17 2022"
} }
}, },
@ -78,8 +78,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Win2022": { "Win2022": {
"OSVmImage": "windows-2022", "OSVmImage": "env:WINDOWSVMIMAGE",
"Pool": "azsdk-pool-mms-win-2022-general", "Pool": "env:WINDOWSPOOL",
"RunProxyTests": true, "RunProxyTests": true,
"CMAKE_GENERATOR": "Visual Studio 17 2022" "CMAKE_GENERATOR": "Visual Studio 17 2022"
} }
@ -111,8 +111,8 @@
"StaticConfigs": { "StaticConfigs": {
"Win2022": { "Win2022": {
"VcpkgInstall": "openssl", "VcpkgInstall": "openssl",
"OSVmImage": "windows-2022", "OSVmImage": "env:WINDOWSVMIMAGE",
"Pool": "azsdk-pool-mms-win-2022-general", "Pool": "env:WINDOWSPOOL",
"CMAKE_GENERATOR": "Visual Studio 17 2022", "CMAKE_GENERATOR": "Visual Studio 17 2022",
"PublishMapFiles": "true" "PublishMapFiles": "true"
} }
@ -141,8 +141,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Ubuntu22": { "Ubuntu22": {
"OSVmImage": "MMSUbuntu22.04", "OSVmImage": "env:LINUXNEXTVMIMAGE",
"Pool": "azsdk-pool-mms-ubuntu-2204-general", "Pool": "env:LINUXNEXTPOOL",
"VCPKG_DEFAULT_TRIPLET": "x64-linux", "VCPKG_DEFAULT_TRIPLET": "x64-linux",
"BuildArgs": "-j 10", "BuildArgs": "-j 10",
"RunProxyTests": true "RunProxyTests": true
@ -190,8 +190,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Ubuntu20": { "Ubuntu20": {
"OSVmImage": "MMSUbuntu20.04", "OSVmImage": "env:LINUXVMIMAGE",
"Pool": "azsdk-pool-mms-ubuntu-2004-general", "Pool": "env:LINUXPOOL",
"VCPKG_DEFAULT_TRIPLET": "x64-linux", "VCPKG_DEFAULT_TRIPLET": "x64-linux",
"BuildArgs": "-j 10", "BuildArgs": "-j 10",
"RunProxyTests": true "RunProxyTests": true
@ -208,8 +208,8 @@
{ {
"StaticConfigs": { "StaticConfigs": {
"Ubuntu20": { "Ubuntu20": {
"OSVmImage": "MMSUbuntu20.04", "OSVmImage": "env:LINUXVMIMAGE",
"Pool": "azsdk-pool-mms-ubuntu-2004-general", "Pool": "env:LINUXPOOL",
"VCPKG_DEFAULT_TRIPLET": "x64-linux", "VCPKG_DEFAULT_TRIPLET": "x64-linux",
"BuildArgs": "-j 10", "BuildArgs": "-j 10",
"CC": "/usr/bin/clang-11", "CC": "/usr/bin/clang-11",

View File

@ -0,0 +1,33 @@
# Default pool image selection. Set as variable so we can override at pipeline level
variables:
- name: LINUXPOOL
value: azsdk-pool-mms-ubuntu-2004-general
- name: LINUXNEXTPOOL
value: azsdk-pool-mms-ubuntu-2204-general
- name: WINDOWSPOOL
value: azsdk-pool-mms-win-2022-general
- name: WINDOWSPREVIOUSPOOL
value: azsdk-pool-mms-win-2019-general
- name: MACPOOL
value: Azure Pipelines
- name: LINUXVMIMAGE
value: azsdk-pool-mms-ubuntu-2004-1espt
- name: LINUXNEXTVMIMAGE
value: azsdk-pool-mms-ubuntu-2204-1espt
- name: WINDOWSVMIMAGE
value: azsdk-pool-mms-win-2022-1espt
- name: WINDOWSPREVIOUSVMIMAGE
value: azsdk-pool-mms-win-2019-1espt
- name: MACVMIMAGE
value: macos-11
# Values required for pool.os field in 1es pipeline templates
- name: LINUXOS
value: linux
- name: WINDOWSOS
value: windows
- name: MACOS
value: macOS

View File

@ -48,23 +48,23 @@ function getTargetOs {
return $OsVMImage return $OsVMImage
} }
if ($OsVMImage -eq "windows-2019") { if ($OsVMImage -eq "windows-2019" -or $OsVMImage.Contains("win-2019")) {
return "win-2019" return "win-2019"
} }
if ($OsVMImage -eq "windows-2022") { if ($OsVMImage -eq "windows-2022" -or $OsVMImage.Contains("win-2022")) {
return "win-2022" return "win-2022"
} }
if ($OsVMImage -in "MMSUbuntu18.04", "ubuntu-18.04") { if ($OsVMImage -in "MMSUbuntu18.04", "ubuntu-18.04", "azsdk-pool-mms-ubuntu-1804-1espt") {
return "ubuntu-18.04" return "ubuntu-18.04"
} }
if ($OsVMImage -in "MMSUbuntu20.04", "ubuntu-20.04") { if ($OsVMImage -in "MMSUbuntu20.04", "ubuntu-20.04", "azsdk-pool-mms-ubuntu-2004-1espt") {
return "ubuntu-20.04" return "ubuntu-20.04"
} }
if ($OsVMImage -in "MMSUbuntu22.04", "ubuntu-22.04") { if ($OsVMImage -in "MMSUbuntu22.04", "ubuntu-22.04", "azsdk-pool-mms-ubuntu-2204-1espt") {
return "ubuntu-22.04" return "ubuntu-22.04"
} }
@ -97,11 +97,11 @@ function getToolChain {
return "MSVC" return "MSVC"
} }
if ($OSVmImage -match "windows-\d{4}") { if ($OSVmImage -match "windows-\d{4}" -or $OSVmImage -match "win-\d{4}") {
return "MSVC17" return "MSVC17"
} }
if ($OSVmImage.Contains("Ubuntu")) { if ($OSVmImage.Contains("Ubuntu") -or $OSVmImage.Contains("ubuntu")) {
if ($CmakeEnvArg.Contains('g++-5')) { if ($CmakeEnvArg.Contains('g++-5')) {
return 'g++-5' return 'g++-5'
} elseif ($env:CXX -and $env:CXX.Contains("g++8")) { } elseif ($env:CXX -and $env:CXX.Contains("g++8")) {
@ -121,7 +121,7 @@ function getTargetPlatform {
return "macos" return "macos"
} }
if ($OSVmImage -match 'MMS\d{4}' -or $OsVMImage -match "windows-\d{4}") { if ($OSVmImage -match 'MMS\d{4}' -or $OsVMImage -match "windows-\d{4}" -or $OsVMImage -match "win-\d{4}") {
if (!$env:CMAKE_SYSTEM_NAME -and !$CmakeArgs.Contains('WindowsStore')) { if (!$env:CMAKE_SYSTEM_NAME -and !$CmakeArgs.Contains('WindowsStore')) {
return 'win32' return 'win32'
} elseif ($env:CMAKE_SYSTEM_NAME -eq 'WindowsStore' -or $CmakeArgs.Contains('WindowsStore')) { } elseif ($env:CMAKE_SYSTEM_NAME -eq 'WindowsStore' -or $CmakeArgs.Contains('WindowsStore')) {
@ -129,7 +129,7 @@ function getTargetPlatform {
} }
} }
if ($OSVmImage.Contains("Ubuntu")) { if ($OSVmImage.Contains("Ubuntu") -or $OSVmImage.Contains("ubuntu")) {
return 'linux' return 'linux'
} }

View File

@ -41,8 +41,8 @@ pr:
- '*.md' - '*.md'
- /**/*.md - /**/*.md
stages: extends:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters: parameters:
ServiceDirectory: core ServiceDirectory: core
# CI has static code analysis disabled, while LiveTest will have it enabled # CI has static code analysis disabled, while LiveTest will have it enabled

View File

@ -22,8 +22,8 @@ pr:
- sdk/storage - sdk/storage
- eng/common/testproxy - eng/common/testproxy
stages: extends:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters: parameters:
ServiceDirectory: storage ServiceDirectory: storage
# Not running tests on CI but only on LiveTest mode # Not running tests on CI but only on LiveTest mode

View File

@ -22,8 +22,8 @@ pr:
include: include:
- sdk/template - sdk/template
stages: extends:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters: parameters:
ServiceDirectory: template ServiceDirectory: template
CtestRegex: azure-template CtestRegex: azure-template