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

switch remaining API groups to new scheme install #20372

Merged
merged 4 commits into from
Jul 20, 2018

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Jul 19, 2018

This plumbs up the new scheme install through all the groups and sets us up for creating separate schemes per process (or maybe even per server in our API servers). It will also allow us to start fixing the consumption of resources in oc

@juanvallejo @mfojtik

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 19, 2018
@openshift-ci-robot openshift-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 19, 2018
@deads2k
Copy link
Contributor Author

deads2k commented Jul 19, 2018

well, that ended up a little bit larger than intended.

@bparees bparees removed their request for review July 19, 2018 19:43
@deads2k
Copy link
Contributor Author

deads2k commented Jul 19, 2018

/retest

)

const (
GroupName = "build.openshift.io"
LegacyGroupName = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

glad to see all this go

@@ -144,7 +144,7 @@ func TestDefaults(t *testing.T) {
}

func roundTrip(t *testing.T, obj runtime.Object) runtime.Object {
data, err := runtime.Encode(codecs.LegacyCodec(LegacySchemeGroupVersion), obj)
Copy link
Contributor

Choose a reason for hiding this comment

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

@deads2k we won't test the legacy api roundtrip anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@deads2k we won't test the legacy api roundtrip anymore?

the default test was different. Before were only testing legacy, now we only test the version in the package.

@mfojtik
Copy link
Contributor

mfojtik commented Jul 20, 2018

one question

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2018
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2018
@mfojtik
Copy link
Contributor

mfojtik commented Jul 20, 2018

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, mfojtik

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

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 65f7c04 into openshift:master Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants