Update on azure devops
parent
7c9e8dbe07
commit
ebb113e3b2
@ -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:
|
||||
|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||
|
||||
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
|
BIN
img/azure-devops/helm-upgrade-task.png
Normal file
BIN
img/azure-devops/helm-upgrade-task.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
img/azure-devops/release-tasks.png
Normal file
BIN
img/azure-devops/release-tasks.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
x
Reference in New Issue
Block a user