From bd76229fc717fe72ea06d68251d25d5feb96478c Mon Sep 17 00:00:00 2001 From: Chen Sun Date: Fri, 6 Sep 2024 12:21:17 -0700 Subject: [PATCH] chore: Add instructions for releasing driver and launcher images (#11179) Signed-off-by: Chen Sun --- RELEASE.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index 737afce455a..e81b7a0532e 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -186,6 +186,35 @@ Note, when releasing from master, all the below mentions of "release branch" mea - ... Set the version by using `VERSION=`. Contact @chensun if you are not sure what next version should be. +1. Release `driver` and `launcher` images + + First build and push `driver` and `launcher` images: + + ```bash + pushd ./backend + + export IMG_TAG_DRIVER=gcr.io/ml-pipeline/kfp-driver + make license_driver image_driver + docker push $IMG_TAG_DRIVER + + export IMG_TAG_LAUNCHER=gcr.io/ml-pipeline/kfp-launcher + make license_launcher image_launcher + docker push $IMG_TAG_LAUNCHER + + popd + ``` + + If there are changes to the licenses files, make a Pull Request and merge the changes. (e.g. https://github.com/kubeflow/pipelines/pull/11177/) + + Once the images are pushed, update the hard-coded hash in the code: [`DefaultLauncherImage`](https://github.com/kubeflow/pipelines/blob/4c955f4780839702dc4924f8f4e7c90aa251b826/backend/src/v2/compiler/argocompiler/container.go#L33) and [`DefaultDriverImage`](https://github.com/kubeflow/pipelines/blob/4c955f4780839702dc4924f8f4e7c90aa251b826/backend/src/v2/compiler/argocompiler/container.go#L35). Make a Pull Request and merge the change (e.g.: https://github.com/kubeflow/pipelines/pull/11178) + + Pull the changes: + + ```bash + git checkout $BRANCH + git pull upstream $BRANCH + ``` + 1. Update all version refs in release branch by ```bash