-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Stop using mage:import in custom beats 7.4 #14187
Stop using mage:import in custom beats 7.4 #14187
Conversation
`mage:import` doesn't take into account vendorized dependencies, this is a problen for custom beats, because by default they have libbeat as a vendorized dependency. The solution would be to use go modules, but in the meantime lets remove the use of `mage:import` from the magefiles intended to be used by custom beats. Revert part of elastic#13239 related to custom beats.
f7702c6
to
1d21cd3
Compare
// Use RACE_DETECTOR=true to enable the race detector. | ||
func GoTestIntegration(ctx context.Context) error { | ||
return devtools.GoTest(ctx, devtools.DefaultGoTestIntegrationArgs()) | ||
} |
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.
@fearful-symmetry so it seems that we had also a target for integration tests before, maybe I should include this target too in the changes for master/7.5. WDYT?
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.
I would think so, yah
`mage:import` doesn't take into account vendorized dependencies, this is a problen for custom beats, because by default they have libbeat as a vendorized dependency. The solution would be to use go modules, but in the meantime lets remove the use of `mage:import` from the magefiles intended to be used by custom beats. Revert part of elastic#13239 related to custom beats.
mage:import
doesn't take into account vendorized dependencies, this is aproblen for custom beats, because by default they have libbeat as a
vendorized dependency. The solution would be to use go modules, but in
the meantime lets remove the use of
mage:import
from the magefilesintended to be used by custom beats.
Revert part of #13239 related to custom beats, backports part of #14162.
Fixes #13998 for 7.4.