mlops-v2-training/ci-cd
louisli 956baea111 updated for workshop lab 2023-01-15 18:00:51 -05:00
..
azure-pipelines updated for workshop lab 2023-01-15 18:00:51 -05:00
images updated for workshop lab 2023-01-15 18:00:51 -05:00
.amlignore updated for workshop lab 2023-01-15 18:00:51 -05:00
.amlignore.amltmp updated for workshop lab 2023-01-15 18:00:51 -05:00
README.md updated for workshop lab 2023-01-15 18:00:51 -05:00

README.md

Azure MLOps (v2) CI/CD Example

This is sample repo to create automated CI/CD process using Azure Pipelines or Github Actions.

Creating CI/CD with Azure Pipelines

Create CI using Azure Pipeline Build Pipeline

Following instructions to create CI pipeline for training: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-devops-machine-learning

Create CD using Azure Pipeline Release Pipeline

  1. Install Machine Learning for Azure Pipelines Install Machine Learning Extension for Azure Pipelines
  2. Create a Release pipeline triggered by Azure Machine Learning Model Registry
    2.1 Add following to your release pipeline:
    • Azure Machine Learning Registry
    • Inference Repo to Artifacts
    • Add stages
      Create Release Pipeline
      2.2 Add Azure CLI task for preparing environment
      Install CLI
      2.3 Add Azure CLI task for model deployment Deploy Pipeline
      2.4 Enable trigger - Continuous Deployment Configure Continuous Deployment
      2.5 Predeployment Approal
      Predeployment Approval

Createing CD + CD with Github Actions

https://learn.microsoft.com/en-us/azure/machine-learning/how-to-github-actions-machine-learning?tabs=userlevel