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 golang version and dependencies #31

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

akrejcir
Copy link
Collaborator

@akrejcir akrejcir commented Oct 6, 2023

What this PR does / why we need it:
Updated golang to 1.20, and module dependencies.

Release note:

None

@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Oct 6, 2023
@kubevirt-bot kubevirt-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 26, 2023
@akrejcir
Copy link
Collaborator Author

akrejcir commented Jan 5, 2024

This PR is waiting on: kubevirt/kubevirt#10972

@kubevirt-bot kubevirt-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 12, 2024
@akrejcir
Copy link
Collaborator Author

/cc @0xFelix @ksimon1

@kubevirt-bot kubevirt-bot requested a review from 0xFelix January 12, 2024 12:43
Dockerfile Outdated Show resolved Hide resolved
tests/proxy_test.go Outdated Show resolved Hide resolved
go.mod Outdated
k8s.io/client-go => k8s.io/client-go v0.26.3

// TODO - remove after openshift dependencies stop using the wrong URL
vbom.ml/util => github.com/fvbommel/util v0.0.3
Copy link
Member

Choose a reason for hiding this comment

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

Is the broken openshift dep still in use? Can you tell where it originates from?

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've updated the openshift dependencies and now its not used anymore.

kubevirt.io/client-go module was updated to the latest
commit in main branch, because it contains needed changes.

When a new version of kubevirt.io/client-go is released,
we will update go.mod file

Signed-off-by: Andrej Krejcir <[email protected]>
Copy link
Member

@codingben codingben left a comment

Choose a reason for hiding this comment

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

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 15, 2024
replace k8s.io/client-go => k8s.io/client-go v0.23.5
// Replacing these versions because kubevirt.io/client-go requires it.
replace (
k8s.io/api => k8s.io/api v0.26.4
Copy link
Member

Choose a reason for hiding this comment

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

Bump these to latest dot release v0.26.12?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because this exact version is used by kubevirt.io/client-go:
https://github.com/kubevirt/client-go/blob/304cdf11f9c46df9f15d1ed980d00b4bddb146b0/go.mod#L79-L104

I will try to post a PR to fix the inconvenient dependencies of kubevirt.io/client-go.

Copy link
Member

@0xFelix 0xFelix left a comment

Choose a reason for hiding this comment

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

/approve

@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 Jan 18, 2024
@kubevirt-bot kubevirt-bot merged commit 12f4903 into kubevirt:main Jan 18, 2024
5 checks passed
@akrejcir akrejcir deleted the update-deps branch January 18, 2024 12:28
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-none Denotes a PR that doesn't merit a release note. size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants