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 the go modules to the latest #11170

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Conversation

travisn
Copy link
Member

@travisn travisn commented Oct 18, 2022

Description of your changes:
The security scan is failing due to a go dependency so we update the go modules and all dependencies to the latest available.

Which issue is resolved by this Pull Request:
Resolves #11166

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.

@travisn travisn force-pushed the update-modules branch 2 times, most recently from 240b5d4 to 715261a Compare October 18, 2022 21:35
@@ -256,7 +256,7 @@ func TestCommitConfigChanges(t *testing.T) {
},
expectCommands{
periodUpdate: true,
periodCommit: false,
periodCommit: true,
Copy link
Member Author

Choose a reason for hiding this comment

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

@BlaineEXE By updating to go-ceph v0.18, the period is now being committed. Does this sound expected for this test?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think that is expected. Let me pull these changes locally and poke around.

Copy link
Member

Choose a reason for hiding this comment

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

I find it more likely that possibly go-cmp has changed from v0.5.8 to v0.5.9

Copy link
Member Author

Choose a reason for hiding this comment

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

Any concern with merging this for now?

Copy link
Member

Choose a reason for hiding this comment

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

Yes. This will mean the RGW period gets updated on every reconcile. IIRC, the behavior to commit only if changes will be made was done so as to not cause any hiccups in RGW availability unless necessary.

@parth-gr
Copy link
Member

Does this process is done by go mod tidy?

@travisn
Copy link
Member Author

travisn commented Oct 19, 2022

Does this process is done by go mod tidy?

We have a make command: make mod.update

The security scan is failing due to a go dependency
so we update the go modules and all dependencies to
the latest available.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
@travisn travisn merged commit c8224be into rook:master Oct 20, 2022
@travisn travisn deleted the update-modules branch October 20, 2022 17:39
travisn added a commit that referenced this pull request Oct 20, 2022
build: Update the go modules to the latest (backport #11170)
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.

Security scan failing in the latest master
3 participants