Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.4k views
in Technique[技术] by (71.8m points)

Azure functions app and runtimeStack for node

When deploying to an Azure functions app using the devops task AzureFunctionApp@1, there is an option to supply a runtimeStack. When I choose JavaScript it automatically inserts the runtimeStack as shown below

 - task: AzureFunctionApp@1
      runtimeStack: 'DOCKER|microsoft/azure-functions-node8:2.0'

My linux functions app is running node 12/runtime 3.0 and the deployment is zip. This is inserted as node8 and runtime 2.0. Is this correct? It doesn't match the version I am using but the Azure editor highlights it as an error if I change it to anything else.

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Answering my own question here, but looks like this is a bug in the azure tasks UI and will be fixed soon

https://github.com/microsoft/azure-pipelines-tasks/commit/ae348864ae539a2c84c49b1e6bd499ce92b90356


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...