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

let tfJob image configurable #228

Merged
merged 2 commits into from
Dec 20, 2017
Merged

Conversation

zjj2wry
Copy link
Member

@zjj2wry zjj2wry commented Dec 14, 2017

This change is Reviewable

Fixes #207
/cc @cwbeitel @jlewi

@jlewi
Copy link
Contributor

jlewi commented Dec 14, 2017

Review status: 0 of 6 files reviewed at latest revision, 1 unresolved discussion.


pkg/trainer/training.go, line 283 at r1 (raw file):

	}

	err := j.job.Spec.SetDefaults(config.TfImage)

Could we add a unittest for this?


Comments from Reviewable

t.Errorf("Want\n%v; Got\n %v", util.Pformat(c.expected), util.Pformat(c.in))
}
for i, c := range testCases {
t.Run(fmt.Sprintf("%d", i), func(t *testing.T) {
Copy link
Member Author

Choose a reason for hiding this comment

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

i add this line can help quick find error in table test

--- PASS: TestSetDefaults (0.00s)
    --- PASS: TestSetDefaults/0 (0.00s)
    --- PASS: TestSetDefaults/1 (0.00s)
    --- PASS: TestSetDefaults/2 (0.00s)

@zjj2wry
Copy link
Member Author

zjj2wry commented Dec 18, 2017

@jlewi done, ptal

@jlewi
Copy link
Contributor

jlewi commented Dec 18, 2017

:lgtm:


Review status: 0 of 6 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.


Comments from Reviewable

@jlewi
Copy link
Contributor

jlewi commented Dec 18, 2017

@zjj2wry Looks like there are some conflicts now.

@zjj2wry
Copy link
Member Author

zjj2wry commented Dec 19, 2017

@jlewi rebased, ptal

@jlewi
Copy link
Contributor

jlewi commented Dec 20, 2017

:lgtm:


Review status: 0 of 6 files reviewed at latest revision, 2 unresolved discussions.


Comments from Reviewable

@jlewi jlewi merged commit 6d0455e into kubeflow:master Dec 20, 2017
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