@@ -3,6 +3,7 @@ name: $(Date:yyyyMMdd).$(Rev:r)
3
3
trigger :
4
4
- release/2.*
5
5
- release/3.*
6
+ - release/4.*
6
7
- dev
7
8
8
9
variables :
@@ -19,14 +20,14 @@ jobs:
19
20
- ImageOverride -equals MMSUbuntu20.04TLS
20
21
strategy :
21
22
matrix :
22
- Python36 :
23
- pythonVersion : ' 3.6'
24
23
Python37 :
25
24
pythonVersion : ' 3.7'
26
25
Python38 :
27
26
pythonVersion : ' 3.8'
28
27
Python39 :
29
28
pythonVersion : ' 3.9'
29
+ Python310 :
30
+ pythonVersion : ' 3.10'
30
31
steps :
31
32
- task : UsePythonVersion@0
32
33
inputs :
61
62
- ImageOverride -equals MMS2019TLS
62
63
strategy :
63
64
matrix :
64
- Python36V2 :
65
- pythonVersion : ' 3.6'
66
- workerPath : ' python/prodV2/worker.py'
67
- Python37V2 :
68
- pythonVersion : ' 3.7'
69
- workerPath : ' python/prodV2/worker.py'
70
65
Python36V3 :
71
66
pythonVersion : ' 3.6'
72
67
workerPath : ' python/prodV3/worker.py'
79
74
Python39V3 :
80
75
pythonVersion : ' 3.9'
81
76
workerPath : ' python/prodV3/worker.py'
77
+ Python37V4 :
78
+ pythonVersion : ' 3.7'
79
+ workerPath : ' python/prodV4/worker.py'
80
+ Python38V4 :
81
+ pythonVersion : ' 3.8'
82
+ workerPath : ' python/prodV4/worker.py'
83
+ Python39V4 :
84
+ pythonVersion : ' 3.9'
85
+ workerPath : ' python/prodV4/worker.py'
82
86
steps :
83
87
- template : pack/templates/win_env_gen.yml
84
88
parameters :
94
98
- ImageOverride -equals MMS2019TLS
95
99
strategy :
96
100
matrix :
97
- Python37V2 :
98
- pythonVersion : ' 3.7'
99
- workerPath : ' python/prodV2/worker.py'
100
101
Python37V3 :
101
102
pythonVersion : ' 3.7'
102
103
workerPath : ' python/prodV3/worker.py'
@@ -106,6 +107,15 @@ jobs:
106
107
Python39V3 :
107
108
pythonVersion : ' 3.9'
108
109
workerPath : ' python/prodV3/worker.py'
110
+ Python37V4 :
111
+ pythonVersion : ' 3.7'
112
+ workerPath : ' python/prodV4/worker.py'
113
+ Python38V4 :
114
+ pythonVersion : ' 3.8'
115
+ workerPath : ' python/prodV4/worker.py'
116
+ Python39V4 :
117
+ pythonVersion : ' 3.9'
118
+ workerPath : ' python/prodV4/worker.py'
109
119
steps :
110
120
- template : pack/templates/win_env_gen.yml
111
121
parameters :
@@ -121,12 +131,6 @@ jobs:
121
131
- ImageOverride -equals MMSUbuntu20.04TLS
122
132
strategy :
123
133
matrix :
124
- Python36V2 :
125
- pythonVersion : ' 3.6'
126
- workerPath : ' python/prodV2/worker.py'
127
- Python37V2 :
128
- pythonVersion : ' 3.7'
129
- workerPath : ' python/prodV2/worker.py'
130
134
Python36V3 :
131
135
pythonVersion : ' 3.6'
132
136
workerPath : ' python/prodV3/worker.py'
@@ -139,6 +143,15 @@ jobs:
139
143
Python39V3 :
140
144
pythonVersion : ' 3.9'
141
145
workerPath : ' python/prodV3/worker.py'
146
+ Python37V4 :
147
+ pythonVersion : ' 3.7'
148
+ workerPath : ' python/prodV4/worker.py'
149
+ Python38V4 :
150
+ pythonVersion : ' 3.8'
151
+ workerPath : ' python/prodV4/worker.py'
152
+ Python39V4 :
153
+ pythonVersion : ' 3.9'
154
+ workerPath : ' python/prodV4/worker.py'
142
155
steps :
143
156
- template : pack/templates/nix_env_gen.yml
144
157
parameters :
@@ -151,12 +164,6 @@ jobs:
151
164
vmImage : ' macOS-10.15'
152
165
strategy :
153
166
matrix :
154
- Python36V2 :
155
- pythonVersion : ' 3.6'
156
- workerPath : ' python/prodV2/worker.py'
157
- Python37V2 :
158
- pythonVersion : ' 3.7'
159
- workerPath : ' python/prodV2/worker.py'
160
167
Python36V3 :
161
168
pythonVersion : ' 3.6'
162
169
workerPath : ' python/prodV3/worker.py'
@@ -169,6 +176,15 @@ jobs:
169
176
Python39V3 :
170
177
pythonVersion : ' 3.9'
171
178
workerPath : ' python/prodV3/worker.py'
179
+ Python37V4 :
180
+ pythonVersion : ' 3.7'
181
+ workerPath : ' python/prodV4/worker.py'
182
+ Python38V4 :
183
+ pythonVersion : ' 3.8'
184
+ workerPath : ' python/prodV4/worker.py'
185
+ Python39V4 :
186
+ pythonVersion : ' 3.9'
187
+ workerPath : ' python/prodV4/worker.py'
172
188
steps :
173
189
- template : pack/templates/nix_env_gen.yml
174
190
parameters :
@@ -199,13 +215,18 @@ jobs:
199
215
echo "Generating V3 Release Package for $BUILD_SOURCEBRANCHNAME"
200
216
NUSPEC="pack\Microsoft.Azure.Functions.V3.PythonWorker.nuspec"
201
217
WKVERSION="$BUILD_SOURCEBRANCHNAME"
218
+ elif [[ $BUILD_SOURCEBRANCHNAME = 4\.* ]]
219
+ then
220
+ echo "Generating V4 Release Package for $BUILD_SOURCEBRANCHNAME"
221
+ NUSPEC="pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec"
222
+ WKVERSION="$BUILD_SOURCEBRANCHNAME"
202
223
elif [[ $BUILD_SOURCEBRANCHNAME = dev ]]
203
224
then
204
- echo "Generating V3 Integration Test Package for $BUILD_SOURCEBRANCHNAME"
225
+ echo "Generating V4 Integration Test Package for $BUILD_SOURCEBRANCHNAME"
205
226
LATEST_TAG=$(curl https://api.github.com/repos/Azure/azure-functions-python-worker/tags -s | jq '.[0].name' | sed 's/\"//g' | cut -d'.' -f-2)
206
- NUSPEC="pack\Microsoft.Azure.Functions.V3 .PythonWorker.nuspec"
227
+ NUSPEC="pack\Microsoft.Azure.Functions.V4 .PythonWorker.nuspec"
207
228
# Only required for Integration Test. Version number contains date (e.g. 3.1.2.20211028-dev)
208
- WKVERSION="3. $LATEST_TAG-$(patchBuildNumberForDev)"
229
+ WKVERSION="$LATEST_TAG-$(patchBuildNumberForDev)"
209
230
else
210
231
echo "No Matching Release Tag For $BUILD_SOURCEBRANCH"
211
232
fi
0 commit comments