-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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-version-file: go.mod
in CI
#16841
Use go-version-file: go.mod
in CI
#16841
Conversation
Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #16841 +/- ##
==========================================
+ Coverage 69.41% 69.45% +0.03%
==========================================
Files 1570 1570
Lines 202945 202923 -22
==========================================
+ Hits 140880 140940 +60
+ Misses 62065 61983 -82 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Tim Vaillancourt <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks, @timvaillancourt !
@frouioui can you also please take a look?
👏 Very nice! |
I will take a look at the go-upgrade in the morning |
Yes, these match the golang version used on the previous release branch. Since the goal of these workflows is to downgrade from main to the latest release branch, we use the go version found there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment that should be addressed, otherwise that's awesome! 🚀
Signed-off-by: Tim Vaillancourt <[email protected]>
Re-requesting review on last tweak from @frouioui 🙇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! ❤️
Description
This PR uses
go-version-file: go.mod
in CI that requires a go version ==go.mod
. This makes the repo a bit easier to maintain in placesThe only CI files that still have a specific
go-version:
set are:.github/workflows/upgrade_downgrade_test_backups_e2e.yml
.github/workflows/upgrade_downgrade_test_backups_manual.yml
.github/workflows/upgrade_downgrade_test_onlineddl_flow.yml
.github/workflows/upgrade_downgrade_test_query_serving_queries.yml
.github/workflows/upgrade_downgrade_test_query_serving_schema.yml
.github/workflows/upgrade_downgrade_test_reparent_old_vtctl.yml
.github/workflows/upgrade_downgrade_test_reparent_old_vttablet.yml
.github/workflows/upgrade_downgrade_test_semi_sync.yml
Are those set by hand? On
main
these are set to1.22.7
, a previous-release go version. Also I'm unclear if I've brokengo-upgrade
(I didn't know about this) and could use a hand validating that part 🤔Example of
go-version-file: go.mod
finding1.23.1
(from this PR CI):Related Issue(s)
#16842
Checklist
Deployment Notes