I have developed the function using HttpTrigger
and deployed 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 in the cloud?
Same goes for other app services
like web app.
Do I have to push it from host.json
?
Versioning has to be done for your system from your side, Azure has no idea of maintaining version controlling for your APIs,Apps etc.
If you have not implemented CI/CD in your organization, try looking out 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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.