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

Generate tfjob 1.19.x compatible clientset #1290

Merged

Conversation

Jeffwan
Copy link
Member

@Jeffwan Jeffwan commented Jul 5, 2021

This PR resolves #1289. We determine to use 1.19.x in the new develop branch kubeflow:all-in-one-operator but there're some conflicts in code build. Changes were introduced from #1286

  • Generate tfjob 1.19.x compatible clientset
    • Update dependencies to 1.19.x compatible
    • Update update-codegen.sh to use pkg from go modules pkg
    • Generate clientsets which supports context
  • Resolve GroupVersion redeclared issue

/cc @zw0610

`go build` will fail since same group version is redeclared in groupversion_info.go

Signed-off-by: Jiaxin Shan <[email protected]>
1. Update dependencies to 1.19.x compatible
2. Update update-codegen.sh to use pkg from go modules pkg
3. Generate clientsets which supports context

Signed-off-by: Jiaxin Shan <[email protected]>
@Jeffwan
Copy link
Member Author

Jeffwan commented Jul 5, 2021

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

Thanks!

/lgtm

@Jeffwan
Copy link
Member Author

Jeffwan commented Jul 5, 2021

/approve

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Jeffwan, terrytangyuan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit 840a41b into kubeflow:all-in-one-operator Jul 5, 2021
@Jeffwan Jeffwan deleted the update_tf_clientset branch July 5, 2021 21:11
Jeffwan added a commit that referenced this pull request Aug 5, 2021
* Resolve GroupVersion redeclared issue

`go build` will fail since same group version is redeclared in groupversion_info.go

Signed-off-by: Jiaxin Shan <[email protected]>

* Generate tfjob 1.19.x compatible clientset

1. Update dependencies to 1.19.x compatible
2. Update update-codegen.sh to use pkg from go modules pkg
3. Generate clientsets which supports context

Signed-off-by: Jiaxin Shan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants