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

Chore: Update dependencies and remove unneeded ones #512

Merged
merged 7 commits into from
Mar 31, 2023

Conversation

akrejcir
Copy link
Collaborator

@akrejcir akrejcir commented Mar 3, 2023

What this PR does / why we need it:
Update go.mod dependencies.

Release note:

Updated dependencies.

@kubevirt-bot kubevirt-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Mar 3, 2023
@akrejcir
Copy link
Collaborator Author

akrejcir commented Mar 6, 2023

/retest

Copy link
Member

@lyarwood lyarwood left a comment

Choose a reason for hiding this comment

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

LGTM but I posted #505 last week and was getting some odd failures with ginkgo v2.8.3, can't see the same here so hopefully the other dep bumps have resolved whatever it was I was hitting. I'll wait for CI before approving.

@lyarwood lyarwood mentioned this pull request Mar 6, 2023
@0xFelix
Copy link
Member

0xFelix commented Mar 6, 2023

@lyarwood What about the changes introduced in b1f9f04?

@lyarwood
Copy link
Member

lyarwood commented Mar 6, 2023

@lyarwood What about the changes introduced in b1f9f04?

I'll handle that in a new PR once this lands.

if reviewJson, err := json.Marshal(review); err == nil {
log.Log.V(8).Infof("admission review:\n%s", string(reviewJson))
} else {
log.Log.V(8).Infof("admission review:\nCould not marshall review to json: %s", err.Error())
Copy link
Member

Choose a reason for hiding this comment

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

Typo: marshal / marshall

Copy link
Member

Choose a reason for hiding this comment

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

Can you dump out the review with %v?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think json is easier to read. %v is more verbose, I think it prints types of fields and addresses of pointers.

internal/template-validator/webhooks/hook.go Outdated Show resolved Hide resolved
internal/template-validator/webhooks/hook.go Outdated Show resolved Hide resolved
internal/template-validator/webhooks/hook.go Outdated Show resolved Hide resolved
internal/template-validator/tlsinfo/tlsinfo.go Outdated Show resolved Hide resolved
@akrejcir
Copy link
Collaborator Author

akrejcir commented Mar 8, 2023

/retest

@0xFelix
Copy link
Member

0xFelix commented Mar 10, 2023

/approve
/retest

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 0xFelix

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 10, 2023
@akrejcir
Copy link
Collaborator Author

/retest

1 similar comment
@akrejcir
Copy link
Collaborator Author

/retest

@akrejcir akrejcir marked this pull request as draft March 13, 2023 11:39
@kubevirt-bot kubevirt-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 13, 2023
@akrejcir akrejcir marked this pull request as ready for review March 13, 2023 14:23
@kubevirt-bot kubevirt-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 13, 2023
@akrejcir
Copy link
Collaborator Author

/retest

@kubevirt-bot kubevirt-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 14, 2023
Updated kubevirt modules to v0.59.0 and CDI to v1.55.2

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
Updated k8s.io to v0.26.2 and controller runtime to v0.14.5.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
Updated:
- github.com/onsi/ginkgo/v2
- github.com/onsi/gomega
- github.com/operator-framework/api
- github.com/operator-framework/operator-lib
- github.com/spf13/cobra
- sigs.k8s.io/kustomize/api

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
Removed direct dependency on:
- github.com/davecgh/go-spew
- github.com/ghodss/yaml
- github.com/pkg/errors
- gopkg.in/yaml.v2

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
The library was only used for its logger.

Signed-off-by: Andrej Krejcir <akrejcir@redhat.com>
@kubevirt-bot kubevirt-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 27, 2023
@sonarcloud
Copy link

sonarcloud bot commented Mar 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@akrejcir
Copy link
Collaborator Author

/retest

2 similar comments
@akrejcir
Copy link
Collaborator Author

/retest

@akrejcir
Copy link
Collaborator Author

/retest

@lyarwood
Copy link
Member

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 31, 2023
@kubevirt-bot kubevirt-bot merged commit de8c74f into kubevirt:master Mar 31, 2023
@akrejcir akrejcir deleted the update-all-deps branch March 31, 2023 09:22
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants