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

Add function to check semver for OSS tests #365

Merged
merged 2 commits into from
Jan 31, 2022

Conversation

julienduchesne
Copy link
Member

Will be used for library panels: #331. This is a feature from v8 so the tests on v7 shouldn't run
This line can be added to the test: CheckOSSTestsSemver(t, ">=8.0.0")
If a feature is deprecated from Grafana in the future, we can add a lower than semver

@julienduchesne julienduchesne force-pushed the julienduchesne/add-semver-check branch 2 times, most recently from 017970a to 218df89 Compare January 31, 2022 15:19
Will be used for library panels: #331. This is a feature from v8 so the tests on v7 shouldn't run
This line can be added to the test: `CheckOSSTestsSemver(t, ">=8.0.0")`
If a feature is deprecated from Grafana in the future, we can add a lower than semver
@julienduchesne
Copy link
Member Author

If you go into the first commit build: https://drone.grafana.net/grafana/terraform-provider-grafana/558, you can see that I skipped a test for v7

@julienduchesne julienduchesne marked this pull request as ready for review January 31, 2022 15:25
@julienduchesne julienduchesne requested a review from a team as a code owner January 31, 2022 15:25
Copy link
Contributor

@inkel inkel left a comment

Choose a reason for hiding this comment

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

Great feature to have! Thanks

@julienduchesne julienduchesne merged commit 71682a6 into master Jan 31, 2022
@julienduchesne julienduchesne deleted the julienduchesne/add-semver-check branch January 31, 2022 17:21
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