In my last story, I showcased how you can add a dash app into a FastAPI framework, wrapped into Docker Image, and deploy to Azure Web App. link

In this post, I will go through the build section and reveal how you can utilize Azure DevOps onto your Dash App as well as how to utilize the Selenium automation test with Dash App in the CI process. The target audiences are the ones, e.g. data scientists, who are capable of implementing analytical applications and looking for a light way of deployment. To magnify the outcome of this story, you should possess some prior experience working with Dash, Azure DevOps CI/CD, or python testing framework like Pytest in general.

I will start by explaining the azure-pipelines.yaml file. It contains all steps involved in the CI process. I have made one stage with three jobs in sequence, python_build job, which contains steps to build the _whl _package, _docker_build _job, which has steps to build Docker image, and ARM template population job, which is related to deploying the web app to multiple environments. In this story, I will focus on the python_build job.

#devops #python #azure #plotly #selenium

How to Automate Selenium Test of Python Dash App in Azure DevOps Build Process
8.55 GEEK