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

✨ Go mod updates #543

Merged
merged 16 commits into from
May 30, 2024
Merged

✨ Go mod updates #543

merged 16 commits into from
May 30, 2024

Conversation

akutz
Copy link
Collaborator

@akutz akutz commented May 30, 2024

What does this PR do, and why is it needed?

This PR includes several updates to the Go module dependencies:

  • Update go-logr from 1.4.1 to 1.4.2
  • Remove k8s.io/utils from api module
  • Update uuid from 1.3.0 to 1.6.0 in api module
  • Update ginkgo & gomega in api module from 2.15.0 and 1.31.0 to 2.19.0 and 1.33.1 respectively
  • Update controller-runtime to 0.18.2 in api module
  • Update prometheus client to 1.19.1
  • Update controller-tools in tools module from 0.14.0 to 0.15.0 and regenerates the CRDs with the new version
  • Updated hack/tools gocov to 1.1.0
  • Update golangci-lint from 1.52.2 to 1.59.0 and updated linter config to preserve no errors (whilst fixing a few manually)
  • Remove hack/tools gocovmerge
  • Update vulncheck from 1.0.1 to 1.1.1
  • Pin k8s.io/code-generator to v0.29.0 as it appears the --input-dirs flag was removed sometime between v0.29.0 and v0.30.0. For more information, please see Conversion should allow explicit declaration of conversion funcs, beyond just naming convention kubernetes/code-generator#172
  • Update setup-envtest to v0.0.0-20240524133911-be2f383334bd
  • Update kind from 0.20.0 to 0.23.0
  • Update kubebuilder from 3.12.0 to 3.15.1
  • Update kustomize from 5.1.1 to 5.4.2

Which issue(s) is/are addressed by this PR? (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes NA

Are there any special notes for your reviewer:

Please add a release note if necessary:

Update all dependencies to their latest versions where possible

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines. label May 30, 2024
akutz added 16 commits May 30, 2024 11:26
This patch updates github.com/go-logr/logr from 1.4.1 to 1.4.2.
This patch removes the dependency on k8s.io/utils from the api
module.
This patch updates github.com/google/uuid from 1.3.0 to
1.6.0 in the api module.
This patch updates the ginkgo and gomega dependencies in the api
module from 2.15.0 and 1.31.0 to 2.19.0 and 1.33.1 respectively.
This patch updates the controller-runtime dependency in the api
module from 0.17.2 to 0.18.2.
This patch updates the prometheus client dependency from 1.18.0
to 1.19.1.
This patch updates the hack/tools controller-tools dependency from
0.14.0 to 0.15.0 and regenerates the CRDs with the new version.
This patch updates the hack/tools gocov dependency to 1.1.0.
This patch updates the golangci-lint dependency from
1.52.2 to 1.59.0.
This patch removes the dependency on the tool gocovmerge
since it is no longer used.
This patch updates the vulncheck tool from 1.0.1 to 1.1.1.
This patch pins the dependency on the tool k8s.io/code-generator
to v0.29.0. It appears the "--input-dirs" flag was removed sometime
between v0.29.0 and v0.30.0. For more information, please see
kubernetes/code-generator#172.
This patch updates the dependency for setup-envtest to
v0.0.0-20240524133911-be2f383334bd.
This patch updates the kind dependency from 0.20.0 to 0.23.0.
This patch updates the kubebuilder dependency from 3.12.0 to
3.15.1.
This patch updates kustomize from 5.1.1 to 5.4.2.
@akutz akutz force-pushed the feature/go-mod-updates branch from 558c61e to 9f5219c Compare May 30, 2024 16:31
Copy link

Code Coverage

Package Line Rate Health
github.com/vmware-tanzu/vm-operator/controllers/contentlibrary/clustercontentlibraryitem 82%
github.com/vmware-tanzu/vm-operator/controllers/contentlibrary/contentlibraryitem 86%
github.com/vmware-tanzu/vm-operator/controllers/contentlibrary/utils 32%
github.com/vmware-tanzu/vm-operator/controllers/infra/configmap 71%
github.com/vmware-tanzu/vm-operator/controllers/infra/node 77%
github.com/vmware-tanzu/vm-operator/controllers/infra/secret 77%
github.com/vmware-tanzu/vm-operator/controllers/util/encoding 73%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachine 77%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachineclass 21%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachinepublishrequest 81%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachineservice 83%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachineservice/providers 92%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachinesetresourcepolicy 81%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachinewebconsolerequest/v1alpha1 72%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachinewebconsolerequest/v1alpha1/conditions 88%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachinewebconsolerequest/v1alpha1/patch 78%
github.com/vmware-tanzu/vm-operator/controllers/virtualmachinewebconsolerequest/v1alpha2 73%
github.com/vmware-tanzu/vm-operator/controllers/volume 85%
github.com/vmware-tanzu/vm-operator/pkg/builder 15%
github.com/vmware-tanzu/vm-operator/pkg/conditions 88%
github.com/vmware-tanzu/vm-operator/pkg/config 100%
github.com/vmware-tanzu/vm-operator/pkg/config/env 100%
github.com/vmware-tanzu/vm-operator/pkg/patch 16%
github.com/vmware-tanzu/vm-operator/pkg/prober 54%
github.com/vmware-tanzu/vm-operator/pkg/prober/probe 91%
github.com/vmware-tanzu/vm-operator/pkg/prober/worker 77%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere 72%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/client 80%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/clustermodules 71%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/config 72%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/contentlibrary 72%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/credentials 100%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/network 80%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/placement 77%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/session 33%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/sysprep 100%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/vcenter 82%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/virtualmachine 74%
github.com/vmware-tanzu/vm-operator/pkg/providers/vsphere/vmlifecycle 66%
github.com/vmware-tanzu/vm-operator/pkg/record 78%
github.com/vmware-tanzu/vm-operator/pkg/topology 55%
github.com/vmware-tanzu/vm-operator/pkg/util 78%
github.com/vmware-tanzu/vm-operator/pkg/util/cloudinit 89%
github.com/vmware-tanzu/vm-operator/pkg/util/cloudinit/validate 91%
github.com/vmware-tanzu/vm-operator/pkg/util/image 100%
github.com/vmware-tanzu/vm-operator/pkg/util/kube 81%
github.com/vmware-tanzu/vm-operator/pkg/util/ptr 100%
github.com/vmware-tanzu/vm-operator/pkg/util/resize 100%
github.com/vmware-tanzu/vm-operator/pkg/util/vmopv1 93%
github.com/vmware-tanzu/vm-operator/pkg/util/vsphere/client 68%
github.com/vmware-tanzu/vm-operator/pkg/util/vsphere/vm 78%
github.com/vmware-tanzu/vm-operator/pkg/webconsolevalidation 51%
github.com/vmware-tanzu/vm-operator/webhooks/common 100%
github.com/vmware-tanzu/vm-operator/webhooks/persistentvolumeclaim/validation 95%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachine/mutation 86%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachine/validation 95%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachineclass/mutation 62%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachineclass/validation 89%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachinepublishrequest/validation 92%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachinereplicaset/validation 90%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachineservice/mutation 67%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachineservice/validation 92%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachinesetresourcepolicy/validation 89%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachinewebconsolerequest/v1alpha1/validation 92%
github.com/vmware-tanzu/vm-operator/webhooks/virtualmachinewebconsolerequest/v1alpha2/validation 92%
Summary 76% (6930 / 9162)

@akutz akutz requested a review from dilyar85 May 30, 2024 20:47
Copy link
Member

@dilyar85 dilyar85 left a comment

Choose a reason for hiding this comment

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

Thanks again for all the updates!

@akutz akutz merged commit d84b156 into vmware-tanzu:main May 30, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-not-required size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants