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

ZDM Util: upgrade Go version and some of its dependencies #70

Merged
merged 7 commits into from
Feb 29, 2024

Conversation

alicel
Copy link
Collaborator

@alicel alicel commented Feb 29, 2024

This PR only affects the ZDM Util.

The changes include an upgrade of the Go version from 1.16 to 1.21.7, and upgrading several dependencies that were outdated. In particular, the runc transitive dependency has been upgraded from 1.1.4 to 1.1.12 to address a security vulnerability.

Additionally, there is a fix for a small compilation error in a test which had gone unnoticed since the changes to make the ZDM Util OS-agnostic.

The automated tests are passing and a manual smoke test was also successful.

zdm-util/go.mod Outdated
@@ -1,20 +1,35 @@
module zdm-proxy-automation/zdm-util

go 1.16
go 1.21.7
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we sure the go sdk being installed supports this?

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 forgot that we have a workflow that can build from a commit, I'll do that to verify that the executable can be built.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The executable could be built - I had to use 1.21 instead of 1.21.7 and fix two dependencies that were missing from go.sum and therefore showed as unnecessary in go.mod. The 1.21 version in itself did not cause issues, but it was useful to run the workflow from the commit.

@alicel alicel merged commit 8980640 into main Feb 29, 2024
2 checks passed
@alicel alicel deleted the upgrade-runc-deps branch February 29, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants