Skip to content

Functionbeat providers compilation with specific GOOS and GOARCH#15399

Closed
rvillablanca wants to merge 4 commits intoelastic:masterfrom
rvillablanca:fix/functionbeat-build-providers
Closed

Functionbeat providers compilation with specific GOOS and GOARCH#15399
rvillablanca wants to merge 4 commits intoelastic:masterfrom
rvillablanca:fix/functionbeat-build-providers

Conversation

@rvillablanca
Copy link
Copy Markdown
Contributor

@rvillablanca rvillablanca commented Jan 8, 2020

This is a proposal to fix the issue #15132, which describes the problem when generating the functionbeat for providers (currently only aws).

How this works

Now the SelectedProviders is a slice of objects containing the required info of the provider:

type FunctionbeatProvider struct {
	Name   string
	GOOS   string
	GOARCH string
}

So when building the providers, the params.Env is written with that information so now we can build the beat for a required os/arch.

@elasticmachine
Copy link
Copy Markdown
Contributor

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?

1 similar comment
@elasticmachine
Copy link
Copy Markdown
Contributor

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?

@rvillablanca rvillablanca changed the title Functionbeat providers compilation with specific GOOS and GOARCH WIP: Functionbeat providers compilation with specific GOOS and GOARCH Jan 8, 2020
@rvillablanca rvillablanca changed the title WIP: Functionbeat providers compilation with specific GOOS and GOARCH Functionbeat providers compilation with specific GOOS and GOARCH Jan 9, 2020
@rvillablanca
Copy link
Copy Markdown
Contributor Author

@ycombinator 👀 😆

@kvch
Copy link
Copy Markdown
Contributor

kvch commented Jan 15, 2020

@rvillablanca Could you please rebase the PR?

@kvch kvch self-assigned this Jan 15, 2020
@rvillablanca
Copy link
Copy Markdown
Contributor Author

I can but I was reviewing and I think it is better to apply my changes on top of this because the intention was almost the same, so it is easier to re-make the changes @kvch

@rvillablanca
Copy link
Copy Markdown
Contributor Author

rvillablanca commented Jan 15, 2020

Replaced with #15586 @kvch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Functionbeat review Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants