Adapting makefile for multiarch builds#497
Conversation
198a7a5 to
cd1105c
Compare
|
Thanks @jaerik! This looks great. You don't have to necessarily make these changes in this branch: but do you have any thoughts on how we can support these builds in our release process? Our release process is driven by this github action: I assume that we need to figure out a way to produce binaries for each of the target platforms. Can we do this easily in Actions? If not, we may be able to provision build hosts for the target platforms... Anyway, this isn't a blocker; but I'd love to figure out a way to support these artifacts as a part of our automated release process. (Until then, it will be hard for us to consider these builds officially supported). |
|
This CI failure is an issue with actions, not this branch. |
Signed-off-by: jaerik <[email protected]>
cd1105c to
0d647f5
Compare
@olix0r I think you just can add a new action step for each target platform, e.g:
And then just change the with-files in the realese step to: I'm not sure how to adapt the checksec step, when there are limitations when testing cross compiled systems. |
This release modifies Linkerd's internal buffering to avoid idling out services as a request arrives. This could cause failures for requests that are sent exactly once per minute, such as Prometheus scrapes. --- * Handle GRPC body errors (linkerd/linkerd2-proxy#493) * Set a grpc-status of UNAVAILABLE only on io errors (linkerd/linkerd2-proxy#498) * inbound: Remove unnecessary buffer (linkerd/linkerd2-proxy#501) * buffer: Move idle timeouts into the buffer (linkerd/linkerd2-proxy#502) * make: Support CARGO_TARGET for multi-arch builds (linkerd/linkerd2-proxy#497) * release: Use arch-specific paths (linkerd/linkerd2-proxy#508)
This release modifies Linkerd's internal buffering to avoid idling out services as a request arrives. This could cause failures for requests that are sent exactly once per minute, such as Prometheus scrapes. --- * Set a grpc-status of UNAVAILABLE only on io errors (linkerd/linkerd2-proxy#498) * inbound: Remove unnecessary buffer (linkerd/linkerd2-proxy#501) * buffer: Move idle timeouts into the buffer (linkerd/linkerd2-proxy#502) * make: Support CARGO_TARGET for multi-arch builds (linkerd/linkerd2-proxy#497) * release: Use arch-specific paths (linkerd/linkerd2-proxy#508)
This release modifies Linkerd's internal buffering to avoid idling out services as a request arrives. This could cause failures for requests that are sent exactly once per minute, such as Prometheus scrapes. --- * Set a grpc-status of UNAVAILABLE only on io errors (linkerd/linkerd2-proxy#498) * inbound: Remove unnecessary buffer (linkerd/linkerd2-proxy#501) * buffer: Move idle timeouts into the buffer (linkerd/linkerd2-proxy#502) * make: Support CARGO_TARGET for multi-arch builds (linkerd/linkerd2-proxy#497) * release: Use arch-specific paths (linkerd/linkerd2-proxy#508)
This change adds support for a `CARGO_TARGET` environment variable. When set, this value is passed to i.e. `cargo build --target` to support cross-compilation for multi-architecture builds. Signed-off-by: jaerik <[email protected]> Co-authored-by: Erik Jansson <[email protected]>
* make: Support CARGO_TARGET for multi-arch builds (#497) This change adds support for a `CARGO_TARGET` environment variable. When set, this value is passed to i.e. `cargo build --target` to support cross-compilation for multi-architecture builds. Signed-off-by: jaerik <[email protected]> Co-authored-by: Erik Jansson <[email protected]> * Add a CODEOWNERS (#558) This CODEOWNERS change will ensure that proxy-maintainers are requested on all PRs. Co-authored-by: Erik Jansson <[email protected]> Co-authored-by: Erik Jansson <[email protected]>
Make it possible to to build the linkerd2-proxy for other architectures the than the host architecture with make. This by updating the makefile to be aware of environment variables specifying the target architecture.