Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
675eb22
build image pipeline
Nov 9, 2019
5172ab9
workspace name
Nov 9, 2019
115aade
resource group name
Nov 9, 2019
2067948
canary deployment
Nov 14, 2019
d07f786
canary deployment
Nov 14, 2019
92648cd
canary deployment
Nov 15, 2019
d586f05
Canary deployment
Nov 15, 2019
f094763
Canary deployment
Nov 15, 2019
a49a67b
Canary deployment
Nov 15, 2019
a536533
Canary deployment
Nov 15, 2019
f7ec2e0
workspace name
Dec 9, 2019
487a44d
imgname
Dec 9, 2019
e89d851
start
Dec 9, 2019
3c10b73
Score B
Dec 10, 2019
99d7f26
ScoreB
Dec 10, 2019
a4b59e8
load test script
Dec 10, 2019
0763c03
yml refactor
Dec 10, 2019
7d94315
typo
Dec 10, 2019
cdcdd87
typo
Dec 10, 2019
d2d183a
ScoreB
Dec 10, 2019
4768ed0
typo
Dec 10, 2019
8981039
wrong path
Dec 10, 2019
fcd67c2
scoreA
Dec 10, 2019
8eacbc3
docs update
Dec 10, 2019
1a91b1e
merge with master
Dec 10, 2019
7f5f7a6
merge with master
Dec 10, 2019
1d7b1a9
test
Dec 10, 2019
8c94c5d
merging with master
Dec 10, 2019
370f3eb
multistage
Dec 10, 2019
fc76269
tab
Dec 10, 2019
275d516
test
Dec 10, 2019
bf9de53
container
Dec 10, 2019
51f36b7
test
Dec 10, 2019
06caba0
test
Dec 10, 2019
5c31972
test
Dec 10, 2019
2d7d74c
test
Dec 10, 2019
4dba364
test
Dec 10, 2019
8cb94fd
test
Dec 10, 2019
c64a140
test
Dec 10, 2019
a4436ce
test
Dec 10, 2019
9244c7f
test
Dec 10, 2019
8373ebc
test
Dec 10, 2019
ee16e44
test
Dec 10, 2019
52f907f
test
Dec 10, 2019
4b50d1e
cleaning
Dec 10, 2019
650af1e
doc update
Dec 10, 2019
fd42e35
cleaning
Dec 10, 2019
b9eeb39
linting
Dec 11, 2019
04fee4c
linting
Dec 11, 2019
0733cac
Link to A/B tutorial
Dec 11, 2019
c30e3fc
helm to 3.0.1
dtzar Dec 11, 2019
2722956
Update canary_ab_deployment.md
dtzar Dec 11, 2019
7e8cfb6
Add build badge
dtzar Dec 11, 2019
8036fbf
Comments
Dec 11, 2019
0255c5f
update
Dec 11, 2019
42d3bf6
update
Dec 11, 2019
76d9a75
fix typo
dtzar Dec 12, 2019
b40bfc9
typo
Dec 12, 2019
a20affc
Link to the approvals
Dec 12, 2019
6273c40
typo
Dec 12, 2019
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
Prev Previous commit
Next Next commit
docs update
  • Loading branch information
Eugene Fedorenko authored and Eugene Fedorenko committed Dec 10, 2019
commit 8eacbc3056d3994589d47bc2517f25b58d13d020
1 change: 0 additions & 1 deletion .pipelines/azdo-ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ name: $(Date:yyyyMMdd)$(Rev:r)
steps:

- bash: |
# Invoke the Python building and publishing a training pipeline with Python on ML Compute
python3 $(Build.SourcesDirectory)/ml_service/util/create_scoring_image.py
failOnStderr: 'false'
env:
Expand Down
122 changes: 0 additions & 122 deletions .pipelines/azdo-release-abtest-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,6 @@ stages:
releaseName: $(blueReleaseName)
overrideValues: 'deployment.name=$(blueReleaseName),deployment.bluegreen=blue,deployment.image.tag=$(imgTag),deployment.image.name=$(imgName)'

# - task: Bash@3
# displayName: 'Install Helm $(helmVersion)'
# inputs:
# targetType: inline
# script: wget -q https://get.helm.sh/helm-$HELM_VERSION-linux-amd64.tar.gz -O /tmp/$FILENAME && tar -zxvf /tmp/$FILENAME -C /tmp && sudo mv /tmp/linux-amd64/helm /usr/local/bin/helm && helm version
# env:
# HELM_VERSION: $(helmVersion)
# FILENAME: helm-$(helmVersion)-linux-amd64.tar.gz
# - task: HelmDeploy@0
# displayName: 'helm upgrade'
# inputs:
# connectionType: 'Kubernetes Service Connection'
# kubernetesServiceConnection: $(K8S_AB_SERVICE_CONNECTION)
# command: upgrade
# chartType: FilePath
# chartPath: '$(System.DefaultWorkingDirectory)/charts/abtest-model'
# releaseName: $(blueReleaseName)
# overrideValues: 'deployment.name=$(blueReleaseName),deployment.bluegreen=blue,deployment.image.tag=$(imgTag),deployment.image.name=$(imgName)'
# install: true
# arguments: --namespace $(K8S_AB_NAMESPACE)

- publish: $(System.DefaultWorkingDirectory)/charts
artifact: allcharts

Expand All @@ -65,27 +44,6 @@ stages:
releaseName: 'abtest-istio'
overrideValues: 'weight.blue=50,weight.green=50'

# - task: Bash@3
# displayName: 'Install Helm $(helmVersion)'
# inputs:
# targetType: inline
# script: wget -q https://get.helm.sh/helm-$HELM_VERSION-linux-amd64.tar.gz -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
# - task: HelmDeploy@0
# displayName: 'helm upgrade'
# inputs:
# connectionType: 'Kubernetes Service Connection'
# kubernetesServiceConnection: $(K8S_AB_SERVICE_CONNECTION)
# command: upgrade
# chartType: FilePath
# chartPath: '$(System.DefaultWorkingDirectory)/charts/abtest-istio'
# releaseName: 'abtest-istio'
# overrideValues: 'weight.blue=50,weight.green=50'
# install: true
# arguments: --namespace $(K8S_AB_NAMESPACE)

- stage: 'Blue_100'
jobs:
- deployment: 'blue_Rollout_100'
Expand All @@ -101,26 +59,6 @@ stages:
releaseName: 'abtest-istio'
overrideValues: 'weight.blue=100,weight.green=0'

# - task: Bash@3
# displayName: 'Install Helm $(helmVersion)'
# inputs:
# targetType: inline
# script: wget -q https://get.helm.sh/helm-$HELM_VERSION-linux-amd64.tar.gz -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
# - task: HelmDeploy@0
# displayName: 'helm upgrade'
# inputs:
# connectionType: 'Kubernetes Service Connection'
# kubernetesServiceConnection: $(K8S_AB_SERVICE_CONNECTION)
# command: upgrade
# chartType: FilePath
# chartPath: '$(Pipeline.Workspace)/allcharts/abtest-istio'
# releaseName: 'abtest-istio'
# overrideValues: 'weight.blue=100,weight.green=0'
# arguments: --namespace $(K8S_AB_NAMESPACE)

- stage: 'Rollback'
dependsOn: 'Blue_100'
condition: failed()
Expand All @@ -138,26 +76,6 @@ stages:
releaseName: 'abtest-istio'
overrideValues: 'weight.blue=0,weight.green=100'

# - task: Bash@3
# displayName: 'Install Helm $(helmVersion)'
# inputs:
# targetType: inline
# script: wget -q https://get.helm.sh/helm-$HELM_VERSION-linux-amd64.tar.gz -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
# - task: HelmDeploy@0
# displayName: 'helm upgrade'
# inputs:
# connectionType: 'Kubernetes Service Connection'
# kubernetesServiceConnection: $(K8S_AB_SERVICE_CONNECTION)
# command: upgrade
# chartType: FilePath
# chartPath: '$(Pipeline.Workspace)/allcharts/abtest-istio'
# releaseName: 'abtest-istio'
# overrideValues: 'weight.blue=0,weight.green=100'
# arguments: --namespace $(K8S_AB_NAMESPACE)

- stage: 'Set_Production_Tag'
dependsOn: 'Blue_100'
condition: succeeded()
Expand All @@ -171,26 +89,6 @@ stages:
releaseName: $(greenReleaseName)
overrideValues: 'deployment.name=$(greenReleaseName),deployment.bluegreen=green,deployment.image.tag=$(imgTag),initialDeployment=true,deployment.image.name=$(imgName)'

# - task: Bash@3
# displayName: 'Install Helm $(helmVersion)'
# inputs:
# targetType: inline
# script: wget -q https://get.helm.sh/helm-$HELM_VERSION-linux-amd64.tar.gz -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
# - task: HelmDeploy@0
# displayName: 'helm upgrade'
# inputs:
# connectionType: 'Kubernetes Service Connection'
# kubernetesServiceConnection: $(K8S_AB_SERVICE_CONNECTION)
# command: upgrade
# chartType: FilePath
# chartPath: '$(System.DefaultWorkingDirectory)/charts/abtest-model'
# releaseName: $(greenReleaseName)
# overrideValues: 'deployment.name=$(greenReleaseName),deployment.bluegreen=green,deployment.image.tag=$(imgTag),initialDeployment=true,deployment.image.name=$(imgName)'
# arguments: --namespace $(K8S_AB_NAMESPACE)

- stage: 'Green_100'
jobs:
- job: 'Prod_Rollout_100'
Expand All @@ -202,26 +100,6 @@ stages:
releaseName: 'abtest-istio'
overrideValues: 'weight.blue=0,weight.green=100'

# - task: Bash@3
# displayName: 'Install Helm $(helmVersion)'
# inputs:
# targetType: inline
# script: wget -q https://get.helm.sh/helm-$HELM_VERSION-linux-amd64.tar.gz -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
# - task: HelmDeploy@0
# displayName: 'helm upgrade'
# inputs:
# connectionType: 'Kubernetes Service Connection'
# kubernetesServiceConnection: $(K8S_AB_SERVICE_CONNECTION)
# command: upgrade
# chartType: FilePath
# chartPath: '$(System.DefaultWorkingDirectory)/charts/abtest-istio'
# releaseName: 'abtest-istio'
# overrideValues: 'weight.blue=0,weight.green=100'
# arguments: --namespace $(K8S_AB_NAMESPACE)

- stage: 'Disable_blue'
condition: always()
jobs:
Expand Down
Loading