-
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
Make functionbeat build process depends on linux/amd64 #8889
Make functionbeat build process depends on linux/amd64 #8889
Conversation
Functionbeat packaging depends on a linux binary that will be send to the serverless platform, previously the magefile for the project did not express that dependencies. This was causing problem when you were building the packages only for a specific platform. This commit fixes that problem by introducing `mage.WithPlatforms` this allow you to specific dependency when you define the cross build logic.
82c6de1
to
61d3cc3
Compare
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.
Nice solution.
@andrewkroh Update with your changes. |
Functionbeat packaging depends on a Linux binary that will be sent to the serverless platform, previously the magefile for the project did not express that dependency. This was causing problems when you were building the packages only for a specific platform. This commit fixes that problem by introducing `mage.WithPlatforms` this allows you to specific dependency when you define the cross build logic. (cherry picked from commit e2d448e)
Functionbeat packaging depends on a Linux binary that will be sent to the serverless platform, previously the magefile for the project did not express that dependency. This was causing problems when you were building the packages only for a specific platform. This commit fixes that problem by introducing `mage.WithPlatforms` this allows you to specific dependency when you define the cross build logic. (cherry picked from commit e2d448e)
Should we set the platforms list to just |
@jsoriano it is required, since the CLI can be run on linux, windows and mac but the binary on the actual serverless provider is linux/amd64. |
Oh ok, I see, I was not thinking on the CLI, thanks! |
…linux/amd64 (#8904) Cherry-pick of PR #8889 to 6.x branch. Original message: Functionbeat packaging depends on a Linux binary that will be sent to the serverless platform, previously the magefile for the project did not express that dependency. This was causing problems when you were building the packages only for a specific platform. This commit fixes that problem by introducing `mage.WithPlatforms` this allows you to specific dependency when you define the cross build logic.
Functionbeat packaging depends on a Linux binary that will be sent to the serverless platform, previously the magefile for the project did not express that dependency. This was causing problems when you were building the packages only for a specific platform. This commit fixes that problem by introducing `mage.WithPlatforms` this allows you to specific dependency when you define the cross build logic. (cherry picked from commit e2d448e)
…elastic#8903) Functionbeat packaging depends on a Linux binary that will be sent to the serverless platform, previously the magefile for the project did not express that dependency. This was causing problems when you were building the packages only for a specific platform. This commit fixes that problem by introducing `mage.WithPlatforms` this allows you to specific dependency when you define the cross build logic. (cherry picked from commit f71fc5c)
Functionbeat packaging depends on a Linux binary that will be sent to
the serverless platform, previously the magefile for the project did not express
that dependency. This was causing problems when you were building the
packages only for a specific platform. This commit fixes that problem by
introducing
mage.WithPlatforms
this allows you to specific dependencywhen you define the cross build logic.