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

Release process definition and implementation #297

Closed
wants to merge 2 commits into from

Conversation

roytman
Copy link
Member

@roytman roytman commented Jun 18, 2024

Why are these changes needed?

We need to define and after that automate the project release process.

Related issue number (if any).

#294

Signed-off-by: Alexey Roytman <roytman@il.ibm.com>
Signed-off-by: Alexey Roytman <roytman@il.ibm.com>

**Question:** should we use the same versions for release, and for shared python modules and images, such as
`DPK_LIB_VERSION`, `DPK_LIB_KFP_VERSION`, `DPK_LIB_KFP_VERSION_v2`, `DPK_LIB_KFP_SHARED`, `KFP_DOCKER_VERSION`, `KFP_DOCKER_VERSION_v2`?
If YES, maybe we can combine all these variables into a single one.
Copy link
Collaborator

@revit13 revit13 Jun 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it makes sense to have 0.0.0 tag to all in dev branch and update it to the release tag upon creating a new release in the release branch (assuming their tag version is as the relase version tag)? there is no meaning to the tag version in dev as we build everything locally.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW I think that the process of updating the versions in .make.versions should be done in the release branch so the .make.versions in dev branch should remain 0.0.0...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no meaning to the tag version in dev as we build everything locally.

it is not exactly true, for pipeline tests on a real cluster we need relevant images.

## 2. Update versions
From the project root directory execute
```shell
make versions
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its make set-versions


- In the [.make.versions](.make.versions) file update versions of the shared components `DPK_LIB_VERSION`,
`DPK_LIB_KFP_VERSION`, `DPK_LIB_KFP_VERSION_v2`, `DPK_LIB_KFP_SHARED`, `KFP_DOCKER_VERSION`, `KFP_DOCKER_VERSION_v2` to the desired ones
- Update transformers versions
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not clear how the transforms release process is done. should it be independent of the repo release? if so, we should not update the versions in this process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants