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

Add clientset support for federation e2e tests. #26953

Merged

Conversation

madhusudancs
Copy link
Contributor

@madhusudancs madhusudancs commented Jun 7, 2016

Only the last commit here needs review.

Depends on #26952.

cc @colhom @kubernetes/sig-cluster-federation

Analytics

@madhusudancs madhusudancs added area/cluster-federation release-note-none Denotes a PR that doesn't merit a release note. labels Jun 7, 2016
@madhusudancs madhusudancs added this to the v1.3 milestone Jun 7, 2016
@k8s-github-robot k8s-github-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 7, 2016
@@ -55,6 +56,8 @@ type Framework struct {
Clientset_1_2 *release_1_2.Clientset
Clientset_1_3 *release_1_3.Clientset

FederationClientset *federation_internalclientset.Clientset
// TODO: remove FederationClient, all the client access must be through FederationClientset
Copy link

Choose a reason for hiding this comment

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

@madhusudancs is the plan to remove FederationClient and switch over the ginkgo code to use FederationClientSet in a subsequent PR? Is there anything blocking us from doing that now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@madhusudancs is the plan to remove FederationClient and switch over the ginkgo code to use FederationClientSet in a subsequent PR?

@colhom yeah, that's the goal.

Is there anything blocking us from doing that now?

I don't want to change too many changes at once. First of all there is no guarantee that any of my stuff works because of the ongoing auth problems. Second, there is a time crunch at the moment and changing too many things mean a lot more debugging time.

Copy link

Choose a reason for hiding this comment

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

@madhusudancs there are only two e2e tests now, simply switching from the client to the clientset would be a handful of additional lines in the diff. imho it's easier to just do this now rather than letting the deprecated field hang around and possibly attract more dependencies or subtle interactions as federation e2e grows.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is definitely a line or two in the diff, but please also consider the additional debugging time required. I think getting federated service controller e2e working is the primary focus at the moment. Anything that takes even a few minutes extra without actually saving time elsewhere is out of question until that federated service e2es are merged.

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 8, 2016
@ghost
Copy link

ghost commented Jun 10, 2016

@madhusudancs needs rebase, then LGTM.

@madhusudancs
Copy link
Contributor Author

@quinton-hoole Rebased. Adding LGTM label.

@madhusudancs madhusudancs added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 10, 2016
@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 10, 2016
@nikhiljindal nikhiljindal added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Jun 10, 2016
@piosz
Copy link
Member

piosz commented Jun 10, 2016

@nikhiljindal why this is P1?

@nikhiljindal
Copy link
Contributor

@piosz Its P1 to include it in todays 1.3 branch cut.
Sorry should have added a comment.

@piosz
Copy link
Member

piosz commented Jun 10, 2016

As I wrote in #27158 (comment) there is >30 PRs in submit queue with milestone 1.3 which basically means that all of them should be included in todays 1.3 branch cut.

@nikhiljindal
Copy link
Contributor

nikhiljindal commented Jun 10, 2016

ok lets continue the discussion there. Both of these are federation related PRs.

@ghost
Copy link

ghost commented Jun 10, 2016

@piosz Not all of those are blockers.

@madhusudancs
Copy link
Contributor Author

@k8s-bot test this issue: #IGNORE

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Jun 13, 2016

GCE e2e build/test passed for commit f7486d5.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 6489abe into kubernetes:master Jun 13, 2016
k8s-github-robot pushed a commit that referenced this pull request Jun 13, 2016
Automatic merge from submit-queue

Implement first set of federated service e2e tests.

These tests are untested and there is no guarantee that they work. The ongoing auth problems is blocking these e2es from being tested and upon @quinton-hoole's request I am submitting them now.

Only the last commit here needs review.

Depends on #26953

cc @nikhiljindal @colhom @mfanjie @kubernetes/sig-cluster-federation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants