Skip to content

Commit ff7b6ee

Browse files
authored
Additional pipeline changes (Azure#44021)
1 parent 0028d66 commit ff7b6ee

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

eng/pipelines/templates/jobs/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,22 @@ jobs:
451451
- ${{ config }}
452452
- ${{ each config in parameters.AdditionalMatrixConfigs }}:
453453
- ${{ config }}
454+
${{ if eq(parameters.ServiceDirectory, 'auto') }}:
455+
EnablePRGeneration: true
456+
SparseCheckoutPaths:
457+
- '**/*.xml'
458+
- '**/*.md'
459+
- '**/ci*.yml' # necessary for save-package-properties.yml
460+
- "**/*matrix*.json" # necessary for test matrix generation
461+
PreGenerationSteps:
462+
- task: UsePythonVersion@0
463+
displayName: 'Use Python $(PythonVersion)'
464+
inputs:
465+
versionSpec: $(PythonVersion)
466+
- template: /eng/common/pipelines/templates/steps/save-package-properties.yml
467+
parameters:
468+
ServiceDirectory: ${{parameters.ServiceDirectory}}
469+
ExcludePaths: ${{parameters.ExcludePaths}}
454470
MatrixFilters: ${{ parameters.MatrixFilters }}
455471
MatrixReplace: ${{ parameters.MatrixReplace }}
456472
CloudConfig:

sdk/core/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,13 @@ extends:
171171
- name: perf-test-core
172172
groupId: com.azure
173173

174+
# This needs to be temporarily here for the PR pipeline.
175+
MatrixConfigs:
176+
- Name: Java_ci_test_base
177+
Path: eng/pipelines/templates/stages/platform-matrix.json
178+
Selection: sparse
179+
NonSparseParameters: Agent
180+
GenerateVMJobs: true
174181
# Run separate version override tests using a different artifacts list
175182
# This matrix config overrides the ArtifactsJson variable
176183
AdditionalMatrixConfigs:
@@ -184,4 +191,3 @@ extends:
184191
parameters:
185192
AdditionalMatrixReplace:
186193
- TestFromSource=(.*)/true
187-

sdk/serialization/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ extends:
4646
safeName: azurexml
4747
releaseInBatch: ${{ parameters.release_azurexml }}
4848

49+
# This needs to be temporarily here for the PR pipeline.
50+
MatrixConfigs:
51+
- Name: Java_ci_test_base
52+
Path: eng/pipelines/templates/stages/platform-matrix.json
53+
Selection: sparse
54+
NonSparseParameters: Agent
55+
GenerateVMJobs: true
56+
4957
# Run separate version override tests using a different artifacts list
5058
# This matrix config overrides the ArtifactsJson variable
5159
AdditionalMatrixConfigs:

0 commit comments

Comments
 (0)