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

github: Restore testing latest stable version of go rather than go tip #13052

Merged
merged 1 commit into from Mar 6, 2024

Conversation

tomponline
Copy link
Member

@tomponline tomponline commented Mar 6, 2024

Testing with go tip IMHO offers little benefit as we get the odd failure that later resolves itself
which causes distractions. And if a stable release introduces changes that cause our tests to fail
we will have time to fix them before we switch the snap to build with the later version as we now
pin the snap to build with a specific Go version for reproduciblity.

So instead lets do a basic standalone and cluster test with the latest stable version.
At the moment this will cause some duplication of tests as we are explicitly testing with go 1.22,
which is also the latest stable. But this will not be the case when go 1.23 comes out.

This also has the benefit of of not needing to have a conditional on push as we should take a
breakage on the latest stable release more seriously and stop the edge builds.

Fixes edge build introduced by #13042

@tomponline tomponline self-assigned this Mar 6, 2024
Testing with go tip IMHO offers little benefit as we get the odd failure that later resolves itself
which causes distractions. And if a stable release introduces changes that cause our tests to fail
we will have time to fix them before we switch the snap to build with the later version as we now
pin the snap to build with a specific Go version for reproduciblity.

So instead lets do a basic standalone and cluster test with the latest stable version.
At the moment this will cause some duplication of tests as we are explicitly testing with go 1.22,
which is also the latest stable. But this will not be the case when go 1.23 comes out.

This also has the benefit of of not needing to have a conditional on push as we should take a
breakage on the latest stable release more seriously and stop the edge builds.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
@tomponline tomponline requested a review from MusicDin March 6, 2024 09:27
@tomponline tomponline marked this pull request as ready for review March 6, 2024 09:28
@tomponline tomponline merged commit 4bd0bcd into canonical:main Mar 6, 2024
28 checks passed
@tomponline tomponline deleted the tp-test branch March 6, 2024 09:47
tomponline added a commit to tomponline/lxd that referenced this pull request Mar 28, 2024
Also do basic system tests with minimum supported Go version 1.19 and latest stable to catch compile issues.

Brings into sync with canonical#13052

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
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.

None yet

2 participants