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

start tightening scheme usage in oc #20385

Merged
merged 6 commits into from
Jul 24, 2018

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Jul 20, 2018

This builds on previous scheme installation fixes and printing protections to start collapsing onto the external only scheme in kubectl for reading and printing. It also fixes the upstream internally versioned commands which we inadvertently broke. We're winning!

/assign @juanvallejo @soltysh @mfojtik

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k

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-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 20, 2018
@deads2k
Copy link
Contributor Author

deads2k commented Jul 20, 2018

/retest

if [[ "$(du -m "${OS_OUTPUT_BINPATH}/${platform}/oc" | cut -f 1)" -gt "115" ]]; then
os::log::fatal "oc binary has grown substantially. You must have approval before bumping this limit."
ocsize=$(du -m "${OS_OUTPUT_BINPATH}/${platform}/oc" | cut -f 1)
if [[ "${ocsize}" -gt "116" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

+1MB ? :-))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

+1MB ? :-))

Yeah, we were missing an api group.

@@ -31,6 +31,15 @@ import (
"github.com/openshift/origin/pkg/user/apis/user"
)

func IsOAPI(gvk schema.GroupVersionKind) bool {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would maybe put a DEPRECATED label here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would maybe put a DEPRECATED label here.

done

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Jul 23, 2018
@deads2k
Copy link
Contributor Author

deads2k commented Jul 23, 2018

/retest

2 similar comments
@deads2k
Copy link
Contributor Author

deads2k commented Jul 23, 2018

/retest

@deads2k
Copy link
Contributor Author

deads2k commented Jul 23, 2018

/retest

@deads2k
Copy link
Contributor Author

deads2k commented Jul 23, 2018

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 23, 2018
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jul 24, 2018
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@deads2k deads2k added lgtm Indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Jul 24, 2018
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jul 24, 2018
@openshift-ci-robot
Copy link

New changes are detected. LGTM label has been removed.

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Jul 24, 2018
@deads2k
Copy link
Contributor Author

deads2k commented Jul 24, 2018

/retest

1 similar comment
@deads2k
Copy link
Contributor Author

deads2k commented Jul 24, 2018

/retest

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.

None yet

6 participants