kudlatiger
kudlatiger

Reputation: 3278

How do I verify which build version of my functions and web api's are deployed on Azure portal?

I have developed the function using HttpTrigger and deployed it to Azure cloud using the publish method. I have multiple environments like development, test, and production.

Now how do I know which successful build I have deployed on different environments? Basically, how do I manage to version it in the cloud?

The same goes for other app services like a web app.

Do I have to push it from host.json?

enter image description here

Upvotes: 4

Views: 2729

Answers (4)

ΩmegaMan
ΩmegaMan

Reputation: 31686

It can be found in the Deployment Center of the function. Look at the logs of what was deployed. It should show what the ADO Release pipeline sets the version to:

enter image description here

Upvotes: 2

Sajeetharan
Sajeetharan

Reputation: 222682

Versioning has to be done for your system from your side, Azure has no idea of maintaining version control for your APIs, Apps, etc.

If you have not implemented CI/CD in your organization, try looking out for the features provided by Azure Devops

The simplest way to implement versioning in Azure Functions is using endpoints. The HttpTrigger Attribute allows the definition of a custom route where you can set the expected version.

Upvotes: 3

Jorge Freitas
Jorge Freitas

Reputation: 938

The only way that I was able to check:

  • Go to your app service
  • In the left panel search by App service editor
  • Find your DLL
  • Download
  • Use a decompiler and check the code

enter image description here

Upvotes: 0

4c74356b41
4c74356b41

Reputation: 72171

you dont, its up to your ci\cd system to display that information. Azure has no knowledge of the binaries you deploy to webapps\azure functions\etc. same goes for vm's, Azure is not aware of what is going on inside them.

Upvotes: 1

Related Questions