forked from helm/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-1.yml
46 lines (38 loc) · 990 Bytes
/
azure-pipelines-1.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
trigger: none
pool: Hosted Ubuntu 1604
variables:
system.debug: true
stages:
- stage: Build
displayName: Build stage
jobs:
- job: Build
displayName: Build
pool:
vmImage: ubuntu-latest
steps:
- task: KubernetesManifest@0
inputs:
action: 'bake'
helmChart: 'stable/cerebro'
- publish: bakedmanifests
artifact: bakedmanifests
- stage: Deploy
displayName: 'Deployment stage'
jobs:
- deployment: Deploy
displayName: Deploy
environment: 'divman-env.default'
strategy:
canary:
increments: [25,50]
deploy:
steps:
- task: KubernetesManifest@0
inputs:
action: $(strategy.action)
kubernetesServiceConnection: 'divman-default'
strategy: $(strategy.name)
percentage: $(strategy.increment)
manifests: '$(Pipeline.Workspace)/bakedmanifests'
timeout: '0'