Building functionbeat providers with specific GOOS and GOARCH#15586
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
jenkins test this |
|
jenkins test this |
|
@rvillablanca The failing functionbeat tests are seem related to your change. Could you please take a look at those? Let me know if you need help with making the tests pass. |
|
Sure I will investigate @kvch |
|
The problem is Travis is running under darwin os and cross-compiling is having some issues so there is no way (at the moment I think) to build for linux under darwin. A workaround would be to create a specific task to build in test with darwin os, what do you think @kvch ? |
|
Hey @rvillablanca @kvch WDYT about incorporating 483a1f2 into this PR? It seems to fix the issue on Travis CI for the Functionbeat job. |
|
LGTM @kvch |
|
I want to cherry-pick it but not sure where I can find that commit 😆 |
I wanted to see what you thought of that change, first. Since you're okay with it, I put up a PR with that change to your PR here: rvillablanca#1. If you merge it, the commit will show up over here in this PR. |
|
jenkins, test this |
55d3cb3 to
4265a12
Compare
|
jenkins, test this |
ycombinator
left a comment
There was a problem hiding this comment.
LGTM. Will merge once CI looks good.
|
CI failures are unrelated to this PR. Merging. Thanks for the contribution, @rvillablanca ❤️! |
|
Happy to help |
#15753) * Building functionbeat providers with specific GOOS and GOARCH * Fix: os changed to linux for aws functionbeat provider * Disabling CGO in functionbeat because it is not used Co-authored-by: Rodrigo Villablanca Vásquez <villa061004@gmail.com>
This is a replace for the PR #15399 to solve the issue #15132.
I have added the fields
GOOSandGOARCHtoProviderDetailsso we can now build the providers with for specific platforms. This fields are optional so the old behaviour is kept.