With this project we will use has an scaffolding with python web service. we will learn how to use an complete CI CD.
It can be useful to work in another projects.
https://trello.com/b/GI6auPFF/udacity-devops-course
Flow of Deployment
-
Project running on Azure App Service
-
Passing tests that are displayed after running the
make all
command from theMakefile
- Output of a test run
- Output of a test run
- Successful deploy of the project in Azure Pipelines.
- Azure Panel
- Running Azure App Service from Azure Pipelines automatic deployment
- Successful prediction from deployed flask app in Azure Cloud Shell. The output should look similar to this:
- Output of streamed log files from deployed application
2020-10-15T17:16:04.252803672Z [2020-10-15 17:16:04,252] INFO in app: JSON payload: %s json_payload
2020-10-15T17:16:04.262692871Z [2020-10-15 17:16:04,262] INFO in app: inference payload DataFrame: %s inference_payload
2020-10-15T17:16:04.263385471Z [2020-10-15 17:16:04,262] INFO in app: Scaling Payload: %s payload
2020-10-15T17:16:04.291993268Z 172.16.0.1 - - [15/Oct/2020:17:16:04 +0000] "POST /predict HTTP/1.1" 200 35 "-" "curl/7.64.1"
2020-10-15T17:16:04.300275067Z 172.16.0.1 - - [15/Oct/2020:17:16:04 +0000] "GET / HTTP/1.1" 200 32 "-" "ReadyForRequest/1.0 (AppInit)"
At future we can improve building time with an image installed pandas, it need a huge time to download and install.
Include better tests
Include realtime Service monitoring