Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .pipelines/azdo-abtest-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Pipeline for the canary deployment workflow.
pr: none
trigger:
branches:
Expand All @@ -23,7 +24,6 @@ variables:
- name: 'SCORE_SCRIPT'
value: 'scoreA.py'


stages:
- stage: 'Building'
jobs:
Expand All @@ -50,7 +50,6 @@ stages:
- publish: $(System.DefaultWorkingDirectory)/charts
artifact: allcharts


- stage: 'Blue_Staging'
jobs:
- deployment: "Deploy_to_Staging"
Expand Down
1 change: 1 addition & 0 deletions .pipelines/azdo-base-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Pipeline template to run linting, unit tests, code coverage, and publish the results.
steps:
- script: |
flake8 --output-file=lint-testresults.xml --format junit-xml
Expand Down
3 changes: 2 additions & 1 deletion .pipelines/azdo-helm-install.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Pipeline template for installing helm on the agent.
steps:
- task: Bash@3
displayName: 'Install Helm $(helmVersion)'
inputs:
targetType: inline
script: wget -q $(helmDownloadURL) -O /tmp/$FILENAME && tar -zxvf /tmp/$FILENAME -C /tmp && sudo mv /tmp/linux-amd64/helm /usr/local/bin/helm
script: wget -q $(helmDownloadURL) -O /tmp/$FILENAME && tar -zxvf /tmp/$FILENAME -C /tmp && sudo mv /tmp/linux-amd64/helm /usr/local/bin/helm
env:
HELM_VERSION: $(helmVersion)
FILENAME: helm-$(helmVersion)-linux-amd64.tar.gz
3 changes: 2 additions & 1 deletion .pipelines/azdo-helm-upgrade.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Pipeline template for deploying / upgrading using Helm.
parameters:
chartPath: ''
releaseName: ''
overrideValues: ''

steps:
- template: azdo-helm-install.yml
- task: HelmDeploy@0
Expand Down
1 change: 1 addition & 0 deletions .pipelines/azdo-pr-build-train.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# PR pipeline for running CI on PRs to master.
trigger: none
pr:
branches:
Expand Down
2 changes: 2 additions & 0 deletions .pipelines/diabetes_regression-ci-build-train.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# CI pipeline that builds, trains, tests, and deploys the diabetes model.
pr: none
trigger:
branches:
Expand Down Expand Up @@ -84,6 +85,7 @@ stages:
timeoutInMinutes: 0
steps:
- template: diabetes_regression-template-get-model-version.yml

- stage: 'Deploy_ACI'
displayName: 'Deploy to ACI'
dependsOn: Trigger_AML_Pipeline
Expand Down
6 changes: 3 additions & 3 deletions .pipelines/diabetes_regression-ci-image.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Builds the container image that is used by other pipelines for scoring.
pr: none
trigger:
branches:
Expand All @@ -10,7 +11,7 @@ trigger:
- diabetes_regression/scoring/
exclude:
- diabetes_regression/scoring/deployment_config_aci.yml
- diabetes_regression/scoring/deployment_config_aks.yml
- diabetes_regression/scoring/deployment_config_aks.yml

pool:
vmImage: 'ubuntu-latest'
Expand All @@ -23,7 +24,6 @@ variables:
value: 'scoreB.py'

steps:

- task: AzureCLI@1
inputs:
azureSubscription: '$(WORKSPACE_SVC_CONNECTION)'
Expand All @@ -32,6 +32,6 @@ steps:
inlineScript: |
set -e
export SUBSCRIPTION_ID=$(az account show --query id -o tsv)
python3 -m ml_service.util.create_scoring_image
python3 -m ml_service.util.create_scoring_image
displayName: 'Create Scoring Image'

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Pipeline template that attempts to get the latest model version and adds it to the environment for subsequent tasks to use.
steps:
- task: AzureCLI@1
inputs:
Expand Down
6 changes: 5 additions & 1 deletion .pipelines/diabetes_regression-variables.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Pipeline template that defines common runtime environment variables.
variables:
# Azure ML Workspace Variables
- name: EXPERIMENT_NAME
value: mlopspython
# AML Compute Cluster Config

# AML Compute Cluster Config
- name: AML_COMPUTE_CLUSTER_CPU_SKU
value: STANDARD_DS2_V2
- name: AML_COMPUTE_CLUSTER_NAME
Expand All @@ -13,6 +15,7 @@ variables:
value: 4
- name: AML_CLUSTER_PRIORITY
value: lowpriority

# Training Config
- name: BUILD_TRAIN_SCRIPT
value: diabetes_regression_build_train_pipeline.py
Expand All @@ -22,6 +25,7 @@ variables:
value: sklearn_regression_model.pkl
- name: MODEL_VERSION
value: "1"

# AML Pipeline Config
- name: TRAINING_PIPELINE_NAME
value: "diabetes-Training-Pipeline"
Expand Down
1 change: 1 addition & 0 deletions environment_setup/docker-image-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Pipeline that builds and pushes the microsoft/mlopspython image.
resources:
- repo: self

Expand Down
1 change: 1 addition & 0 deletions environment_setup/iac-create-environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# CI/PR Pipeline that deploys an ARM template to create or update the resources needed by the other pipelines.
trigger:
branches:
include:
Expand Down
1 change: 1 addition & 0 deletions environment_setup/iac-remove-environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Pipeline that removes the resources created by the IaC Create Environment pipeline.
pr: none
trigger: none

Expand Down