@@ -18,10 +18,15 @@ resources:
18
18
name : Azure/azure-sdk-tools
19
19
20
20
variables :
21
- PythonVersion : " 3.12"
22
- AUTOREST_TESTSERVER_COVERAGE_DIRECTORY : " $(Build.SourcesDirectory)/autorest.python/packages/autorest.python/coverage/"
23
- PROXY_URL : http://localhost:5000
24
- PROXY_MANUAL_START : true
21
+ - template : /eng/pipelines/templates/variables/image.yml
22
+ - name : PythonVersion
23
+ value : " 3.12"
24
+ - name : AUTOREST_TESTSERVER_COVERAGE_DIRECTORY
25
+ value : " $(Build.SourcesDirectory)/autorest.python/packages/autorest.python/coverage/"
26
+ - name : PROXY_URL
27
+ value : http://localhost:5000
28
+ - name : PROXY_MANUAL_START
29
+ value : true
25
30
26
31
parameters :
27
32
- name : VerificationPackages
@@ -46,32 +51,40 @@ jobs:
46
51
matrix :
47
52
Linux_Python3.9 :
48
53
OSName : " Linux"
49
- OSVmImage : " MMSUbuntu18.04"
54
+ Pool : ${{ variables.LINUXPOOL }}
55
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
50
56
PythonVersion : " 3.9"
51
57
Windows_Python3.9 :
52
58
OSName : " Windows"
53
- OSVmImage : " MMS2020"
54
- PythonVersion : " 3.9"
59
+ # TODO: Update to WINDOWSPOOL and WINDOWSVMIMAGE once tests pass
60
+ Pool : ${{ variables.LINUXPOOL }}
61
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
62
+ PythonVersion : " 3.9"
55
63
Linux_Python3.10 :
56
64
OSName : " Linux"
57
- OSVmImage : " MMSUbuntu20.04"
65
+ Pool : ${{ variables.LINUXPOOL }}
66
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
58
67
PythonVersion : " 3.10"
59
68
Linux_Python3.11 :
60
69
OSName : " Linux"
61
- OSVmImage : " MMSUbuntu22.04"
70
+ Pool : ${{ variables.LINUXPOOL }}
71
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
62
72
PythonVersion : " 3.11"
63
73
Linux_Python3.12 :
64
74
OSName : " Linux"
65
- OSVmImage : " MMSUbuntu22.04"
75
+ Pool : ${{ variables.LINUXPOOL }}
76
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
66
77
PythonVersion : " 3.12"
67
78
Windows_Python3.12 :
68
79
OSName : " Windows"
69
- OSVmImage : " MMS2023"
80
+ # TODO: Update to WINDOWSPOOL and WINDOWSVMIMAGE once tests pass
81
+ Pool : ${{ variables.LINUXPOOL }}
82
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
70
83
PythonVersion : " 3.12"
71
84
72
85
pool :
73
- name : azsdk-pool-mms-ubuntu-2004-general
74
- vmImage : $(OSVmImage)
86
+ name : $(Pool)
87
+ demands : ImageOverride -equals $(OSVmImage)
75
88
76
89
steps :
77
90
- template : ci-template.yml
@@ -139,32 +152,40 @@ jobs:
139
152
matrix :
140
153
Linux_Python3.9 :
141
154
OSName : " Linux"
142
- OSVmImage : " MMSUbuntu18.04"
155
+ Pool : ${{ variables.LINUXPOOL }}
156
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
143
157
PythonVersion : " 3.9"
144
158
Windows_Python3.9 :
145
159
OSName : " Windows"
146
- OSVmImage : " MMS2020"
160
+ # TODO: Update to WINDOWSPOOL and WINDOWSVMIMAGE once tests pass
161
+ Pool : ${{ variables.LINUXPOOL }}
162
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
147
163
PythonVersion : " 3.9"
148
164
Linux_Python310 :
149
165
OSName : " Linux"
150
- OSVmImage : " MMSUbuntu20.04"
166
+ Pool : ${{ variables.LINUXPOOL }}
167
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
151
168
PythonVersion : " 3.10"
152
169
Linux_Python311 :
153
170
OSName : " Linux"
154
- OSVmImage : " MMSUbuntu22.04"
171
+ Pool : ${{ variables.LINUXPOOL }}
172
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
155
173
PythonVersion : " 3.11"
156
174
Linux_Python312 :
157
175
OSName : " Linux"
158
- OSVmImage : " MMSUbuntu22.04"
176
+ Pool : ${{ variables.LINUXPOOL }}
177
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
159
178
PythonVersion : " 3.12"
160
179
Windows_Python312 :
161
180
OSName : " Windows"
162
- OSVmImage : " MMS2023"
181
+ # TODO: Update to WINDOWSPOOL and WINDOWSVMIMAGE once tests pass
182
+ Pool : ${{ variables.LINUXPOOL }}
183
+ OSVmImage : ${{ variables.LINUXVMIMAGE}}
163
184
PythonVersion : " 3.12"
164
185
165
186
pool :
166
- name : azsdk-pool-mms-ubuntu-2004-general
167
- vmImage : $(OSVmImage)
187
+ name : $(Pool)
188
+ demands : ImageOverride -equals $(OSVmImage)
168
189
169
190
steps :
170
191
- template : ci-template.yml
0 commit comments