forked from Azure/phippyandfriends
-
Notifications
You must be signed in to change notification settings - Fork 2
/
cd-pipeline.yml
36 lines (33 loc) · 898 Bytes
/
cd-pipeline.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
trigger: none
pr: none
variables:
- template: ../common/cd-vars-template.yml
parameters:
projectName: phippy
# define 3 more variables: registryName, registryLogin and registryPassword in the Azure pipeline UI definition
resources:
pipelines:
- pipeline: ci-pipeline
source: phippy-ci
trigger:
enabled: true
branches:
include:
- master
stages:
- stage: development
displayName: development
jobs:
- deployment: development
variables:
k8sNamespace: 'phippyandfriends'
# define 5 more variables: aks, rg, aksSpId, aksSpSecret and aksSpTenantId in the Azure pipeline UI definition
displayName: deploy helm chart into AKS
pool:
vmImage: ubuntu-latest
environment: development-$(projectName)
strategy:
runOnce:
deploy:
steps:
- template: ../common/cd-steps-template.yml