Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add instructions for releasing driver and launcher images #11179

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,35 @@ Note, when releasing from master, all the below mentions of "release branch" mea
- ...
Set the version by using `VERSION=<version-value>`. 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
Expand Down