(Partially) failed to build an Azure DevOps pipeline using AI

Wrote a project on GitHub

https://github.com/liviux/azure-github-actions-demo


How to use AI from OpenAI to solve some DevOps problems.

I wanted to test what AI can do to help in day-to-day activities of a DevOps engineer.So the first thing was to find what to do. I found a job interview task and its requirements were this ones:


Use a free account on Azure and GitHub and implement a basic deployment pipeline using GitHub actions to create an Azure resource group and provision a Web App, a SQL Database, one AutoScale settings, at least one Alert rules, and monitoring (App Insights). Web App backend must be able to use that SQL database. Deploy a simple Web App to this infrastructure from the pipeline (can be just a static html page)


As the task is pretty imprecise I modified it. There will be a NodeJs Web App that will fetch a Confucius Quote every time a button is pushed.

I used ChatGPT (both with GPT4 and GPT 3.5) and Bing AI Chat (both Precise and Creative modes)