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

Enable dependency pruning #60

Merged
merged 1 commit into from Nov 9, 2018

Conversation

ironcladlou
Copy link
Contributor

Enable pruning to downsize the vendor directory.

Enable pruning to downsize the vendor directory.
@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 9, 2018
@Miciah
Copy link
Contributor

Miciah commented Nov 9, 2018

dep check reports a couple problems:

% dep check
# vendor is out of sync:
github.com/gogo/protobuf: hash of vendored tree not equal to digest in Gopkg.lock
github.com/googleapis/gnostic: hash of vendored tree not equal to digest in Gopkg.lock

@ironcladlou
Copy link
Contributor Author

  1. We shouldn't gate on manual tests anymore; let's incorporate dep check into CI separately to rule out "works for me" issues
  2. If dep check fails for you in your environment (which it does not for me), and all our existing tests pass, what exactly is dep check protecting us against?

@Miciah
Copy link
Contributor

Miciah commented Nov 9, 2018

We shouldn't gate on manual tests anymore; let's incorporate dep check into CI separately to rule out "works for me" issues

The only other operator I found that gates on dep check is prometheus-operator (actually, it does a dep ensure and then a diff):

https://github.com/openshift/prometheus-operator/blob/master/scripts/golang-dep-ensure.sh
https://github.com/openshift/prometheus-operator/blob/master/.travis.yml#L18-L19

If dep check fails for you in your environment (which it does not for me), and all our existing tests pass, what exactly is dep check protecting us against?

Presumably it will prevent a PR that discomfits dep from necessitating additional effort from the next person who needs to deal with dep.

@Miciah
Copy link
Contributor

Miciah commented Nov 9, 2018

I'll add gating on dep later.

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ironcladlou, Miciah

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-merge-robot openshift-merge-robot merged commit a1dc551 into openshift:master Nov 9, 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.

None yet

4 participants