On deploy trigger a webhook in Azure? - azure

I have an Azure App Service set up to deploy from a local git branch. (per instruction from this article). I would like these deployments to trigger another webhook I have set up that posts deploy logs to slack, but I don't see any way to configure a push option in the Azure UI.
Any tips or ideas on how to accomplish this?

You can use Azure Functions to do that.
Here's an Official Azure Documentation article that will help you to work with HTTP triggers and output bindings in Azure Functions
If this solves your problem, do not forget to click on Mark as Answer

Related

Change the git repo url and branch in Azure app service

In the absence of the person who normally does this, I've been asked to change the repo url and branch in the Azure app service in this image.
I can see what the values are currently but I can't find how to change them, can anyone point me in the right direction?
Thanks
We use Azure DevOps for CI/CD and we set all those values in the build and release on that end. They show in the Azure Portal but are read only reporting where it came from. May be the same case with how you are deploying.

DevOps build-pipeline overview & sound trigger on fail

I want to setup a monitor were my development team can see the current status of our build-pipelines. When a build-pipeline fails, I want to trigger a sound. I don’t know if it is even possible in Azure DevOps but that’s why I’m asking it here.
Also, if somebody has some good advice for configuring this monitoring ‘dashboard’, please let me know!
Kind regards,
Wouter
You can create your on own dashboard (Add, rename, and delete dashboards in Azure DevOps) with build-in pipeline widgets (Azure Pipelines widgets). Additionally, you can use extensions from the marketplace:
Team Project Health
Project Tile
CI/CD Dashboard
You can try CatLight for notifications on a local workplace.

Deploy Azure Stream Analytics Job for IoT Edge

I cannot deploy a Stream Analytics Job for IoT Edge automatically, since that I haven't find way to specify Edge as Hosted Environment.
This property seems to be still not implemented in ARM Template, Powershell and Azure CLI.
sorry for this, we will add this in the documentation shortly
In the meantime you can use the following parameter: JobType="edge"
We'll add all the info in the doc.
Thanks,
JS

Azure Functions with CVS doco/guidance

I would like to connect Azure Functions to a repository where on each master push functions would be redeployed along with artifacts (Project.json, function.json, etc). Is there anything already in place? If not, anything planned?
Sean,
Since Azure Functions sits on top of App Service/Web Apps, this is a fully supported scenario and you can find detailed information on the deployment process here
I also have deployment scripts you can use with your function to make sure your packages are properly restored on deployment here (you can find more information about how to use the script here)
Hope this helps!

Webhook with Bitbucket and new Azure portal

I've setup a continuous deployment between Bitbucket and the new Azure portal (preview). It works great but when I checked Bitbucket, I noticed that it created a services rather than a webhook but in the service section and the following message is displayed:
In the future, you will not be able to create POST or Pull Request POST services from this screen, as Bitbucket's new and improved webhooks will replace these services. Existing POST services will continue to function as expected for now. To create a new webhook, refer to the documentation for Bitbucket's updated webhooks.
But I can't figure out how to create a webhook in the new Azure Portal. Every articles on the web that I have found are all explaining it based on the old ('current') portal.
Any ideas on how I can create a webhook instead? Not critical since it's working but considering the message displayed in Bitbucket, I thought I'd look into it now rather than wait for bitbucket to disable this feature.
Thanks.
Login to Old Azure Console, https://manage.windowsazure.com
Goto Configure
Find out DEPLOYMENT TRIGGER URL
You can use this trigger URL to setup webhook in BitBucket
But I don't think you have to worry much as Azure will automatically upgrade their services to do this automatically, that is what managed cloud means, we are paying them to manage this.

Resources