Skip to content

Commit 77892ae

Browse files
Skip pypy3 for service bus CI pipeline (#12732)
* Skip pypy3 for service bus CI pipeline
1 parent 7396e63 commit 77892ae

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

eng/pipelines/templates/jobs/archetype-sdk-client.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ parameters:
77
ToxEnvParallel: '--tenvparallel'
88
InjectedPackages: ''
99
BuildDocs: true
10+
SkipPythonVersion: ''
1011
TestMatrix:
1112
Linux_Python27:
1213
OSVmImage: 'ubuntu-18.04'
@@ -92,8 +93,10 @@ jobs:
9293
matrix:
9394
${{ each matrixEntry in parameters.TestMatrix }}:
9495
${{ if or(eq(matrixEntry.value.RunForPR, 'true'), ne(variables['Build.Reason'], 'PullRequest')) }}:
95-
${{ matrixEntry.key }}:
96-
${{ insert }}: ${{ matrixEntry.value }}
96+
# Skip python version if any specific service has opted out
97+
${{ if ne(parameters.SkipPythonVersion, matrixEntry.value.PythonVersion) }}:
98+
${{ matrixEntry.key }}:
99+
${{ insert }}: ${{ matrixEntry.value }}
97100

98101
pool:
99102
vmImage: '$(OSVmImage)'

eng/pipelines/templates/stages/archetype-sdk-client.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ parameters:
2020
- name: TargetDocRepoName
2121
type: string
2222
default: azure-docs-sdk-python
23+
- name: SkipPythonVersion
24+
type: string
25+
default: ''
2326

2427
stages:
2528
- stage: Build
@@ -30,6 +33,7 @@ stages:
3033
ToxEnvParallel: ${{parameters.ToxEnvParallel}}
3134
BuildDocs: ${{parameters.BuildDocs}}
3235
InjectedPackages: ${{parameters.InjectedPackages}}
36+
SkipPythonVersion: ${{parameters.SkipPythonVersion}}
3337

3438
# The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch.
3539
- ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}:
@@ -41,4 +45,4 @@ stages:
4145
ArtifactName: packages
4246
DocArtifact: documentation
4347
TargetDocRepoOwner: ${{parameters.TargetDocRepoOwner}}
44-
TargetDocRepoName: ${{parameters.TargetDocRepoName}}
48+
TargetDocRepoName: ${{parameters.TargetDocRepoName}}

sdk/servicebus/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ extends:
3333
safeName: azuremgmtservicebus
3434
- name: azure_servicebus
3535
safeName: azureservicebus
36+
SkipPythonVersion: 'pypy3'
37+

0 commit comments

Comments
 (0)