Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

WIP: Revert #135: change rtype to commonv1.ReplicaType #163

Closed
wants to merge 1 commit into from

Conversation

Jeffwan
Copy link
Member

@Jeffwan Jeffwan commented Sep 19, 2021

I filed this PR #158 against release-0.3 branch but didn't check in code against master at that time. Please check details in #158 for the reason why I decide to revert this change.

A few things to note

  1. Since CI was removed for unknown reason. I manually verify the code quality
➜  common git:(revert_135_new) ✗ go build ./...
➜  common git:(revert_135_new) ✗ go test ./...
?   	github.com/kubeflow/common/pkg/apis/common/v1	[no test files]
ok  	github.com/kubeflow/common/pkg/controller.v1/common	0.018s
ok  	github.com/kubeflow/common/pkg/controller.v1/control	0.028s
ok  	github.com/kubeflow/common/pkg/controller.v1/expectation	0.015s
?   	github.com/kubeflow/common/pkg/core	[no test files]
ok  	github.com/kubeflow/common/pkg/reconciler.v1/common	0.029s
ok  	github.com/kubeflow/common/pkg/util	0.018s
?   	github.com/kubeflow/common/pkg/util/k8sutil	[no test files]
ok  	github.com/kubeflow/common/pkg/util/labels	0.021s
?   	github.com/kubeflow/common/pkg/util/signals	[no test files]
ok  	github.com/kubeflow/common/pkg/util/train	0.014s
?   	github.com/kubeflow/common/test_job/apis/test_job/v1	[no test files]
?   	github.com/kubeflow/common/test_job/client/clientset/versioned	[no test files]
?   	github.com/kubeflow/common/test_job/client/clientset/versioned/fake	[no test files]
?   	github.com/kubeflow/common/test_job/client/clientset/versioned/scheme	[no test files]
?   	github.com/kubeflow/common/test_job/client/clientset/versioned/typed/test_job/v1	[no test files]
?   	github.com/kubeflow/common/test_job/client/clientset/versioned/typed/test_job/v1/fake	[no test files]
?   	github.com/kubeflow/common/test_job/client/informers/externalversions	[no test files]
?   	github.com/kubeflow/common/test_job/client/informers/externalversions/internalinterfaces	[no test files]
?   	github.com/kubeflow/common/test_job/client/informers/externalversions/test_job	[no test files]
?   	github.com/kubeflow/common/test_job/client/informers/externalversions/test_job/v1	[no test files]
?   	github.com/kubeflow/common/test_job/client/listers/test_job/v1	[no test files]
?   	github.com/kubeflow/common/test_job/controller.v1/test_job	[no test files]
?   	github.com/kubeflow/common/test_job/reconciler.v1/test_job	[no test files]
?   	github.com/kubeflow/common/test_job/test_util/v1	[no test files]
  1. I will file a PR in training-operator repo to use this branch. It will build operator using this branch.
    WP: Update kubeflow/common to revert_135_new branch training-operator#1408

  2. this change will unblock [WIP]: add a GenericJob type and controller training-operator#1398

/cc @zw0610 @terrytangyuan @gaocegege

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from jeffwan after the PR has been reviewed.

The full list of commands accepted by this bot can be found 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

Since reconciler.v1 add more changes. This revert's scope is larger than original PR.

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

zw0610 commented Oct 28, 2021

could we move this pr forward? Apart from #166 , I believe we will have some elastic-related feature merging into common repository soon.

@zw0610
Copy link
Member

zw0610 commented Dec 1, 2021

@Jeffwan I believe we can close this pr as #173 is merged.

@terrytangyuan
Copy link
Member

Closed. Feel free to re-open if necessary.

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

Successfully merging this pull request may close these issues.

4 participants