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

Chore: Update Makefile to support go workspace #83549

Merged
merged 2 commits into from Feb 29, 2024

Conversation

toddtreece
Copy link
Member

@toddtreece toddtreece commented Feb 27, 2024

What is this feature?

Adds support for the multi-module workspace in make test-go and make lint-go` targets.

Why do we need this feature?

Sub packages are skipped when using .... See golang/go#50745 for more info.

Who is this feature for?

[Add information on what kind of user the feature is for.]

Which issue(s) does this PR fix?:

Fixes #

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@grafana-delivery-bot grafana-delivery-bot bot added this to the 11.0.x milestone Feb 27, 2024
@grafana-pr-automation grafana-pr-automation bot added type/build-packaging type/ci Tasks related to Continuous Integration workflow labels Feb 27, 2024
@toddtreece toddtreece force-pushed the toddtreece/go-workspace-updates branch 2 times, most recently from 0ed4645 to 20b6547 Compare February 28, 2024 14:40
@toddtreece toddtreece requested a review from a team February 28, 2024 15:27
@toddtreece toddtreece force-pushed the toddtreece/go-workspace-updates branch from 20b6547 to c900657 Compare February 28, 2024 16:00
@toddtreece toddtreece force-pushed the toddtreece/go-workspace-updates branch from c900657 to 60ccc41 Compare February 29, 2024 21:41
@toddtreece toddtreece marked this pull request as ready for review February 29, 2024 21:49
@toddtreece toddtreece requested a review from a team as a code owner February 29, 2024 21:49
@@ -96,6 +96,7 @@ def pr_pipelines():
test_backend(
get_pr_trigger(
include_paths = [
"Makefile",
Copy link
Member Author

Choose a reason for hiding this comment

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

changing the makefile didn't trigger go tests

Copy link
Contributor

Choose a reason for hiding this comment

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

Is that a concern?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I see, you already addressed it.

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, sorry, the way i worded that wasn't clear

@toddtreece toddtreece force-pushed the toddtreece/go-workspace-updates branch from 60ccc41 to 34508b0 Compare February 29, 2024 21:52
@toddtreece toddtreece added no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels Feb 29, 2024
@toddtreece toddtreece merged commit d7b031f into main Feb 29, 2024
20 checks passed
@toddtreece toddtreece deleted the toddtreece/go-workspace-updates branch February 29, 2024 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes type/build-packaging type/ci Tasks related to Continuous Integration workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants