Skip to content

Commit bd76229

Browse files
authored
chore: Add instructions for releasing driver and launcher images (#11179)
Signed-off-by: Chen Sun <chensun@users.noreply.github.com>
1 parent 344ea02 commit bd76229

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

RELEASE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,35 @@ Note, when releasing from master, all the below mentions of "release branch" mea
186186
- ...
187187
Set the version by using `VERSION=<version-value>`. Contact @chensun if you are not sure what next version should be.
188188

189+
1. Release `driver` and `launcher` images
190+
191+
First build and push `driver` and `launcher` images:
192+
193+
```bash
194+
pushd ./backend
195+
196+
export IMG_TAG_DRIVER=gcr.io/ml-pipeline/kfp-driver
197+
make license_driver image_driver
198+
docker push $IMG_TAG_DRIVER
199+
200+
export IMG_TAG_LAUNCHER=gcr.io/ml-pipeline/kfp-launcher
201+
make license_launcher image_launcher
202+
docker push $IMG_TAG_LAUNCHER
203+
204+
popd
205+
```
206+
207+
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/)
208+
209+
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)
210+
211+
Pull the changes:
212+
213+
```bash
214+
git checkout $BRANCH
215+
git pull upstream $BRANCH
216+
```
217+
189218
1. Update all version refs in release branch by
190219

191220
```bash

0 commit comments

Comments
 (0)