Update on azure devops

eiximenis 2019-06-04 18:01:35 +02:00
parent 7c9e8dbe07
commit ebb113e3b2
3 changed files with 18 additions and 0 deletions

@ -32,6 +32,24 @@ We have an Azure Devops Release pipeline per microservice. Source artifact for t
All releases pipelines are very similar, as we use Helm to deploy to Kubernetes:
![Release tasks](./img/azure-devops/release-tasks.png)
We use three Azure Devops Tasks:
* A Helm task to install Helm in the build agent
* A Helm task to perform the `helm init`
* A Helm task to perform the `helm upgrade`
The helm upgrade task **uses the chart files which are produced as a build output** to install the helm chart from disk
![Helm upgrade task](./img/azure-devops/helm-upgrade-task.png)
Following arguments are passed to the task:
* Namespace where to install the release
* Chart Type as "File Path" as we are using the yaml files
* Chart Path: Path with the chart files (part of build output)
* Release Name: Name of the release to upgrade
* Set Values: The values to set to the chart. We have to pass the `inf.k8s.dns`and the image name and tag
* Mark the checkboxes: Install if not present, recreate pods and Wait
* Arguments: Additional yaml files needed

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB