This project is intended to be used as a scaffolding to perform both Continuous Integration and Continuous Delivery by using Github actions and Azure pipeline.
Quarterly Project Plan: quarterly and yearly goal with weekly task estimation
Task Tracking: trello board which shows project progress
Demo: project demo which explains how to build CI/CD pipeline using Github actions and Azure pipeline
-
Generate SSH key
ssh-keygen -t rsa
in cloud shell and add it to Github Repository -
Clone Github Repository
-
Create and activate virtual environemnt
python3 -m venv venv source venv/bin/activate
-
Command to create webapp
az webapp up -n helloflaskmoascode -g azuredevops -l southeastasia --sku F1
-
Verify webapp in azure ui
-
Build and deployment stages in Azure pipeline
-
Verify Webapp deployment config
-
Verify with web url
-
Verify with a successful prediction in Azure Cloud Shell
-
Verify with logs in the cloud shell using
az webapp log tail
-
Verify with logs in the portal
- Test from azure cli
locust -f locustfile.py --host https://helloflaskmoascode.azurewebsites.net/ --headless -u 20 -r 5 -t 20s
- Automate all manual process
- Setup pipelines for multiple environments (dev, test, staging)