How to automate publishing multiple Azure Functions from Visual Studio (or some other way possibly)?

Anonymous
2022-03-26T01:47:03.56+00:00

I have posted this question earlier, but I didn't get clear responses (instead somebody asked me another question).
I have built a pipeline where I use Azure Function to get data thru Http Request from a third party vendor's API.
It is not REST API.

I use Azure Data Factory to move data.
187048-image.png
Since, during the ADF (Azure Data Factory) process, it gets timeout (due to the 4 MB size) during Web activity, I have to publish so many (about 45+) Azure Functions from Visual Studio each month just to pull data for one dataset from a third party.
187115-image.png

Is there better way to do this than publishing Azure Functions about 45+ times?
187123-image.png

BTW, Durable Function would not work because when the size is higher than 4 MB, it crashes in Azure Data Factory (Web activity).

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,679 questions
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,456 Reputation points
    2022-03-29T15:08:03.05+00:00

    @KingJava ,

    Thanks for reaching out to Q&A.

    In order to automate the deployment process, you can build a CI/CD pipeline via Azure devops. There are two parts to this deployment, first you will have to create a git repository and push/commit your code to this repository. Second part is creating build and release pipeline so that the code from the repository is pushed to the Azure functions. As soon as you commit any code to the repository, the pipeline would be started.

    Push the code to repo: https://learn.microsoft.com/en-us/azure/devops/repos/git/share-your-code-in-git-vs?view=azure-devops&tabs=visual-studio-2019

    Build/release pipeline in Azure devops: (suggesting this article as this looks simple) https://medium.com/swlh/azure-function-build-and-release-pipeline-in-azure-devops-ci-cd-974ed28d2ac4

    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful