From ae48059c63e6fab547bf8e9d5ef20d054ccf9c6f Mon Sep 17 00:00:00 2001 From: Zbynek Roubalik Date: Mon, 3 Feb 2020 11:48:54 +0100 Subject: [PATCH] correcting release process doc --- RELEASE-PROCESS.MD | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/RELEASE-PROCESS.MD b/RELEASE-PROCESS.MD index 6ef7e92f5de..580ebd614fd 100644 --- a/RELEASE-PROCESS.MD +++ b/RELEASE-PROCESS.MD @@ -2,28 +2,36 @@ The release process of a new version of KEDA involves the following: -**1). Deploy the new KEDA images to dockerhub** +**0) Prerequisites** Look at the last released version in the releases page: https://github.com/kedacore/keda/releases For example: currently it is 1.1.0 The next version will thus be 1.2.0 -The dockerhub repo with all the different images can be seen here: https://hub.docker.com/r/kedacore/keda/tags +**1) Update KEDA version in code and YAMLs** + +Update version string in: +https://github.com/kedacore/keda/blob/master/version/version.go + +Update sections related to images in these yamls: +https://github.com/kedacore/keda/blob/master/deploy/12-operator.yaml +https://github.com/kedacore/keda/blob/master/deploy/22-metrics-deployment.yaml + +Commit these changes. + +**2) Deploy the new KEDA images to Docker Hub** + +The Docker Hub repo with all the different images can be seen here: https://hub.docker.com/r/kedacore/keda/tags Creating a new release in the the releases page (https://github.com/kedacore/keda/release) will trigger a GitHub workflow which will create a new image with the latest code and tagged with the next version (in this example 1.2.0) and also change the latest tag to point to this image as well. -**2). Update Helm Charts** +**3) Update Helm Charts** a). Update the version and appVersion here: https://github.com/kedacore/charts/blob/master/keda/Chart.yaml b). In the image section update the keda and metricsAdapter to point to the docker images from step 1 https://github.com/kedacore/charts/blob/master/keda/values.yaml Then run the commands here: https://github.com/kedacore/charts -**3). Update the operator YAML** - -Update the two sections in the yaml here related to images in this yml -https://github.com/kedacore/keda/blob/master/deploy/operator.yaml - -- To deploy KEDA through Azure Functions Core Tools -- Update the following file: