-
Notifications
You must be signed in to change notification settings - Fork 710
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
Support success policy for TFJob #1165
Conversation
Signed-off-by: terrytangyuan <[email protected]>
/cc @gaocegege @ChanYiLin |
Travis tests have failedHey @terrytangyuan, 2nd Buildhack/verify-codegen.sh
go build -o tf-operator.v1 github.com/kubeflow/tf-operator/cmd/tf-operator.v1
golangci-lint run ./...
goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/util/*.go,pkg/util/*/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/tensorflow/*/*_generated.go,pkg/apis/common/*/zz_generated.*.go,pkg/apis/common/*/*_generated.go"
TravisBuddy Request Identifier: 488d6dc0-a01f-11ea-aa49-9d3926c79f60 |
Signed-off-by: terrytangyuan <[email protected]>
Travis tests have failedHey @terrytangyuan, 2nd Buildhack/verify-codegen.sh
goveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/util/*.go,pkg/util/*/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/tensorflow/*/*_generated.go,pkg/apis/common/*/zz_generated.*.go,pkg/apis/common/*/*_generated.go"
TravisBuddy Request Identifier: e159b8e0-a021-11ea-aa49-9d3926c79f60 |
Signed-off-by: terrytangyuan <[email protected]>
Travis tests have failedHey @terrytangyuan, 2nd Buildgoveralls -service=travis-ci -v -package ./pkg/... -ignore "pkg/client/*/*.go,pkg/client/*/*/*.go,pkg/client/*/*/*/*.go,pkg/client/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*.go,pkg/client/*/*/*/*/*/*/*.go,pkg/util/*.go,pkg/util/*/*.go,pkg/apis/tensorflow/*/zz_generated.*.go,pkg/apis/tensorflow/*/*_generated.go,pkg/apis/common/*/zz_generated.*.go,pkg/apis/common/*/*_generated.go"
TravisBuddy Request Identifier: d0990450-a023-11ea-aa49-9d3926c79f60 |
Signed-off-by: terrytangyuan <[email protected]>
/retest |
1 similar comment
/retest |
/test kubeflow-tf-operator-presubmit |
The feature LGTM. But the name And, should we keep the policy in common? /cc @Jeffwan |
I was thinking about moving this to Kubeflow/common as well but we need to see whether other operators have the same demands before doing that. Also it would take more time to switch to use the most recent Kubeflow/common so it’s better to keep this here for now. |
BTW, Is there the situation that the chief worker is succeeded but the one of the worker fails? |
Yes that is the use case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gaocegege 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 |
/retest |
/retest |
@terrytangyuan: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
* Support success policy for TFJob Signed-off-by: terrytangyuan <[email protected]> * Fix imports Signed-off-by: terrytangyuan <[email protected]> * Update generated code Signed-off-by: terrytangyuan <[email protected]> * Fix defaults_test.go Signed-off-by: terrytangyuan <[email protected]> (cherry picked from commit 2479837) Signed-off-by: Yi Chen <[email protected]>
* Support success policy for TFJob Signed-off-by: terrytangyuan <[email protected]> * Fix imports Signed-off-by: terrytangyuan <[email protected]> * Update generated code Signed-off-by: terrytangyuan <[email protected]> * Fix defaults_test.go Signed-off-by: terrytangyuan <[email protected]> (cherry picked from commit 2479837) Signed-off-by: Yi Chen <[email protected]>
* Support success policy for TFJob Signed-off-by: terrytangyuan <[email protected]> * Fix imports Signed-off-by: terrytangyuan <[email protected]> * Update generated code Signed-off-by: terrytangyuan <[email protected]> * Fix defaults_test.go Signed-off-by: terrytangyuan <[email protected]> (cherry picked from commit 2479837) Signed-off-by: Yi Chen <[email protected]>
* Support success policy for TFJob Signed-off-by: terrytangyuan <[email protected]> * Fix imports Signed-off-by: terrytangyuan <[email protected]> * Update generated code Signed-off-by: terrytangyuan <[email protected]> * Fix defaults_test.go Signed-off-by: terrytangyuan <[email protected]> (cherry picked from commit 2479837) Signed-off-by: Yi Chen <[email protected]>
* Support success policy for TFJob Signed-off-by: terrytangyuan <[email protected]> * Fix imports Signed-off-by: terrytangyuan <[email protected]> * Update generated code Signed-off-by: terrytangyuan <[email protected]> * Fix defaults_test.go Signed-off-by: terrytangyuan <[email protected]> (cherry picked from commit 2479837) Signed-off-by: Yi Chen <[email protected]>
* Support success policy for TFJob Signed-off-by: terrytangyuan <[email protected]> * Fix imports Signed-off-by: terrytangyuan <[email protected]> * Update generated code Signed-off-by: terrytangyuan <[email protected]> * Fix defaults_test.go Signed-off-by: terrytangyuan <[email protected]> (cherry picked from commit 2479837) Signed-off-by: Yi Chen <[email protected]>
* Support success policy for TFJob (kubeflow#1165) * Support success policy for TFJob Signed-off-by: terrytangyuan <[email protected]> * Fix imports Signed-off-by: terrytangyuan <[email protected]> * Update generated code Signed-off-by: terrytangyuan <[email protected]> * Fix defaults_test.go Signed-off-by: terrytangyuan <[email protected]> (cherry picked from commit 2479837) Signed-off-by: Yi Chen <[email protected]> * Add validation for non-nil pointer Signed-off-by: Yi Chen <[email protected]> * Add kubebuilder marker for validating success policy Signed-off-by: Yi Chen <[email protected]> * Add make target generate Signed-off-by: Yi Chen <[email protected]> --------- Signed-off-by: terrytangyuan <[email protected]> Signed-off-by: Yi Chen <[email protected]> Co-authored-by: Yuan Tang <[email protected]>
Signed-off-by: terrytangyuan [email protected]