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

Use Go Modules #274

Merged
merged 9 commits into from
Mar 31, 2023
Merged

Use Go Modules #274

merged 9 commits into from
Mar 31, 2023

Conversation

danielmmetz
Copy link
Contributor

@danielmmetz danielmmetz commented Mar 13, 2023

And while we're at it, upgrade to Go 1.20. In the process I had to change a lot of the dependencies. Some because the dependencies wouldn't resolve using Go modules, some because they were incompatible with others. The long and the short of it is: 1) the kubernetes dependency ecosystem is very rough and 2) this should be carefully validated during rollout given the number of dependency shifts.

Some other minor notes include some lint changes, or rewriting a very small bit of code to drop a dependency to have one less to fight with.

@danielmmetz danielmmetz marked this pull request as ready for review March 13, 2023 23:21
@anandswaminathan
Copy link
Contributor

@danielmmetz wondering what's happening with integration tests.

@anandswaminathan
Copy link
Contributor

@danielmmetz Not sure how to validate this without - https://github.com/lyft/flinkk8soperator/blob/master/.github/workflows/actions.yml#L50

Want to reenable ?

@anandswaminathan
Copy link
Contributor

PTAL @leoluoInSea

go-version: 1.12
- name: install
run: make install
go-version: "1.20"
Copy link
Contributor

Choose a reason for hiding this comment

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

is the double quote necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes—without it, YAML interprets this as "1.2" and you get a very old version of Go.

@leoluoInSea
Copy link
Contributor

leoluoInSea commented Mar 14, 2023

@danielmmetz wondering what's happening with integration tests.

The integ tests are failing. I was trying to debug this and fix the issue, I was able to narrow down the problem is Flink app is stuck at deleting after every test till test time out. However I was unable to figure out why this happened and how to fix it yet. @anandswaminathan

@sethsaperstein-lyft sethsaperstein-lyft self-requested a review March 31, 2023 19:13
@sethsaperstein-lyft sethsaperstein-lyft merged commit 12959ee into master Mar 31, 2023
@sethsaperstein-lyft sethsaperstein-lyft deleted the go-modules branch March 31, 2023 19:13
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.

4 participants