Python Azure Function DevOps Deploy Does Not Work Every Time

Diogo André da Silva Romão 0 Reputation points
2023-12-07T14:59:43.2433333+00:00

I have developed a python azure function and it works as intended locally.

The problems start when I try to deploy it via DevOps.

I have a yml pipeline as follows:

User's image

This pipeline creates an artifact which is then deployed on a Release:

User's image

Both pipeline and release succeed every time. However, most of the times nothing gets deployed. If I check the azure function through Azure Portal I can see no functions exist:

User's image

Some other times the azure function does get deployed and I can see it though azure portal:

User's image

How can I fix this to make sure the azure function does get deployed successfully every single time?

Thanks in advance

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,341 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Claudia Dos Santos Haz (CONCENTRIX CORPORATION) 1,115 Reputation points Microsoft Vendor
    2023-12-11T08:59:00.3666667+00:00

    Hi @Diogo André da Silva Romão,

    Microsoft Q&A platform doesn't support Azure DevOps questions at this time.

    We have a dedicated forum for Azure DevOps questions, so to receive insights from the targetted audience, I would suggest you to just re-post the question here- https://developercommunity.visualstudio.com/AzureDevOps

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.