Skip to content

Commit e3c3298

Browse files
committed
standardize on new pools + directly update 3.8 to 3.9 and remove 3.8 from livetest matrices
1 parent 15da972 commit e3c3298

File tree

27 files changed

+72
-93
lines changed

27 files changed

+72
-93
lines changed

eng/pipelines/autorest_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
displayName: 'Run AutoRest'
2626

2727
pool:
28-
name: azsdk-pool-mms-ubuntu-2004-general
29-
vmImage: 'ubuntu-20.04'
28+
name: azsdk-pool
29+
vmImage: 'ubuntu-22.04'
3030

3131
steps:
3232
- task: NodeTool@0

eng/pipelines/templates/jobs/smoke.tests.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
- job: smoke_test_eligibility
1414
displayName: Check Smoke Test Eligibility
1515
pool:
16-
name: azsdk-pool-mms-ubuntu-2004-general
17-
image: azsdk-pool-mms-ubuntu-2004-1espt
16+
name: $(LINUXPOOL)
17+
image: $(LINUXVMIMAGE)
1818
os: linux
1919
steps:
2020
- ${{ if and(ne(variables['Skip.Release'], 'true'), ne(parameters.Artifact.skipPublishPackage, 'true')) }}:
@@ -41,15 +41,15 @@ jobs:
4141
condition: and(succeeded(), eq(dependencies.smoke_test_eligibility.outputs['output_eligibility.RunSmokeTests'], true))
4242
strategy:
4343
matrix:
44-
Python_38_Linux (AzureCloud):
45-
PythonVersion: '3.8'
46-
Pool: "azsdk-pool-mms-ubuntu-2004-general"
47-
OSVmImage: azsdk-pool-mms-ubuntu-2004-1espt
44+
Python_310_Linux (AzureCloud):
45+
PythonVersion: '3.10'
46+
Pool: $(LINUXPOOL)
47+
OSVmImage: $(LINUXVMIMAGE)
4848
${{ if eq(parameters.Daily, true) }}:
49-
Python_37_Linux (AzureCloud):
50-
PythonVersion: '3.7'
51-
Pool: azsdk-pool-mms-ubuntu-2004-general
52-
OSVmImage: azsdk-pool-mms-ubuntu-2004-1espt
49+
Python_39_Linux (AzureCloud):
50+
PythonVersion: '3.9'
51+
Pool: $(LINUXPOOL)
52+
OSVmImage: $(LINUXVMIMAGE)
5353

5454
pool:
5555
name: $(Pool)
@@ -79,14 +79,14 @@ jobs:
7979
condition: and(succeeded(), eq(dependencies.smoke_test_eligibility.outputs['output_eligibility.RunSmokeTests'], true))
8080
strategy:
8181
matrix:
82-
Python_37_Windows (AzureCloud):
83-
PythonVersion: '3.7'
84-
Pool: azsdk-pool-mms-win-2022-general
85-
OSVmImage: azsdk-pool-mms-win-2022-1espt
86-
Python_38_Windows (AzureCloud):
87-
PythonVersion: '3.8'
88-
Pool: azsdk-pool-mms-win-2022-general
89-
OSVmImage: azsdk-pool-mms-win-2022-1espt
82+
Python_310_Windows (AzureCloud):
83+
PythonVersion: '3.10'
84+
Pool: $(LINUXPOOL)
85+
OSVmImage: $(LINUXVMIMAGE)
86+
Python_39_Windows (AzureCloud):
87+
PythonVersion: '3.9'
88+
Pool: $(LINUXPOOL)
89+
OSVmImage: $(LINUXVMIMAGE)
9090

9191
pool:
9292
name: $(Pool)
@@ -113,14 +113,14 @@ jobs:
113113
condition: and(succeeded(), eq(dependencies.smoke_test_eligibility.outputs['output_eligibility.RunSmokeTests'], true))
114114
strategy:
115115
matrix:
116-
Python_37_Mac (AzureCloud):
117-
PythonVersion: '3.7'
118-
Pool: Azure Pipelines
119-
OSVmImage: macos-latest
120-
Python_38_Mac (AzureCloud):
121-
PythonVersion: '3.8'
122-
Pool: Azure Pipelines
123-
OSVmImage: macos-latest
116+
Python_310_Mac (AzureCloud):
117+
PythonVersion: '3.10'
118+
Pool: $(MACPOOL)
119+
OSVmImage: $(MACVMIMAGE)
120+
Python_39_Mac (AzureCloud):
121+
PythonVersion: '3.9'
122+
Pool: $(MACPOOL)
123+
OSVmImage: $(MACVMIMAGE)
124124

125125
pool:
126126
name: $(Pool)

eng/pipelines/templates/jobs/update_pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ variables:
1010
skipComponentGovernanceDetection: true
1111

1212
pool:
13-
name: azsdk-pool-mms-ubuntu-2204-general
14-
vmImage: 'ubuntu-22.04'
13+
name: $(LINUXPOOL)
14+
vmImage: $(LINUXVMIMAGE)
1515

1616
steps:
1717
- task: UsePythonVersion@0
18-
displayName: 'Use Python 3.8'
18+
displayName: 'Use Python 3.9'
1919
inputs:
20-
versionSpec: 3.8
20+
versionSpec: 3.9
2121

2222
- script: |
2323
python3 -m pip install -e $(Build.SourcesDirectory)/tools/azure-sdk-tools[ghtools]

eng/pipelines/templates/stages/platform-matrix.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ubuntu-20.04": { "OSVmImage": "env:LINUXVMIMAGE", "Pool": "env:LINUXPOOL" },
1010
"windows-2022": { "OSVmImage": "env:WINDOWSVMIMAGE", "Pool": "env:WINDOWSPOOL" }
1111
},
12-
"PythonVersion": [ "3.8", "3.10", "3.12" ],
12+
"PythonVersion": [ "3.10", "3.12" ],
1313
"CoverageArg": "--disablecov",
1414
"TestSamples": "false"
1515
},

eng/pipelines/templates/stages/python-analyze-weekly.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,16 @@ stages:
1919
- job: 'Analyze'
2020
timeoutInMinutes: 90
2121

22-
variables:
23-
- name: PythonVersion
24-
value: '3.8'
25-
2622
pool:
2723
name: $(LINUXPOOL)
2824
image: $(LINUXVMIMAGE)
2925
os: linux
3026

3127
steps:
3228
- task: UsePythonVersion@0
33-
displayName: 'Use Python 3.8'
29+
displayName: 'Use Python 3.9'
3430
inputs:
35-
versionSpec: '3.8'
31+
versionSpec: '3.9'
3632
- script: |
3733
python -m pip install -r eng/ci_tools.txt
3834
displayName: 'Prep Environment'

eng/pipelines/templates/steps/run_black.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ parameters:
55

66
steps:
77
- task: UsePythonVersion@0
8-
displayName: 'Use Python 3.8'
8+
displayName: 'Use Python 3.9'
99
inputs:
10-
versionSpec: '3.8'
10+
versionSpec: '3.9'
1111
condition: succeededOrFailed()
1212

1313
- script: |

eng/pipelines/templates/steps/run_mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ parameters:
88
# Please use `$(TargetingString)` to refer to the python packages glob string. This variable is set from resolve-package-targeting.yml.
99
steps:
1010
- task: UsePythonVersion@0
11-
displayName: 'Use Python 3.8'
11+
displayName: 'Use Python 3.9'
1212
inputs:
13-
versionSpec: '3.8'
13+
versionSpec: '3.9'
1414
condition: and(succeededOrFailed(), ne(variables['Skip.MyPy'],'true'))
1515

1616
- script: |

eng/pipelines/templates/steps/run_pylint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ parameters:
77
# Please use `$(TargetingString)` to refer to the python packages glob string. This variable is set from resolve-package-targeting.yml.
88
steps:
99
- task: UsePythonVersion@0
10-
displayName: 'Use Python 3.8'
10+
displayName: 'Use Python 3.9'
1111
inputs:
12-
versionSpec: '3.8'
12+
versionSpec: '3.9'
1313
condition: and(succeededOrFailed(), ne(variables['Skip.Pylint'],'true'))
1414

1515
- script: |

eng/pipelines/templates/steps/run_pyright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ parameters:
77
# Please use `$(TargetingString)` to refer to the python packages glob string. This variable is set from resolve-package-targeting.yml.
88
steps:
99
- task: UsePythonVersion@0
10-
displayName: 'Use Python 3.8'
10+
displayName: 'Use Python 3.9'
1111
inputs:
12-
versionSpec: '3.8'
12+
versionSpec: '3.9'
1313
condition: and(succeededOrFailed(), or(ne(variables['Skip.Pyright'],'true'), ne(variables['Skip.Verifytypes'],'true')))
1414

1515
- script: |

pyrightconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"reportTypeCommentUsage": true,
33
"reportMissingImports": false,
4-
"pythonVersion": "3.8"
4+
"pythonVersion": "3.9"
55
}

0 commit comments

Comments
 (0)