Skip to content

umerarshad2022/CI-CD-Pipeline

Repository files navigation

CI-CD-Pipeline

  • CI/CD Pipeline for Flask ML Deploy
  • Generate SSH keys and connect your Azure environment with your Github account.
  • ssh-keygen -t rsa
  • Clone the repo using Azure cloud, and git commands
  • Create the python virtual environment and activate it my repo. Execute make all command to install all dependencies.
  • python3 -m venv ~/.CI-CD-Pipeline source ~/.CI-CD-Pipeline/bin/activate

Make_all

  • Make a new project in Microsoft Azure, define organization and connect to Github repo.
  • Create environment variable and activate it using python3.
  • Run python app and test the make_prediction.sh script if it works python_app_py prediction_result
  • Run the webapp with your app name (FlaskML2022) and check its log trails

Web_app_stats_Azure

Log_tail1

Log_tail2png

  • Verify the respective pipelines in Azure pipelines and check build and deployment jobs

Final_build_1

Final_build_2

  • In make_predict_azure_app.sh, change post X to the value of your own webapp that was created earlier.

  • Verify the make_predict_azure_app.sh again with your app URL

flashML2022_Azureapp_URL_opening

Demo Video

Video demonstration here

About

CI/CD Pipeline for Flask ML Deploy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published