Skip to content

Commit 9a5a072

Browse files
authored
Create worker build workflow (#772)
* Create worker build workflow * Add upload artifact * Add generation for pipeline * Drop x86 support * Terminate immediately * Update grpcio to have python 3.9 wheel
1 parent 72293dd commit 9a5a072

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/perf-testing-setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/setup-dotnet@v1
2828
with:
2929
dotnet-version: '2.2.207'
30-
- name: Setup k6 for through[ut testing
30+
- name: Setup k6 for throughput testing
3131
run: |
3232
cd $GITHUB_WORKSPACE
3333
curl https://github.com/loadimpact/k6/releases/download/v0.28.0/k6-v0.28.0-linux64.tar.gz -L | tar xvz --strip-components 1

azure-pipelines.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838

3939
- job: Build_WINDOWS_X64
4040
dependsOn: 'Tests'
41-
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')
4241
pool:
4342
vmImage: 'windows-2019'
4443
strategy:
@@ -70,7 +69,6 @@ jobs:
7069
artifactName: '$(pythonVersion)_WINDOWS_X64'
7170
- job: Build_WINDOWS_X86
7271
dependsOn: 'Tests'
73-
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')
7472
pool:
7573
vmImage: 'windows-2019'
7674
strategy:
@@ -96,7 +94,6 @@ jobs:
9694
artifactName: '$(pythonVersion)_WINDOWS_x86'
9795
- job: Build_LINUX_X64
9896
dependsOn: 'Tests'
99-
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')
10097
pool:
10198
vmImage: 'ubuntu-18.04'
10299
strategy:
@@ -127,7 +124,6 @@ jobs:
127124
artifactName: '$(pythonVersion)_LINUX_X64'
128125
- job: Build_OSX_X64
129126
dependsOn: 'Tests'
130-
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')
131127
pool:
132128
vmImage: 'macOS-10.15'
133129
strategy:

pack/Microsoft.Azure.Functions.V3.PythonWorker.nuspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<file src="..\3.8_WINDOWS_X86\**" target="tools\3.8\WINDOWS\X86" />
2323
<file src="..\3.8_LINUX_X64\**" target="tools\3.8\LINUX\X64" />
2424
<file src="..\3.8_OSX_X64\**" target="tools\3.8\OSX\X64" />
25+
<file src="..\3.9_WINDOWS_X64\**" target="tools\3.9\WINDOWS\X64" />
26+
<file src="..\3.9_WINDOWS_X86\**" target="tools\3.9\WINDOWS\X86" />
27+
<file src="..\3.9_LINUX_X64\**" target="tools\3.9\LINUX\X64" />
28+
<file src="..\3.9_OSX_X64\**" target="tools\3.9\OSX\X64" />
2529
<file src="..\python\prodV3\worker.config.json" target="tools" />
2630
<file src="Microsoft.Azure.Functions.PythonWorker.targets" target="build" />
2731
</files>

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ def run(self):
290290
'azure_functions_worker.utils',
291291
'azure_functions_worker._thirdparty'],
292292
install_requires=[
293-
'grpcio~=1.32.0',
294-
'grpcio-tools~=1.32.0',
293+
'grpcio~=1.33.1',
294+
'grpcio-tools~=1.33.1',
295295
],
296296
extras_require={
297297
'dev': [

0 commit comments

Comments
 (0)