Skip to content

Commit ab83b2e

Browse files
authored
Node.js worker v2.0.3 (#308)
* Node.js worker v2.0.3 * update azure-pipelines * adding workaround for issue grpc/grpc-node#922 * apply bugfix to windowsg
1 parent 108ffc2 commit ab83b2e

File tree

7 files changed

+1237
-1031
lines changed

7 files changed

+1237
-1031
lines changed

Worker.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>Microsoft.Azure.Functions.NodeJsWorker</id>
5-
<version>2.0.2$version$</version>
5+
<version>2.0.3$version$</version>
66
<authors>Microsoft</authors>
77
<owners>Microsoft</owners>
88
<requireLicenseAcceptance>false</requireLicenseAcceptance>

azure-pipelines.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variables: {
2-
WORKER_VERSION: '2.0.1',
2+
WORKER_VERSION: '2.0.3',
33
NODE_8: '8.x',
44
NODE_10: '10.x',
55
NODE_12: '12.x'
@@ -25,22 +25,22 @@ jobs:
2525
IMAGE_TYPE: 'ubuntu-latest'
2626
NODE_VERSION: $(NODE_12)
2727
WINDOWS_NODE8:
28-
IMAGE_TYPE: 'vs2017-win2016'
28+
IMAGE_TYPE: 'windows-latest'
2929
NODE_VERSION: $(NODE_8)
3030
WINDOWS_NODE10:
31-
IMAGE_TYPE: 'vs2017-win2016'
31+
IMAGE_TYPE: 'windows-latest'
3232
NODE_VERSION: $(NODE_10)
3333
WINDOWS_NODE12:
34-
IMAGE_TYPE: 'vs2017-win2016'
34+
IMAGE_TYPE: 'windows-latest'
3535
NODE_VERSION: $(NODE_12)
3636
MAC_NODE8:
37-
IMAGE_TYPE: 'macos-10.13'
37+
IMAGE_TYPE: 'macOS-latest'
3838
NODE_VERSION: $(NODE_8)
3939
MAC_NODE10:
40-
IMAGE_TYPE: 'macos-10.13'
40+
IMAGE_TYPE: 'macOS-latest'
4141
NODE_VERSION: $(NODE_10)
4242
MAC_NODE12:
43-
IMAGE_TYPE: 'macos-10.13'
43+
IMAGE_TYPE: 'macOS-latest'
4444
NODE_VERSION: $(NODE_12)
4545
pool:
4646
vmImage: $(IMAGE_TYPE)
@@ -49,6 +49,8 @@ jobs:
4949
inputs:
5050
versionSpec: $(NODE_VERSION)
5151
displayName: 'Install Node.js for test'
52+
- script: npm install request
53+
displayName: 'Workaround to https://github.com/grpc/grpc-node/issues/922'
5254
- script: npm install
5355
displayName: 'npm install'
5456
- script: npm run build
@@ -65,12 +67,14 @@ jobs:
6567
NODE12:
6668
NODE_VERSION: $(NODE_12)
6769
pool:
68-
vmImage: 'vs2017-win2016'
70+
vmImage: 'windows-latest'
6971
steps:
7072
- task: NodeTool@0
7173
inputs:
7274
versionSpec: $(NODE_VERSION)
7375
displayName: 'Install Node.js for test'
76+
- script: npm install request
77+
displayName: 'Workaround to https://github.com/grpc/grpc-node/issues/922'
7478
- script: npm install
7579
displayName: 'npm install'
7680
- script: npm run build
@@ -96,7 +100,7 @@ jobs:
96100
- job: BuildArtifacts
97101
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.SourceBranch'], 'refs/heads/v2.x')))
98102
pool:
99-
vmImage: 'vs2017-win2016'
103+
vmImage: 'windows-latest'
100104
steps:
101105
- task: NodeTool@0
102106
inputs:

e2e-nightly-cli-azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variables: {
2-
WORKER_VERSION: '2.0.2',
2+
WORKER_VERSION: '2.0.3',
33
NODE_12: '12.x'
44
}
55
name: $(WORKER_VERSION)-$(Date:yyyyMMdd)$(Rev:.r)

e2e-nightly-site-azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variables: {
2-
WORKER_VERSION: '2.0.2',
2+
WORKER_VERSION: '2.0.3',
33
NODE_12: '12.x'
44
}
55
name: $(WORKER_VERSION)-$(Date:yyyyMMdd)$(Rev:.r)

0 commit comments

Comments
 (0)