Skip to content

Azure devops

Christian Hochlin edited this page Nov 29, 2018 · 21 revisions

We are using Azure DevOps for build and release-management.

As noted in the Overview, we have one build pipeline for each service, and one for the Kubernetes provisioning configuration. There is also one for the CI-part, which runs on each commit to master and builds all the services and runs tests.

Build

The Build configurations are specified in yml-format and checked into the repository. They are comprised of a series of pipelines, or build steps, which describes how an application should be built. In this repo the yml-files are in Infrastructure/pipelines.

There are numerous pipelines to choose from here, but we have mostly used the docker pipelines, as Docker itself is a build environment.

...

Release

...

Defining artifacts

...

Note: It is also possible to create the Azure Container Registry connection as a Docker Hub-connection using the admin password (possible to enable in the Azure portal), but this will make the release pipeline unable to trigger builds automatically and impossible to get a list of image versions to deploy. Not recommended, but a possible gotcha when setting up.

Setup

...

Service principals

...

Build setups

...

Kubernetes connection

...

Clone this wiki locally