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

Plugin validator fails unless release pipeline is run with go 1.21 #188

Closed
helenosheaa opened this issue Apr 25, 2024 · 2 comments
Closed
Assignees

Comments

@helenosheaa
Copy link

When running the release pipeline on the community grafana-flightsql-datasource plugin I ran into the following error:

go: errors parsing go.mod:
/Users/user/influx/plugin-validator/go.mod:3: invalid go version '1.21.8': must match format 1.23
/Users/user/influx/plugin-validator/go.mod:5: unknown directive: toolchain

I updated the release pipeline from go 1.20 to go 1.21 to fix the problem.

It may be worth calling out on your documentation that this is now a requirement of running the plugin validator.

@Ukochka Ukochka self-assigned this Apr 29, 2024
@tolzhabayev
Copy link
Contributor

Hey @helenosheaa,
we are using the version in go.mod file to indicate the required version. We will add a note to the doc to check out the go.mod file as it is the source of truth.

@Ukochka
Copy link
Contributor

Ukochka commented May 2, 2024

unknown directive: toolchain is expected behaviour, because version 1.20 doesn’t have that supported. To be able to run plugin validator you have to use go version 1.21.1. This information can be found at go.mod

@Ukochka Ukochka closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants