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

build: update go modules #12663

Merged
merged 1 commit into from
Aug 22, 2023
Merged

build: update go modules #12663

merged 1 commit into from
Aug 22, 2023

Conversation

BlaineEXE
Copy link
Member

Update go modules. The primary goal is to remove the goproxy import which has security warnings. The library is not used directly or indirectly by any called Rook code, only dependency modules. Therefore, exclude it from the build.

At the same time, portworx deps are starting to complicate the module update again. Rook also doesn't directly or indirectly use the portworx code, so exclude it also.

Description of your changes:

Which issue is resolved by this Pull Request:
Resolves #

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Skip Tests for Docs: If this is only a documentation change, add the label skip-ci on the PR.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

@BlaineEXE BlaineEXE requested review from travisn and subhamkrai and removed request for travisn August 3, 2023 18:13
go.mod Outdated
github.com/kubernetes-incubator/external-storage => github.com/libopenstorage/external-storage v0.20.4-openstorage-rc3
github.com/portworx/sched-ops => github.com/portworx/sched-ops v0.20.4-openstorage-rc3
)
replace github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.1
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 tried updating this as well with no success. The latest is github.com/google/gnostic v0.6.9.

Copy link
Contributor

@subhamkrai subhamkrai left a comment

Choose a reason for hiding this comment

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

I think the build issues could be resolved by applying anyone of the last two comment kubernetes/client-go#1084

@subhamkrai
Copy link
Contributor

I think the build issues could be resolved by applying anyone of the last two comment kubernetes/client-go#1084

#12672 will probably fix this issue

@subhamkrai
Copy link
Contributor

@BlaineEXE ready to rebase?

@mergify
Copy link

mergify bot commented Aug 16, 2023

This pull request has merge conflicts that must be resolved before it can be merged. @BlaineEXE please rebase it. https://rook.io/docs/rook/latest/Contributing/development-flow/#updating-your-fork

Update go modules. The primary goal is to remove the goproxy import
which has security warnings. The library is not used directly or
indirectly by any called Rook code, only dependency modules. Therefore,
exclude it from the build.

At the same time, portworx deps are starting to complicate the module
update again. Rook also doesn't directly or indirectly use the portworx
code, so exclude it also.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
Copy link
Member

@travisn travisn left a comment

Choose a reason for hiding this comment

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

Nice to see the go.sum shrunk by ~80 lines

@travisn travisn merged commit 031f3c6 into rook:master Aug 22, 2023
46 of 49 checks passed
mergify bot added a commit that referenced this pull request Aug 23, 2023
@BlaineEXE BlaineEXE deleted the update-go-mod branch August 24, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants